如何在Paypal结帐页面上显示自定义文本字段?

时间:2018-07-19 19:17:33

标签: html paypal paypal-ipn

寻求帮助。我正在通过IPN与Paypal合作。在我看来,有一个带有用于Paypal按钮的参数的表格。需要什么?单击“立即购买”按钮并转移到Paypal结帐页面后,我想查看我设置的自定义字段。带标签的简单文本框。我需要客户端可以在页面结帐页面上输入我所需的数据。 在此页: Checkout page

有可能吗?也许可以在企业帐户设置中进行配置? 这是我正在尝试的示例。 I,我没有看到必填字段:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>

    <title>Button Example Code</title>

    <!-- START META TAG SECTION -->
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta http-equiv="Content-Language" content="en">
    <!-- END META TAG SECTION -->

    </head>
<body>

<form target="_self" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="your business account">
<input type="hidden" name="item_name" value="Widget Statue">
<input type="hidden" name="item_number" value="Test product">
<input type="hidden" name="amount" value="1">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="rm" value="24">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.yourwebsite.com/ThankYou.html">
<input type="hidden" name="cancel_return" value="http://www.yourwebsite.com/Cancel.html">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="cn" value="Add special instructions to the seller:">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynow_LG.gif:NonHosted">
<!-- -->
    <!--<br><br>-->
    <!--Custom Input-->
<input type="hidden" name="on0" value="Custom Input">
<input type="text" name="os0" size="20">
<br><br>

<!-- -->
<input type="image" src="https://www.paypalobjects.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.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<!-- End of Buy Now Form -->

</body>
</html>

0 个答案:

没有答案