I am using PayPal REST api using Python's paypalrestsdk.I have got 3 problems with my PayPal sell page:
- the price of the item is not shown beside the cart icon. I've got only the icon with no text beside it.
- the url is
https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=XXXXXXXXXNOT like I've seen in many modern webappshttps://www.paypal.com/webapps/hermes?token=XXXXXXX, what is the diffrence between the 2 urls? - I have no
Pay with Debit or Credit Cardbutton. This is only working insandboxnot inlive
My payment object is as follows:
payment = Payment({
"intent": "sale",
"payer": {
"payment_method": "paypal"
},
"redirect_urls": {
"return_url": settings.HOME_URL + reverse('usr-pay-process'),
"cancel_url": settings.HOME_URL + reverse('usr-pay-cancel')
},
"transactions": [{
"amount": {
"total": "1.00",
"currency": "USD"
},
"description": "My Item"
}]
})