Bad Request, when executing the payment
LRodrigues
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jun-19-2018
06:24 AM
The payment is created successfully, but when I try to process it I always get a "bad request" error.
DebugId: 34af789c6dfe
1 REPLY 1
LRodrigues
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun-19-2018
12:56 PM
Well... I was using a model I copied from somewhere in the documentation, then I realized there was a invoice_number parameter. This parameter must be unique and it is not validated by the time you create the payment, but when you execute the payment.
Hope this helps.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- What is the order of execution for latest Rest APIs for paypal payment ecomerce site in REST APIs
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- Issue with Venmo Button Not Showing in Sandbox Environment
- Paypal payment error analysis and root cause in NVP/SOAP APIs