paypal的二次提交,该如何处理

WBOY
Release: 2016-06-13 10:04:26
Original
1230 people have browsed it

paypal的二次提交
我在做测试paypal的时候. 前面都是好的. 

直到10月20号. 突然就返回302了.

现在是 第一次支付提交. (也就是用户去支付..是成功的)

然后paypal会返回 GET.
Array ( [tx] => 7D9382154F618021J [st] => Completed [amt] => 9.06 [cc] => USD [cm] => [item_number] => ) 

也是成功的.

但是等我处理 二次POST验证的 时候. 就出现302了...极其的郁闷. 搞了半天了..实在没办法了. 

我想问一下. 是否是paypal这个验证暂停了.还是什么. 

$fp = fsockopen ('www.sandbox.paypal.com', 80, $errno, $errstr, 30);(是测试PAYPAL 不是 www.paypal.com)




------解决方案--------------------
没做过,不过302代码的含义是:请求的资源暂时转移
建议看下paypal官方有没有对此做相应的解释...

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!