I have created one recurring profile product & using paypal as payment gateway. After clicking on payment I got the error as

"PayPal gateway has rejected request. Payment has already been made for this InvoiceID (#10412: Duplicate invoice)."

I have done the required settings in my paypal account. PayPal Account (standard) > Profile > Payment Receiving Preferences > Under Block accidental payments: select No, allow multiple payments per invoice ID.

But still it is giving me the same error.

Any suggestion will help a lot.


2 Answers 2


I think, this issue accrues when we have multiple instance of website. In case you have multiple development instance of website. You need to allow "Accept Duplicate Invoice" from Paypal.

In order to fix that you will need to go to your PayPal account, My Account > Profile > My Selling Tools > Credit Card Statement Name > "Allow multiple payments per invoice ID".

  • Thanks its working for me Commented Feb 14, 2023 at 11:29

You should clean var/session folder and try again.

WARNING This might be destructive, see comments

  • this could be a comment. Commented Sep 6, 2016 at 14:23
  • 6
    This needs a big warning sign, that it logs out all customers and removes all carts of guest visitors. Also, why would it help? Commented Sep 7, 2016 at 19:50
  • When I encountered this problem it is the first that helped me. When you leave your customer at unfinished checkout, in customer session is already created InvoiceID for him. Any attempt to carry out the following checkout lead to this error message. This is the first that comes to mind
    – UOK
    Commented Sep 9, 2016 at 7:15
  • Although this solution worked for me as well (on a testing site, luckily), I must stress the comment made by @FabianSchmengler as well. A less destructive solution would be preferable but if you really need a fix this would do the job.
    – wr125
    Commented Feb 2, 2018 at 15:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.