Can you force PayPal Payments Standard API to show

2019-01-16 12:09发布

问题:

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.



标签: paypal