Inconsistent checkout screens for Paypal express c

2020-06-03 06:34发布

问题:

We're developing an application that uses Paypal Express Checkout, and we're finding that we get two different landing pages. We're actually finding a problem that seems superficially similar to Can you force PayPal Payments Standard API to show credit card fields first?, but with a few differences:

  1. Everything is fine with the sandbox, and we get exactly the appearance (credit card first) we want.

  2. On the live site, about 50% of the time we get exactly the appearance (credit card first) we want.

  3. Sometimes, we get a more "mobile-like" landing page, with the credit card stuff totally hidden in a "Check out as a guest" button, as shown.

This feels like a failing A/B test to me. We're sending exactly the variables in the question linked above, and as I said, all works fine with the older landing pages. I know there are also cookie issues, but in this case, we're seeing it even when Paypal is not able to identify an account and when cookies are cleared.

Does anybody know if there is anything we can do to work around this?

I can add code if needed, but the problem appears to be more data than logic.

回答1:

The screen pictured is PayPal's new checkout. It is only partially deployed at this point, you can think of it as A/B testing.

Regarding whether the customer sees "credit cards first", this mostly depends on whether they have a PayPal email stored in their browser cookie. If they do, the top "Log in to PayPal" section will be expanded, the email filled out, and they just need to type in their password and do about 3 clicks to complete the checkout..

If they do not have a PayPal email stored in their cookies, the bottom Create an Account or Pay as Guest section will be expanded. (If you want guest checkout, pass SOLUTIONTYPE=Sole in your initial SetExpressCheckout request).

The customer can always switch between the two expanded sections, it's just a "smart default" of sorts.

Try doing all your "credit cards first" testing in an incognito / private browsing window.



回答2:

I had the same question after I started to see users coming in from the 'new style' page.

I found the answer here:

Paypal express "order summary" page

I added the "force_sa=true" parameter to my Paypal URL:

https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&force_sa=true&token=…

The new page is definitely weighted to appear more often on mobile devices. Without the parameter I get the new style page on a iPad after about 5 refreshes, with the parameter I can refresh as much as I like and never see the new page.

Obviously, PayPal will roll out the new page to everyone in the end, but this technique allows us a stop gap while we get ready for it ;-)



标签: paypal