php - Checkout directly in Credit Card and disable the email and password input -


i'm using paypal express checkout ensure users pay directly credit card on landing page, there 2 fields wish remove, 'email' , 'password, tried insert code below:

'method'=> 'setexpresscheckout', 'landingpage' => 'billing', 'buyeremailoptinenable' => 0, 

for reason after disable buyeremailoptinenable, fields still appear. can't make them disappear.

i think you're confusing express checkout payments standard. express checkout cannot take credit cards directly, paypal account payments (which might come credit card can't tell that)

https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ecgettingstarted/

the express checkout button gives buyers way pay, , complements existing payment solution. online shoppers appreciate convenience , security of paypal, can pay paypal balance, bank account, or credit card. following web page shows express checkout button side-by-side existing checkout button.

the option you're trying set doesn't you're describing https://developer.paypal.com/docs/classic/api/merchant/setexpresscheckout_api_operation_nvp/

buyeremailoptinenable

(optional) enables buyer provide email address on paypal pages notified of promotions or special events.


Comments

Popular posts from this blog

How to show in django cms breadcrumbs full path? -

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -