Paypal express “order summary” page

前端 未结 2 1883
太阳男子
太阳男子 2020-12-16 07:34

I\'m in the the process of replacing the Free and Standard paypal button with a Express checkout integration. I believe I\'ve done most of the work but I have 2 outstanding

相关标签:
2条回答
  • 2020-12-16 07:46

    1.Express Checkout, its actually a API call to the PayPal server. If you want to edit the Quantity, you need to change the value L_PAYMENTREQUEST_n_QTYm using your own logic and send the request to PayPal(quantity is not editable).Doc

    2.Actually PayPal has released a new Express Checkout layout.

    There are two URL's here:

    Old Layout : https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-24P528268C112244W enter image description here

    New Layout: https://www.paypal.com/checkoutnow/2?token=EC-24P528268C112244W enter image description here

    You can force any layout as you wish.

    0 讨论(0)
  • 2020-12-16 07:58

    I discovered that you can force the old layout by including a "force_sa=true" param in your payment request url. Can't find this documented anywhere, but it seems to work consistently. I asked pp tech support about it and got this response:

    The new express checkout layout is being gradually rolled out, you may have an option to force the layout with the following redirection url format: 'https://www.sandbox.paypal.com/checkoutnow/2?token=' to force the new checkout layout, it does the same way as force_sa=true

    Didn't answer my question, but I guess they acknowledged it's a valid way to force a layout and not be at the mercy of their "rollout".

    0 讨论(0)
提交回复
热议问题