Why does the client when makeing and order return a payment id that does not start with PAYID.

SubduedCrane651
New Community Member

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.

Login to Me Too
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.