php - 直接在信用卡中结帐并禁用电子邮件和密码输入

标签 php paypal

我正在使用 PayPal 快速结帐以确保用户在着陆页上直接通过信用卡付款,但我想删除 2 个字段,即“电子邮件”和“密码”,我尝试插入以下代码:

'METHOD'=> 'SetExpressCheckout',
'LANDINGPAGE' => 'Billing',
'BUYEREMAILOPTINENABLE' => 0,

出于某种原因,即使在我禁用 BUYEREMAILOPTINENABLE 之后,这些字段仍然出现。我不能让它们消失。

最佳答案

我认为您将 Express Checkout 与 Payments Standard 混淆了. Express Checkout 不能直接接受信用卡,只能接受 PayPal 账户付款(可能来自信用卡,但您无法分辨)

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

The Express Checkout button gives buyers another way to pay, and it complements your existing payment solution. Online shoppers appreciate the convenience and security of PayPal, where they can pay with their PayPal balance, bank account, or credit card. The following web page shows the Express Checkout button side-by-side with an existing checkout button.

您尝试设置的选项甚至不符合您的描述 https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/

BUYEREMAILOPTINENABLE

(Optional) Enables the buyer to provide their email address on the PayPal pages to be notified of promotions or special events.

关于php - 直接在信用卡中结帐并禁用电子邮件和密码输入,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33282699/

相关文章:

PayPal Rest API 日期过滤不起作用。我究竟做错了什么?

paypal - 通过 PayPal 确认付款的最简单方法?

php - SagePay/Chrome 80/3D Secure/Samesite 和丢失的 session ID

paypal - 如何在 Paypal 定期配置文件快速结帐中的 CallShortcutExpressCheckout 后调用 CreateRecurringPaymentsProfile

SaaS 订阅的 PayPal 解决方案?

paypal - 将资金从商户账户转移到信用卡/借记卡持有人银行,可能使用 ACH

php - 条件 CSS 停止加载内容

php - 如何在php中回滚上次执行的mysql查询的效果

php - 无法从 MySQL 查询中获得所需的结果

php - php 的 proc_open 命令历史记录