删除借记卡或信用卡部分中的Paypal创建帐户

时间:2016-03-06 16:16:13

标签: paypal e-commerce

我正在建立一个网站,并希望添加" Paypal"付款方法 所以我将这个Html表单添加到网站页面

<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="paypalemail@gmail.com">
 <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>
当用户想要付我信用卡或主人或签证卡时,一切都会好起来的 然后paypal要求他们创建帐户支付扔卡,我怎么能删除 在借记卡或信用卡部分创建帐户选项

1 个答案:

答案 0 :(得分:0)

您用于向自己添加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