• Using PayPal Credit Card (REST) in sandbox mode with no other payment methods enabled. When testing checkout web page displays “Error processing checkout. Please try again.” Order is received in WooCommerce but payment pending.
    Checked log and I repeatedly get the below error. Double-checked settings in the GUI and nothing seems off. I ran same setup yesterday and was able to generate sandbox payments. No changes other than added a plugin (Advanced Order Export For WooCommerce) but deactivated it since the trouble started and I get same results.

    PayPal\Core\PayPalHttpConnection: ERROR : Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment. {“name”:”DUPLICATE_REQUEST_ID”,”message”:”PayPal-Request-Id header was already used.”,”information_link”:”https://developer.paypal.com/docs/api/payments/#errors”,”debug_id”:”461896b73cc19″}

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor angelleyesupport

    (@angelleyesupport)

    @newyorkcitysailor, Can you check in your PayPal Credit Card (REST) setting if you have provided the Invoice Prefix?If not then add it and if you have that already there, then can you change that then try one more time and see what you got?

    Thread Starter newyorkcitysailor

    (@newyorkcitysailor)

    Hi Oliver,
    Thanks for your reply.
    I had an Invoice Prefix already. Changed it and got the same error… <:(

    Plugin Contributor angelleye

    (@angelleye)

    @angelleyesupport, This is actually not related to the invoice prefix. That would be if the WooCommerce order ID was sent with the same value that was already processed previously, but this is talking about the request headers that get sent in the API request to PayPal, which is different.

    @newyorkcitysailor, This is only happening in the sandbox, right? Have you done any live transactions yet? It’s possible this is just a sandbox problem, which unfortunately does happen sometimes and can make it difficult to know if there’s a real issue or just a sandbox issue.

    I can say that we don’t have any other reports of this, so my initial thought is that it’s a sandbox issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘DUPLICATE_REQUEST_ID’ is closed to new replies.