Jump to content

Re-attempting payments


Recommended Posts

Am i missing something or may the client only atempt payment once for each order?


If the buyer is reaching payment gateway but never pays, the order just hangs there with "waiting for payment" status and the buyer cannot attempt the payment again.


Is there a reason for such design or can we improve user's experience by allowing to try again with the payment somehow ?



Link to comment
Share on other sites

With some payment modules I've experienced the same thing. For example a third party provider where the user has to select the payment method. If he closes the browser at that point, the order becomes "waiting for payment" or any other status that is not failed / succeeded.


I've written a custom cron job (php) that checks for these and marks any 'invalid' payments that have had that status for more than an hour, and I'm cancelling the order. prestashop automatically sends the user an email stating the order failed. We've modified the templates to reflect an extra message regarding automatic order cancellation.


Hope this helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...