Paypal ExpressCheckout API behavior changed recently

拈花ヽ惹草 提交于 2019-11-27 08:05:38

问题


In an existing implementation of Paypal Express Checkout API, we had the landing page set to a credit card entry page by setting the flags:

SOLUTIONTYPE=Sole,
LANDINGPAGE=Billing,

and everything worked the way we wanted.

As of today, this is not longer working. If the customer has a paypal account cookie set, they get this login with no way bypass the "paypal login" and enter a credit card directly

If they don't have a paypal cookie set, then they are at least given a "guest checkout" option:

the complaints we get are that customers can't remember their login credentials, and dont' want to go through the lost password procedure. They just want to give us money, and we just want to take it.

Is there anyway to give them a Guest Checkout option, even if they have a paypal cookie set?


回答1:


Along with the new landing pages they also introduced a new parameter.

USERSELECTEDFUNDINGSOURCE

(Optional) This element could be used to specify the preferred funding option for a guest user. However, the LANDINGPAGE element must also be set to Billing. Otherwise, it is ignored.

  • BML – Bill Me Later
  • ChinaUnionPay
  • CreditCard
  • ELV

So keep your current parameters the way they are and add this new parameter to SetExpressCheckout set to CreditCard and you should get the old flow like you're wanting.

You also need to make sure you're using API Version 109.0 or higher because this new parameter was introduced in version 109.0.




回答2:


<input type="hidden" name="landing_page" value="Billing">

This works as of Sep 2016

Nulla vitae elit libero, a pharetra augue.



来源:https://stackoverflow.com/questions/22799030/paypal-expresscheckout-api-behavior-changed-recently

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!