A Solution To Magento PayPal Duplicate Invoice Error
E-commerce business constantly hosts the transfer of money from customers to sellers. The crucial point in the process is the payment gateway. If there’s any flaw in the payment gateway, cart abandonment at payment point is bound to occur.
For Magento stores, Paypal is a popular payment gateway used for capturing secure online payments. However, sometimes, customers witness a Magento PayPal Duplicate Invoice Error!
It is somewhat like,
“PayPal gateway has rejected request. Payment has already been made for this InvoiceID (#10412: Duplicate invoice)”
It is displayed when submitting payment with invoices having the same ID sent to the Paypal, multiple times.
For example, you migrated from Magento 1 to Magento 2. There are chances this issue may occur. In other cases, if multiple stores submit invoices with the same IDs or a new store uses an invoice ID already submitted by some previous old store, the issue occurs.
If your customer faces this error, there are high chances he/she might drop the idea to complete the purchase and instead opt for your competitor! You obviously do not want it. And, hence, follow this post for the solution to Magento PayPal Duplicate Invoice Error.
The above issue is seen for the following Magento versions:
- Magento Commerce: any version
- Magento Commerce (Cloud): any version
- Magento Open Source: any version
And the solution is to allow multiple payments per invoice ID in PayPal’s Payment Receiving Preferences.
How to Solve the Magento PayPal Duplicate Invoice Error:
- Login to your Paypal account.
- Go to Profile > Profile and settings
- Go to My Selling Tools
- Go to Getting paid and managing my risk > Block payments and click Update.
- Click Preferences for Receiving Payments.
- Under Block Accidental Payments, choose No, allow multiple payments per invoice ID.
- Scroll down and click Save.
PayPal does not allow processing for the same invoice twice, according to the default settings. Therefore, allow receiving multiple payments per invoice ID to fix the PayPal “This invoice has already been paid” error.
Follow the above steps and enjoy secure payments via PayPal payment gateway for duplicate Magento and Magento 2 invoice IDs!
Recently, we also published a solution to another common issue with this payment gateway because of custom amounts in order total. You can read it at How to Manage Custom Amount with PayPal in Magento 2.
Mention any doubts in the Comments section below and I’d be happy to help 🙂
Do not forget to rate the post with 5 stars!
Thank You. You can solve Magento PayPal issue with base currency INR as a solution to the error that Paypal does not allow payments in the Magento store with base currency as INR by default.
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
4 Comments
Nice Post!
Thank you.
Hi!, It is not My Settings Tool, is My Selling tools
Hey,
Sorry for the typing mistake and thank you for drawing my attention 🙂