0

目前,我通过 wordpress 插件 eshop 测试 paypal 交易。我的测试网站和 Paypal 沙盒之间一切正常。我在我的测试贝宝账户上收到了每笔交易的金额。

那么,有没有人可以解释为什么在我的 IPN 日志中,我看到了这种消息?

[09/16/2013 12:17 PM] - FAIL: IPN Validation Failed.
IPN POST Vars from Paypal:

IPN Response from Paypal Server:
 HTTP/1.1 200 OK
Date: Mon, 16 Sep 2013 12:17:12 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=44VS0oE0w9OKqQXm8_tt1vtbJvdnyOujOdaUKmL1YKFVv2fNtrpwZwLBrbXK2cj1hl4rsZsNkbdK1rYEiWVjJVoDpdtpsQU3C9TlmnyeNPuIQIGzN5pnm1txc-zdooQbYBGoEe_cDYBNgIPU16TPpvtCYBTcLZ720155oY1ososuqpBRYu-KcG2qifDzzMkZVDADM6CZu3SSvGklgKgVOqxIb15FtRPLMepSn0re190FNP-12fh8TcLc44kBTBja1ZPI__GWGtkVWAweinGCtdtky6ebYrHqjZvD0dtsfoMyhx0XE07tPXfKL2FmQMUnE7ghjcySUFuCTVjZfcNiDGcCkn9EaQZ-DvIhL8X4aT6c1FvqNR3vjnRokP6neuGRAiu9hpn6Br7sp4UJhU3pEaoRK2G76FC1x6dBXTtX-7qud2MV_IGGom_q8Li; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: cookie_check=yes; expires=Thu, 14-Sep-2023 12:17:12 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navlns=0.0; expires=Sun, 11-Sep-2033 12:17:12 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: Apache=10.72.109.11.1379333832493873; path=/; expires=Wed, 09-Sep-43 12:17:12 GMT
Connection: close
Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D880%26app%3Dslingshot%26TIME%3D3371578962; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT
Set-Cookie: Apache=10.72.128.11.1379333832485619; path=/; expires=Wed, 09-Sep-43 12:17:12 GMT
Vary: Accept-Encoding
Strict-Transport-Security: max-age=14400
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

7
INVALID
0

非常感谢你的帮助。

4

1 回答 1

0

发送回 PayPal 的数据不得与 PayPal 最初发送的数据相匹配。当这种情况发生时,他们不会验证它。

确保如果您使用沙箱进行购买,您还可以使用 PayPal 沙箱进行 IPN 验证,反之亦然。此外,请确保您已将所有原始数据都包含在内,就像发送给您一样。

于 2013-09-17T03:21:57.047 回答