Paypal Payment Standard default enter card details

懵懂的女人 提交于 2019-12-02 11:38:55

问题


I'm sure this topic was here already but I just got off the phone with Paypal trying to find out if there is a setting on their accounts that would enable customers to see the "enter card details area" and not automatically (default set) direct you to log in/register to your paypal account. Paypal says there isn't a setting that would do that on their side but moo.com does just that when you checkout even if you are logged into paypal after their site transfers you to paypal site for payment it shows the enter card details area. So paypal claims it is rather something moo's site tells paypal to do and not the other way around. I know many sellers have the same issue with paypal turning away customers because of the way the checkout displays many shoppers conclude it is just for paypal account holders. Now I wonder if there is (or would be possible to create) a code for Maya to tell paypal (override it) and display the "enter card details" and not the log in/register as a default?

I'm very bad for explaining stuff so sorry it's so long. This is not something I demand it's just a thought that probably many of us had. Thanks!

Maggie


回答1:


This is a frequently asked question about WooCommerce PayPal standard support with a few hints as to what is needed. Basically there are two things:

  1. ensure that the PayPal Account Optional is On

  2. Don't let WooCommerce send the user's email to PayPal

The email will cause PayPal to think the user has an account, so you use a WooCommerce filter to remove the email:

function smw_woo_paypal_args($args) {
    $args['email'] = '';
    return $args;
}
add_filter( 'woocommerce_paypal_args', 'smw_woo_paypal_args', 99);



回答2:


If you use Express Checkout you can set SOLUTIONTYPE=Sole and LANDINGPAGE=Billing to force the option of paying with a credit card rather than signing in to a PayPal account.

You'll also need to make sure that "PayPal Account Optional" is disabled in your PayPal account profile under Website Payment Preferences.



来源:https://stackoverflow.com/questions/13365205/paypal-payment-standard-default-enter-card-details

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