Mobile optimized checkout for PayPal Website Payments Standard

后端 未结 1 1824
無奈伤痛
無奈伤痛 2021-01-14 08:56

How can I get the \"mobile optimized checkout experience\" to work as described by PayPal on their Mobile Website Payments Standard page https://www.x.com/developers/paypal/

相关标签:
1条回答
  • 2021-01-14 09:42

    Try updating your example with an email address other than name@domain.com. I used your code exactly as is with email=seller@designerfotos.com (an example email PayPal uses for sample buttons) and it worked just fine. Went into the mobile optimized website payments standard experience.

    Also, make sure your account (email address) that you're testing with doesn't have any shipping and tax rules defined in the profile settings. These are marked as currently unsupported at https://www.x.com/developers/paypal/products/mobile-website-payments-standard. You can pass in shipping and tax values as button parameters and those should work.

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="business" value="seller@designerfotos.com">
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="item_name" value="Test Item">
    <input type="hidden" name="amount" value="1.00">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="button_subtype" value="services">
    <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    
    0 讨论(0)
提交回复
热议问题