PayPal REST live issues

Viewed 193

I am using PayPal REST api using Python's paypalrestsdk.I have got 3 problems with my PayPal sell page:

  1. the price of the item is not shown beside the cart icon. I've got only the icon with no text beside it.
  2. the url is https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=XXXXXXXXX NOT like I've seen in many modern webapps https://www.paypal.com/webapps/hermes?token=XXXXXXX, what is the diffrence between the 2 urls?
  3. I have no Pay with Debit or Credit Card button. This is only working in sandbox not in live

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"
            }]
    })
1 Answers
Related