【问题标题】:How to set PayPal express checkout landingpage billing(debit card)如何设置 PayPal 快速结帐登陆页面计费(借记卡)
【发布时间】:2014-03-29 10:05:43
【问题描述】:

我想设置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账户可选: 在, 名称=“解决方案类型”值=“鞋底” name="LANDINGPAGE" value="计费"

Paypal 登陆页面仍保持登录状态

【问题讨论】:

    标签: php paypal


    【解决方案1】:

    我想你可以在这里找到答案。 Can you force PayPal Payments Standard API to show credit card fields first?

    您使用的是 PayPal 网站付款标准。该变量不适用于它,因为它仅适用于 Express Checkout。

    如果您使用 Express Checkout,基本上,它是基于 cookie 检查的。如果您的浏览器中存在 PayPal cookie,它将默认显示在登录菜单中。否则,通过设置 LANDINGPAGE=Billing,它应该默认打开信用卡菜单。

    【讨论】:

    • ^ 正确。标准按钮将默认在浏览器 cookie 上(即:如果他们曾经登录过 paypal 帐户,则显示登录页面。否则,如果由于他们从未登录而没有 cookie,他们将登陆信用卡客人结帐部分.) 该变量对贝宝标准没有任何作用,因为它是为快速结帐客户开发的,因为快速结帐最初不提供客人使用信用卡结帐。
    【解决方案2】:

    &lt;input type="hidden" name="landing_page" value="Billing"&gt;

    自 2016 年 9 月起有效

    注意该字段是landing_page 而不是LANDINGPAGE

    请模组不要删除提供有效解决方案和更清晰问题的帖子

    【讨论】:

      【解决方案3】:

      使用来自服务器的调用我不得不写这样的东西:

      '意图' => '销售', “应用程序上下文” => 大批( “语言环境” => “他-IL”, "landing_page" => "计费", ), “redirect_urls” => 数组( "return_url" => $return_link, "cancel_url" => $cancel_link ), 参见文档:https://developer.paypal.com/docs/checkout/reference/server-integration/set-up-transaction/

      【讨论】:

        猜你喜欢
        • 2015-01-23
        • 1970-01-01
        • 2015-03-05
        • 2017-01-12
        • 1970-01-01
        • 2012-08-10
        • 1970-01-01
        • 2016-04-28
        • 2013-10-09
        相关资源
        最近更新 更多