移除PayPal的借记卡或信用卡节创建账户

问题描述:

我建立一个网站,并希望增加“贝宝”付款方式 所以我这个HTML表单添加到网站页面移除PayPal的借记卡或信用卡节创建账户

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="paypal"> 
<input type="hidden" name="cmd" value="_cart"> 
<input type="hidden" name="add" value="1"> 
<input type="hidden" name="business" value="[email protected]"> 
<input type="hidden" name="item_name" value="My Cart Item 1"> 
<input type="hidden" name="amount" value="10.00"> 
<input type="hidden" name="shopping_url"  value="http://localhost:2718/school/paymeant.aspx"> 

<input type="hidden" name="return" value="http://localhost:2718/school/paymeant.aspx?sucess=1"> 

<input type="hidden" name="cancel_return" value="http://localhost:2718/school/paymeant.aspx?faile=1"> 

<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but22.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> 
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> 
</form> 

一切是怎么回事OK期待当用户要支付给我扔信用卡或船长或签证卡 然后贝宝要求他们创建账户支付抛出卡如何删除 的借记卡或信用卡部分

你正在使用的方法来创建帐户选项在您的账户中添加一个PayPal按钮称为Payments Standard。这种集成方法既快速又简单,但有一定的局限性。

用户无需登录或创建帐户即可使用信用卡付款的功能称为“访客结帐”。不幸的是,使用Payments Standard来宾结帐依赖于基于浏览器的Cookie。因此,如果有人曾使用该特定浏览器登录PayPal帐户,系统将假定您将使用PayPal,因此可以隐藏客户结帐选项。你仍然应该看到一个链接,让你到达那里,但很容易错过。

如果您要在全新的浏览器中尝试或清除当前浏览器中的缓存/ Cookie,您可能会看到客户结帐体验。

如果您希望无论浏览器cookie如何都随时强制使用客户结帐体验,则需要使用Express Checkout API而不是付款标准。这将需要使用PHP等编程语言。

假设您熟悉这一点,您可以使用此PHP PayPal SDK轻松integrate Express Checkout。它附带免费样品,可能足以让你去。

或者,如果您使用某种类型的CMS,可能会有一个可用的插件,使您可以轻松地进行Express Checkout集成。例如,如果您使用WooCommerce,偶然,我会建议看看PayPal for WooCommerce