我的PHP paypal自适应支付IPN网址遇到错误,我已将其缩小到这个范围:
Paypal返回
Array
(
[Errors] => Array
(
[0] => Array
(
[Receiver] =>
[Category] => Application
[Domain] => PLATFORM
[ErrorID] => 580001
[ExceptionID] =>
[Message] => Invalid request: {0}
[Parameter] =>
[Severity] => Error
[Subdomain] => Application
)
)
[Ack] => Failure
[Build] => 15089777
[CorrelationID] => 0a7dc3c7614d8
[Timestamp] => 2015-02-09T04:50:15.458-08:00
[PayKey] =>
[PaymentExecStatus] =>
[RedirectURL] =>
[XMLRequest] => ReturnAllen_USPAYhttp://myurl.com/cancel.phpAPP-80W284485P519543T76561198031633135141.101.98.145USDSECONDARYONLYhttp://myurl.com/?uid=123&pid=2Purchase Plugin1kuro@bob.comtrue0.75john@c16.comfalsetrue22123124156123http://myurl.com/return.php
[XMLResponse] => 2015-02-09T04:50:15.458-08:00Failure0a7dc3c7614d815089777580001PLATFORMApplicationErrorApplicationInvalid request: {0}
)
我把它缩小到我的IPN网址及其GET数据。
http://myurl.com/?uid=123&pid=2
如果我执行单个变量,则会创建Paypal,因此似乎添加&标志打破它。我取代了&用一个+并且它创建了请求,我还手动提供了ipn_url设置数据,所以它与缺少变量php方面无关。所以我很困惑该怎么做。