Can you force PayPal Payments Standard API to show credit card fields first?

随声附和 提交于 2019-12-28 08:10:13

问题


I'm using PayPal Website Payments Standard. Whenever the user lands on PayPal with the variables I sent, it shows a PayPal Login form and at the bottom it shows "Don't have a PayPal account? Use your credit card or bank account (where available)."

I want it to default to always ask for credit card and maybe say "Have PayPal? Use that!". Any ideas?


回答1:


I've struggled with this question and found the answer following Roberts comment about using LANDINGPAGE=Billing in the ExpressCheckout API.


From the page:

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_SetExpressCheckout

LANDINGPAGE:Type of PayPal page to display.

It is one of the following values:

  • Billing – Non-PayPal account
  • Login – PayPal account login

Additionally see:

SOLUTIONTYPE: Type of checkout flow. It is one of the following values:

  • Sole – Buyer does not need to create a PayPal account to check out. This is referred to as PayPal Account Optional.
  • Mark – Buyer must have a PayPal account to check out.

NOTE:You can pass Mark to selectively override the PayPal Account Optional setting if PayPal Account Optional is turned on in your merchant account. Passing Sole has no effect if PayPal Account Optional is turned off in your account


Hope this helps.




回答2:


On a thread in the PayPal Developer Community they explain it with cookies based visits to the checkout page.

Basically if PayPal detects you being a user and spots their cookie, they will show the login form by default.

If they can't see that cookie, then they will show the credit card option first with a note that if you already have a PayPal account, to log in.

So the answer is no.



来源:https://stackoverflow.com/questions/309421/can-you-force-paypal-payments-standard-api-to-show-credit-card-fields-first

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