【问题标题】:Paypal IPN Simulator not allowing for GBP?Paypal IPN 模拟器不允许使用英镑?
【发布时间】:2016-01-13 00:07:01
【问题描述】:

我正在使用 paypal 模拟器来测试我的 IPN 页面。但是下拉菜单只允许使用美元,我在 IPN 中的第一次检查是确保付款方式是英镑。

有什么解决方法吗?

我明白了:

IPN was sent and the handshake was verified.

【问题讨论】:

    标签: php paypal paypal-ipn


    【解决方案1】:

    目前IPN simulator 仅支持USD 如果您想使用英镑,您可以使用您的按钮代码进行测试。

    例如:

    <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="business" value="XXX.com">
    <input type="hidden" name="item_name" value="test">
    <input type="hidden" name="currency_code" value="GBP">
    <input type="hidden" name="amount" value="1.00">
    <input type="hidden" name="notify_url" value=<YOUR_IPN_FILE>
    <input type="image" src="https://www.sandbox.paypal.com/en_GB/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">
    </form>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-28
      • 2015-06-29
      • 2014-01-05
      • 2015-10-14
      • 2017-08-08
      • 2016-10-18
      • 1970-01-01
      • 2012-02-19
      相关资源
      最近更新 更多