Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    Thank you for reaching out to us, we are here to help.

    The error DUPLICATE_INVOICE_ID error is a security feature from PayPal which aims to prevent accidental double-payments.

    PayPal Payments automatically sets an “invoice prefix” and then sends the WooCommerce order numbers in the pattern “invoice prefix+ordernumber” to PayPal.
    So when your prefix is set to “cfbdg-” and your order number is “123”, PayPal Payments sends the invoice ID “cfbdg-123” to PayPal.

    Now, when you restore a backup from your website, it is possible that the most recent WooCommerce orders do not exist anymore after the restore.
    So as soon as WooCommerce attempts to create a new order with the number 123 and the same invoice prefix, PayPal would throw this error to prevent accidental double payments because there is already a payment at PayPal with the same invoice ID.
    This feature can be disabled, though we usually recommend keeping it enabled. To disable it, follow these steps:

    1. Log in to your Business PayPal account (https://www.paypal.com/businessmanage/preferences/payments)
    2. Go to the Payments Preferences section
    3. Under the “Block accidental payments:” section, select the option “No, allow multiple payments per invoice ID

    (link for image: https://drive.google.com/file/d/12Vs4Kcxs01G8kLe5V1xn8A5pP2IfL6cG/view?usp=sharing)

    With this feature disabled, PayPal would no longer complain when you submit an invoice number that already exists in the system.

    Please let me know if this helped you resolve this issue for you.

    Kind regards,
    Joost

    • This reply was modified 1 year, 6 months ago by Syde Joost.
    Thread Starter eWebjojo

    (@ewebjojo)

    Hi.

    Thanks… that fixed it.

    ??

    Hello, Ive been having a similar issue, but I think this comes up after the payer tries to pay for it the first time which causes the payment process to fail. I have a detailed log I can share with support.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @zoonars

    Thank you for your response and the offer for helping us uncover this issue. If you want to provide these logs and continue helping us out further, please open a private thread with us via these instructions.

    We will see if this is related to the same issue as originally reported on this thread, and close this thread if it’s not the same.

    Kind regards,
    Joost

    Submitted, thank you.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @zoonars

    I responded to your support request, but I did not realize this was a continuation of this thread (so the response was the same). However, the issue initially reported here, was resolve, so I will mark this thread as resolve and continue with you on the private thread you opened with us.

    Kind regards,
    Joost

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Failed to process the payment. [UNPROCESSABLE_ENTITY]’ is closed to new replies.