Paypal IPN始终返回"payment_status:待处理"在沙盒上? [英] Paypal IPN always return "payment_status: Pending" on sandbox?

查看:359
本文介绍了Paypal IPN始终返回"payment_status:待处理"在沙盒上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的网站上实施PayPal.

I'm trying to implement PayPal on my website.

我使用此类: http://www.micahcarrick.com /php-paypal-ipn-integration-class.html

现在,我正在使用PayPal沙箱进行测试.

Right now I'm testing using the PayPal sandbox.

问题出在这里

  1. 用户付款-确定
  2. 用户成功返回我的网站-好的
  3. 几秒钟后,贝宝(PayPal)使用IPN呼叫我的网站-好的
  4. 我的班级成功验证了传入的IPN数据.
  5. PayPal返回"payment_status:待处理"

我不知道为什么PayPal IPN会以待处理"的付款状态回叫?

I don't know why PayPal IPN calls back with the payment status of "pending"?

有人知道我在做什么错吗?

Does anyone know what I'm doing wrong?

推荐答案

登录到测试企业帐户后,手动导航至:

When you're logged into your test business account, manually navigate to:

https://www.sandbox.paypal.com/businessmanage/preferences/payments

您通常可以通过我的业务设置"到达那里,但是当前它重定向到PayPal live(尽管在沙箱中).

You would normally be able to get there by going through your "My Business Setup" but currently it redirects to PayPal live (despite being in the sandbox).

在该页面上后,将以我不持有的货币发送给我的批量付款"更改为否,接受并转换为..."

Once you're on that page, change "Block payments sent to me in a currency I do not hold" to "No, accept them and convert them to ..."

此外,请不要忘记使用PayPal沙盒前端和API的测试电子邮件"部分来确认您的企业帐户.

Also, don't forget to confirm your business account using the PayPal Sandbox front-end and "Test Email" section of the API.

这篇关于Paypal IPN始终返回"payment_status:待处理"在沙盒上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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