Variables Paypal自动返回无发布或获取数据
我在沙盒中工作了以下内容 *返回时没有自动返回,没有PDT *使用自动返回和PDT返回 *IPN工作正常 我想使用的是不带PDT的Autoreturn,但设置了该选项后,Autoreturn不会发送Get或Post变量。我还检查了关于这个主题的各种其他帖子,设置了rm=2。谢谢你的帮助Variables Paypal自动返回无发布或获取数据,variables,paypal,return,Variables,Paypal,Return,我在沙盒中工作了以下内容 *返回时没有自动返回,没有PDT *使用自动返回和PDT返回 *IPN工作正常 我想使用的是不带PDT的Autoreturn,但设置了该选项后,Autoreturn不会发送Get或Post变量。我还检查了关于这个主题的各种其他帖子,设置了rm=2。谢谢你的帮助 $API_Endpoint = "https://api-3t.sandbox.paypal.com/nvp"; $PAYPAL_URL = "https://www.sandbo
$API_Endpoint = "https://api-3t.sandbox.paypal.com/nvp";
$PAYPAL_URL = "https://www.sandbox.paypal.com/cgi-bin/webscr?";
$newpost['business']='xxxxxxxxxx';
$newpost['cancel_return']='http://localhost/cz/subscribe.php';
$newpost['return']='https://www.xxxxxxxx/paypal/success_test.php';
$newpost['cmd']='_donations'; //donation checkout
$newpost['lc']='US';
$newpost['rm']='2';
$newpost['cbt']='Click to Set Subscriber Status';
$newpost['currency_code']='USD';
$newpost['button_subtype']='services';
$newpost['no_note']='1';
$newpost['no_shipping']='2'; //shipping address required
$newpost['tax_rate']='0.000';
$newpost['bn']='xxxxxxxx_BuyNow_WPS_US';
$newpost['amount']=$prod[1];
$newpost['item_name']=' Subscription'; //product name
经过大量测试,我发现截至2013年9月23日,在使用CMD=\u xclick时,在非Paypal帐户事务上使用IPN格式自动重新启动Paypal沙盒,但在CMD=\u捐赠上,它一直在等待,直到用户单击return to mysite按钮 *当使用CMD=\u处理Paypal帐户交易时,使用IPN格式的autoreturn不会返回任何内容。*使用CMD=\u xclick并允许它在10秒内返回,单击“如果在10秒内未重定向,请单击此处”也是如此 我不知道这种行为是否发生在生产中,但是为了清晰和理解,它与Paypal文档的可读性不相上下