简体   繁体   English

PayPal沙箱不同于实时模式

[英]PayPal sandbox differs from Live mode

So I've been struggling with PayPal's IPNs for a while now. 因此,我一直在努力使用PayPal的IPN。 I finally got everything working in sandbox mode, but when I went live, it didn't work. 我终于使所有工作都在沙盒模式下工作,但是当我上线时,它没有工作。

Take a look at this: 看看这个:

Sandbox (Works and sends IPN) 沙盒(工作并发送IPN)

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">

在此处输入图片说明

Live (Doesn't send IPN) 直播(不发送IPN)

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

在此处输入图片说明

See how the two payment screens are different? 看看两个付款屏幕有何不同? The sandbox one sends the IPN just fine, but the live one doesn't. 沙盒可以很好地发送IPN,而实时沙盒则不能。 Why could this be happening? 为什么会这样呢? Why is there a difference? 为什么有区别?

It looks like you have two issues going on here: 您似乎在这里遇到了两个问题:

  1. IPN was disabled on the merchant's account. IPN已在商家帐户上被禁用。 This happens if PayPal receives continual failures when trying to send IPNs to you — PayPal will warn you by email first; 如果PayPal在尝试向您发送IPN时连续出现故障,则会发生这种情况-PayPal将首先通过电子邮件警告您; if we're still unable to send IPNs to you after that, we'll disable IPN on the account entirely. 如果在那之后我们仍然无法发送IPN给您,我们将完全禁用该帐户上的IPN。 I've re-enabled IPN on the account for you, but if this happens again in the future, you'll need to file a ticket with our Merchant Technical Support team to get it re-enabled. 我已经为您重新启用了该帐户的IPN,但是如果以后再次发生这种情况,您需要向我们的商家技术支持团队提交票证才能重新启用它。
  2. I asked the system to re-send the IPN to you for the transaction you provided, but we're getting "404 Not Found" errors back from your website when we do. 我要求系统为您提供的交易重新发送IPN给您,但是当我们这样做时,我们从您的网站收到“ 404 Not Found”错误。 You might need to double-check that your notify_url is correct. 您可能需要仔细检查您的notify_url是否正确。 In the future, you can ask PayPal to re-send IPNs from this page in your PayPal account. 将来,您可以要求PayPal从此页面中的PayPal帐户重新发送IPN。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM