Why does the client when makeing and order return a payment id that does not start with PAYID.
SubduedCrane651
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-21-2024
05:43 AM
This is a problem when useing the python backend to verify this resource id which does not look to be good. It can't find it with
payment_id = request.json['paymentID']
payer_id = request.json['payerID']
payment = paypalrestsdk.Payment.find(payment_id)
I am useing Sandbox mode it works when doing a
payment = paypalrestsdk.Payment({
"intent": "sale",
"payer": {
"payment_method": "paypal"..........
},
or
Using the PayPal.NET with c#
but not with the PayPal SDK.
0 REPLIES 0

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
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- 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
- CHECKOUT.ORDER.APPROVED webhook event not triggered if payment_source is passed in in REST APIs