2020-01-27 15:51:32.312 1732-1903/com.example.paypalnewdemo
E/paypal.sdk: request failure with http statusCode:400,exception:
2020-01-27 15:51:32.317 1732-1903/com.example.paypalnewdemo
E/paypal.sdk: request failed with server
response:{“name”:”DUPLICATE_REQUEST_ID”,”message”:”PayPal-Request-Id
header was already
used.”,”information_link”:”https://developer.paypal.com/docs/api/payments/#errors“,”debug_id”:”882e8b0d78934″}
2020-01-27 15:51:32.318 1732-1732/com.example.paypalnewdemo
E/paypal.sdk: DUPLICATE_REQUEST_ID
Question posted in Paypal API
The official documentation to get you started can be found here.
The official documentation to get you started can be found here.
2
Answers
What’s the question? If you would like some useful help, we need more information!
Here you can find PayPal’s documentation on API idempotency and use of the PayPal-Request-Id header
Try to resubmit your request in a way that doesn’t duplicate that header for new requests, when it shouldn’t.