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
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- My PayPal is not allowing me to receive or send requests. in PayPal Payments Standard
- p is not a function error using the example downloaded from Paypal in SDKs
- Django-paypal form is not showing "pay with credit or debit card" option in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- subscription_id has disappeared in REST APIs