php - Paypal IPN 模拟器不允许使用英镑?

标签 php paypal paypal-ipn

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

有什么解决方法吗?

我得到:

IPN was sent and the handshake was verified.

最佳答案

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

例如:

<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>

关于php - Paypal IPN 模拟器不允许使用英镑?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33133179/

相关文章:

php - jQuery 数据表 : Uncaught TypeError: Cannot read property 'mData' of undefined

php - 使用 PHP 创建 SOAP 请求 - 如何向 XML 标记添加属性?

印度货币的 PHP 货币格式?

php - 在表 1 上插入后触发,使用表 1 中的 where 条件列在表 2 上插入

Codeigniter,Angeleye 的 Paypal api - 将付款发送给单个接收者

paypal - 如何在 Braintree Paypal 结帐中添加税费和运费

ruby-on-rails - ActiveMerchant 是否支持基于订阅的交易

Paypal PDT返回变量不发送

php - PayPal IPN - 如何在完成时更新数据库

forms - 如何使用立即购买按钮将 session 变量传递给 Paypal