Opencart Version: 2.0.3.1
Theme: Custom
Hi guys,
We're currently encountering an issue whereby occasionally customers will mistakenly order the same thing twice. I believe this is happening where customers are impatient and click the checkout button more than once.
Can anyone advise if it's possible to set opencart to only take payment once during checkout?
We are using the Worldpay payment method, for reference.
Thanks in advance!
Check the develover's guide. You will have to add a beforeSubmit callback to disable/enable the submit button:cableintel wrote: ↑Thu Apr 29, 2021 9:00 pmOpencart Version: 2.0.3.1
Theme: Custom
Hi guys,
We're currently encountering an issue whereby occasionally customers will mistakenly order the same thing twice. I believe this is happening where customers are impatient and click the checkout button more than once.
Can anyone advise if it's possible to set opencart to only take payment once during checkout?
We are using the Worldpay payment method, for reference.
Thanks in advance!
https://developer.worldpay.com/docs/wpop/template-form
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo
Thanks for your reply!rjcalifornia wrote: ↑Thu Apr 29, 2021 10:11 pmCheck the develover's guide. You will have to add a beforeSubmit callback to disable/enable the submit button:cableintel wrote: ↑Thu Apr 29, 2021 9:00 pmOpencart Version: 2.0.3.1
Theme: Custom
Hi guys,
We're currently encountering an issue whereby occasionally customers will mistakenly order the same thing twice. I believe this is happening where customers are impatient and click the checkout button more than once.
Can anyone advise if it's possible to set opencart to only take payment once during checkout?
We are using the Worldpay payment method, for reference.
Thanks in advance!
https://developer.worldpay.com/docs/wpop/template-form
Are you able to expand on this at all in terms of how to add this? I can't seem to find this in the guide (we don't normally fiddle with the payment gateway files).
Find the callback section, there try to disable the "Order/Pay" buttoncableintel wrote: ↑Thu Apr 29, 2021 11:21 pmThanks for your reply!rjcalifornia wrote: ↑Thu Apr 29, 2021 10:11 pmCheck the develover's guide. You will have to add a beforeSubmit callback to disable/enable the submit button:cableintel wrote: ↑Thu Apr 29, 2021 9:00 pmOpencart Version: 2.0.3.1
Theme: Custom
Hi guys,
We're currently encountering an issue whereby occasionally customers will mistakenly order the same thing twice. I believe this is happening where customers are impatient and click the checkout button more than once.
Can anyone advise if it's possible to set opencart to only take payment once during checkout?
We are using the Worldpay payment method, for reference.
Thanks in advance!
https://developer.worldpay.com/docs/wpop/template-form
Are you able to expand on this at all in terms of how to add this? I can't seem to find this in the guide (we don't normally fiddle with the payment gateway files).
https://developer.worldpay.com/docs/wpop/own-form
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo
Or, find a more up-to-date extension on the Marketplace.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
As far as I remember, OpenCart does disable the checkout button after it's clicked so it must be your WorldPay gateway that doesn't.cableintel wrote: ↑Thu Apr 29, 2021 9:00 pmWe're currently encountering an issue whereby occasionally customers will mistakenly order the same thing twice. I believe this is happening where customers are impatient and click the checkout button more than once.
Can anyone advise if it's possible to set opencart to only take payment once during checkout?
We are using the Worldpay payment method, for reference.
Contact the extension developer.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
There is an example using beforeSubmit here.cableintel wrote: ↑Thu Apr 29, 2021 11:21 pmThanks for your reply!rjcalifornia wrote: ↑Thu Apr 29, 2021 10:11 pmCheck the develover's guide. You will have to add a beforeSubmit callback to disable/enable the submit button:cableintel wrote: ↑Thu Apr 29, 2021 9:00 pmOpencart Version: 2.0.3.1
Theme: Custom
Hi guys,
We're currently encountering an issue whereby occasionally customers will mistakenly order the same thing twice. I believe this is happening where customers are impatient and click the checkout button more than once.
Can anyone advise if it's possible to set opencart to only take payment once during checkout?
We are using the Worldpay payment method, for reference.
Thanks in advance!
https://developer.worldpay.com/docs/wpop/template-form
Are you able to expand on this at all in terms of how to add this? I can't seem to find this in the guide (we don't normally fiddle with the payment gateway files).
https://developer.worldpay.com/docs/wpo ... plate-form
You will have to update the worldpay.tpl file somewhat, as it seems to use an old version of the Worldpay JavaScript library. We found the even this and adding a second check in the controller did not stop all the duplicate payments. And there were a few other bugs.
Who is online
Users browsing this forum: No registered users and 220 guests