Paypal IPN发送“待定"和“多种货币"作为原因吗? [英] Paypal IPN sending 'pending' with 'multi-currency' as reason?

查看:83
本文介绍了Paypal IPN发送“待定"和“多种货币"作为原因吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Paypal IPN从我的网站上付款.该网站目前仅在开发中,因此我建立了一个Sandbox网站进行测试,并且已经在英国注册的测试帐户中以GBP货币(居住国的货币)非常成功地进行了付款.

I am using the Paypal IPN to take payments from my website. The website is only in development at the moment and so I set up a Sandbox site to test and I've been taking payments very successfully in GBP currency (my country of residences currency) with a test account registered in the UK.

但是,我希望该网站能够检测到访客的原籍国,并允许他们以自己的货币购买.因此,我通过美国代理访问了该网站.该网站使用美元作为货币,我使用我设置为美国帐户的帐户登录到Paypal沙箱.

However, I want the site to detect a visitors country of origin and allow them to purchase in their own currency. So I accessed the site via a US based proxy. The site used dollars as the currency and I logged into the Paypal sandbox with an account I had set up as US based.

但是我从贝宝(Paypal)获得的退货有以下内容:

However my return from Paypal has the following:

[payment_status] => Pending
[pending_reason] => multi_currency
[mc_gross] => 4.99
[protection_eligibility] => Eligible
[address_status] => confirmed
[payer_id] => X7QACLK8F7L9Q
[address_street] => 1 Main St
[payment_date] => 13:54:37 Feb 18, 2015 PST
[payment_status] => Pending
[address_country_code] => US
[notify_version] => 3.8
[payer_status] => verified
[address_country] => United States
[num_cart_items] => 1
[address_city] => San Jose
[payment_type] => instant
[address_state] => CA
[pending_reason] => multi_currency
[txn_type] => cart
[mc_gross_1] => 4.99
[mc_currency] => USD
[residence_country] => US
[test_ipn] => 1
[payment_gross] => 4.99

由于付款状态不完整(正确退出),因此未在网站上注册购买交易.有人知道原因吗?

The purchases aren't registering on the site as the payment_status isn't complete (quite correctly). Anyone know the reason for this?

推荐答案

对,我终于弄清楚了问题所在,并设法解决了这个问题,因此我想针对自己的问题发布答案,以便对问题有所帮助未来的人.

Right I've finally worked out what the issue was and managed to resolve this so thought I would post an answer to my own question in order that it may help people in future.

首先登录您的Sandbox开发人员网站(在其中设置所有假帐户等). https://developer.paypal.com/developer

Firstly log in to your Sandbox Developer Site (where you set up all your fake accounts etc). https://developer.paypal.com/developer

我们需要登录到此站点才能登录到Sandbox Paypal商业帐户.

We need to be logged in to this site in order to be able to then log in to the Sandbox Paypal Business Account.

让自己登录到上面的Sandbox开发人员网站,打开一个新标签,然后转到Sandbox Paypal业务登录: 沙盒业务登录

Leave yourself logged in to the Sandbox Developer Site above and open a new tab and go to the Sandbox Paypal Business Login: Sandbox Business Login

现在,您可能会在列表中看到待处理"交易.您可以选择接受"待处理的交易,然后下一页将允许您更改您的付款接收首选项.

Now you'll probably see your "pending" transactions in the list. You can choose to "Accept" a pending transaction and the next page will allow you to alter your payment recieving preferences.

我在单选框上打了勾,是,接受并将其转换为英镑",以回答使用其他货币付款的问题.

I ticked the radio box "Yes, accept and convert them to British Pounds" in answer to what to do with payments from a different currency.

这对我来说很合理.希望它可以帮助其他人.

That sorted it for me. Hope it helps someone else along the way.

也感谢其他张贴者在此方面的帮助.它帮助我走到了最深处.

Thanks to the other posters for their help on this as well. It helped me get to the bottom of it.

这篇关于Paypal IPN发送“待定"和“多种货币"作为原因吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆