我正在建立一个网站,想添加“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 要求他们创建帐户以支付扔掉那张卡我怎样才能删除 在借记卡或信用卡部分创建帐户选项
最佳答案
您用于向您的网站添加 PayPal 按钮的方法称为 Payments Standard .这种集成方法快速简便,但也有一些局限性。
您想要的是,用户无需登录或创建帐户即可使用信用卡付款,这称为“访客结账”。不幸的是,使用 Payments Standard guest 结账依赖于基于浏览器的 cookie。因此,如果有人曾经使用该特定浏览器登录过 PayPal 帐户,系统将假设您将使用 PayPal,因此它有点隐藏了访客结账选项。您应该仍会看到一个链接,可以让您到达那里,但很容易错过。
如果您在新浏览器中尝试这样做或清除当前浏览器中的缓存/cookie,您可能会看到访客结账体验。
如果您想在任何时候都强制执行访客结账体验,而不考虑浏览器 cookie,您需要使用 Express Checkout API而不是支付标准。这将需要使用 PHP 等编程语言。
假设您对此很熟悉,您可以使用这个 PHP PayPal SDK轻松integrate Express Checkout .它附带免费 sample ,可能足以让您继续使用。
或者,如果您使用的是某种 CMS,则可能有一个可用的插件可以让您轻松集成 Express Checkout。例如,如果您偶然使用 WooCommerce,我建议您查看 PayPal for WooCommerce .
关于paypal - 删除 Paypal 在借记卡或信用卡部分创建帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35829264/