[Skip to main content](#vessel-content)

#   PayPal - duplicate invoice problem on a staging website

##

- **[pvukovic](/forum/user/76678-pvukovic "View pvukovic's Profile")**
- [![pvukovic's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/76678-pvukovic "View pvukovic's Profile") Topic Author
- [ Offline](/forum/user/76678-pvukovic)

Less More

- Posts: 19
- Thank you received: 3
-
-

3 years 1 month ago [\#355905](#355905) by [pvukovic](/forum/user/76678-pvukovic "View pvukovic's Profile")  *[PayPal - duplicate invoice problem on a staging website](/forum/27-checkout/907139-paypal-duplicate-invoice-problem-on-a-staging-website#355905 "-- 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")* was created by *[pvukovic](/forum/user/76678-pvukovic "View pvukovic's Profile")*

-- url of the page with the problem -- : [ www.winescholarguild.com](https://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

- [ ![Screenshot2023-10-16at12.02.21.png](/forum/attachment/57986) ](/forum/attachment/57986 "...at12.02.21.png") [ ](/forum/attachment/57986?download=1 "...at12.02.21.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNzEzOS1wYXlwYWwtZHVwbGljYXRlLWludm9pY2UtcHJvYmxlbS1vbi1hLXN0YWdpbmctd2Vic2l0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

3 years 1 month ago [\#355906](#355906) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PayPal - duplicate invoice problem on a staging website](/forum/27-checkout/907139-paypal-duplicate-invoice-problem-on-a-staging-website#355906 "-- 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")*

Hi,

Indeed. You have two options:
1. Navigate to [ www.paypal.com/businessmanage/preferences/payments](https://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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNzEzOS1wYXlwYWwtZHVwbGljYXRlLWludm9pY2UtcHJvYmxlbS1vbi1hLXN0YWdpbmctd2Vic2l0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pvukovic](/forum/user/76678-pvukovic "View pvukovic's Profile")**
- [![pvukovic's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/76678-pvukovic "View pvukovic's Profile") Topic Author
- [ Offline](/forum/user/76678-pvukovic)

Less More

- Posts: 19
- Thank you received: 3
-
-

3 years 1 month ago [\#355923](#355923) by [pvukovic](/forum/user/76678-pvukovic "View pvukovic's Profile")  Replied by *[pvukovic](/forum/user/76678-pvukovic "View pvukovic's Profile")* on topic *[PayPal - duplicate invoice problem on a staging website](/forum/27-checkout/907139-paypal-duplicate-invoice-problem-on-a-staging-website#355923 "-- 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")*

Ok thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNzEzOS1wYXlwYWwtZHVwbGljYXRlLWludm9pY2UtcHJvYmxlbS1vbi1hLXN0YWdpbmctd2Vic2l0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.048 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
