[英]How to set 1/3/5 years billing period in Paypal express checkout PHP
[英]How to set PayPal express checkout landingpage billing(debit card)
我想设置paypal登陆页面的部分,你可以输入你的信用卡信息默认是打开的。
<form target="_top" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="TU9GTJP2JCEKJ">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="METHOD" value="SetExpressCheckout">
<input type="hidden" name="SOLUTIONTYPE" value="Sole">
<input type="hidden" name="LANDINGPAGE" value="Billing">
<input type="hidden" name="lc" value="US">
</form>
必选参数设置我有一个企业账户,PayPal账户可选:ON, name="SOLUTIONTYPE" value="Sole" name="LANDINGPAGE" value="Billing"
Paypal登陆页面仍然保持登录状态
我想你可以在这里找到你的答案。 您可以强制 PayPal Payments Standard API 首先显示信用卡字段吗?
您正在使用 PayPal 网站付款标准。 该变量不适用于它,因为它仅适用于 Express Checkout。
如果您使用 Express Checkout,基本上,它基于 cookie 检查。 如果您的浏览器中存在 PayPal cookie,它将默认出现在登录菜单中。 否则,通过设置 LANDINGPAGE=Billing 它应该默认打开信用卡菜单。
<input type="hidden" name="landing_page" value="Billing">
这适用于 2016 年 9 月
请注意,该字段是landing_page 而不是LANDINGPAGE
请mods不要删除提供有效解决方案和更清晰问题的帖子
使用来自服务器的调用我不得不写这样的东西:
'intent' => 'sale', "application_context" => array( "locale" => "he-IL", "landing_page" => "BILLING", ), "redirect_urls" => array( "return_url" => $return_link, "cancel_url" => $cancel_link ),见文档: https : //developer.paypal.com/docs/checkout/reference/server-integration/set-up-transaction/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.