Make payment with Paypal-Python-SDK -
i want use paypal sdk python flask implement payments paypal method (paypal paypal, no visa card or something). i'm trying understand how things work, , i've got little problem.
1) first, configure sdk. done , understood
2)then, create payment url , redirect user it. done , understood
3) finally, check if user sent money. undone , not understood
payment = paypalrestsdk.payment.find("pay-57363176s1057143ske2ho3a")
what pay-57363176s1057143ske2ho3a ? payment.id seen in 2), line 51 ? if yes, then, {"payer_id": "dufrq8gwymjxc"}
? there's in code 2 ids, , reference id in create_with_paypal.py
file single payment.id
.
could me, please ? in advance.
yes, there separate identifiers payment , party (person or company) contributing money in payment. if foo@bar.com sends henry13@somesite.com $10, movement of funds between 2 payers has payment id use retrieve information payment. transaction information include parties sent , received money in payment, , sender (payer)'s account id being called payer id.
Comments
Post a Comment