PayPal IPN意外更改 [英] PayPal IPN Unexpected Changes

查看:150
本文介绍了PayPal IPN意外更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从2017年3月8日左右开始,我们注意到某些(不是全部)我们的PayPal IPN出现异常行为.贝宝(PayPal)似乎正在推出某种更改,还有其他一些报告其他内容,例如:

Beginning sometime around 03/08/2017 we have noticed some unusual behavior with some (not all) of our PayPal IPNs. PayPal seems to be rolling out some kind of changes, there are a few others reporting other things, like: QueryString values removed from the IPN endpoint by PayPal

似乎有多种版本的PayPal系统发送IPN,其中有些包含notify_version=3.8,有些包含notify_version=UNVERSIONED.

It looks like there are multiple versions of PayPal's system sending the IPNs, some of them contain notify_version=3.8 and some contain notify_version=UNVERSIONED.

主要问题是"3.8"中的IPN具有receiver_email,而未版本"中的IPN没有.

The main problem is IPNs from "3.8" have receiver_email, but ones from "UNVERSIONED" do not.

在某些情况下,我们会同时收到重复的IPN,一个是"3.8"版本,一个是"UNVERSIONED"版本.似乎两个版本的PayPal都在同时处理同一件事. "3.8"版本似乎总是可以成功地确认IPN,而"UNVERSIONED"版本似乎总是以"INVALID"进行响应.

In some cases we receive duplicate IPNs at the same time, one is the "3.8" version and one is the "UNVERSIONED" version. It seems like both versions of PayPal are handling the same thing at the same time. The "3.8" version seems to always successfully confirm the IPN and the "UNVERSIONED" version seems to always respond with "INVALID".

一些用户报告说PayPal正在对我们发送给return(结帐后的URL)的值进行编码.例如,像http://example.com/some%3Dvalue这样的URL有时会被解码为http://example.com/some=value,这是不正确的,并导致404.

Some users are reporting that PayPal is unencoding the value we send for return (the URL that comes after the checkout). For example, a URL like http://example.com/some%3Dvalue sometimes gets decoded to http://example.com/some=value which is not correct and leads to a 404.

我知道PayPal即将推出关于03/29的新更改,与严格遵守其数据格式有关,但是我们已经证实我们符合此要求,并且还有数周的路程.

I am aware PayPal is set to roll out new changes on 03/29, relating to stricter compliance with their data formats, but we have already verified we are in compliance with this and this is still a few weeks away.

推荐答案

几天后,IPN恢复正常. PayPal从未回复我们的支持电子邮件或确认任何问题.

After a few days, IPNs returned to normal without any changes. PayPal never responded to our support emails or acknowledged any issue.

这篇关于PayPal IPN意外更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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