- Posts: 19
- Thank you received: 3
PayPal - duplicate invoice problem on a staging website
3 years 3 weeks ago #355905
by pvukovic
PayPal - duplicate invoice problem on a staging website was created by pvukovic
-- url of the page with the problem -- :
www.winescholarguild.com
-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3.4
-- PHP version -- : 8.0.27
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID
Hi,
we are testing the payments on a staging website and are getting this error from PayPal:
Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID
I suspect it's because the staging site contains an older copy of production data and attempts to create an invoice that has been previously sent to PayPal from our production instance.
Can you suggest a workaround so we can test the payment flow?
Thanks,
Peter
-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3.4
-- PHP version -- : 8.0.27
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID
Hi,
we are testing the payments on a staging website and are getting this error from PayPal:
Error 10536: The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID
I suspect it's because the staging site contains an older copy of production data and attempts to create an invoice that has been previously sent to PayPal from our production instance.
Can you suggest a workaround so we can test the payment flow?
Thanks,
Peter
Please Log in or Create an account to join the conversation.
3 years 3 weeks ago #355906
by nicolas
Replied by nicolas on topic PayPal - duplicate invoice problem on a staging website
Hi,
Indeed. You have two options:
1. Navigate to www.paypal.com/businessmanage/preferences/payments
Log in with your PayPal account credentials if prompted
Under 'Block accidental payments' select 'No, allow multiple payments per invoice ID'
That way, PayPal will accept payments with the same invoice ID
2. Create a sandbox account and connect your PayPal Checkout payment method to the sandbox account on your staging website. That way, you can pay with fake mony on your staging account and be independent from your live PayPal account on your live website.
Indeed. You have two options:
1. Navigate to www.paypal.com/businessmanage/preferences/payments
Log in with your PayPal account credentials if prompted
Under 'Block accidental payments' select 'No, allow multiple payments per invoice ID'
That way, PayPal will accept payments with the same invoice ID
2. Create a sandbox account and connect your PayPal Checkout payment method to the sandbox account on your staging website. That way, you can pay with fake mony on your staging account and be independent from your live PayPal account on your live website.
Please Log in or Create an account to join the conversation.
3 years 3 weeks ago #355923
by pvukovic
Replied by pvukovic on topic PayPal - duplicate invoice problem on a staging website
Ok thank you!
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds