Paypal REST api and direct payment page setup

Using the paypal NVP app, we were able to set some parameters for the generated PayPal verification page using SetExpressCheckout . Is there any way to do the following with the new REST api?

  • NOSHIPPING to tell paypal that I don't need a shipping address.
  • LOCALECODE to set the gateway in the user's language.
  • HDRIMG to change the page title to a logo.
  • EMAIL to pre-fill the letter in the gateway. NOTE. I tried using $payerInfo->setEmail() , but apparently this method is only for credit_card requests, not paypal .
  • SOLUTIONTYPE to set default billing information.
  • LANDINGPAGE to set your landing page.

I can not find it in the api docs for PayPal developers.

+4
source share
1 answer

Unfortunately, no at this time. We are trying to implement a more efficient mechanism for setting up a payment experience than overloading API calls. Until then, please use the classic ExpressCheckout API if this is what you really need.

+1
source

Source: https://habr.com/ru/post/1469396/


All Articles