PayPal IPN 停止发送 mc_shipping 和自定义字段

标签 paypal paypal-ipn

多年来我一直在使用 PayPal IPN,2016 年 9 月 13 日,我的 IPN 监听器开始出现问题。看起来 mc_shipping 字段现在根本没有返回,自定义字段返回为空(尽管我正在发送用户 ID)。

这是我用来联系 PayPal 的代码:

    $ch = curl_init('https://www.paypal.com/cgi-bin/webscr');
    $myemail = "molly@thetripclip.com";

curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_FORBID_REUSE, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Connection: Close'));

if( !($res = curl_exec($ch)) ) {
    $error = "CURL ERROR";
    $text = "Got " . curl_error($ch) . " when processing IPN data";
    include ("log_ipn_error.php");      
    curl_close($ch);
    exit;
}
curl_close($ch);

这是我从 PayPal 返回的内容:

cmd=_notify-validate&mc_gross=4.95&protection_eligibility=Eligible&address_status=confirmed&item_number1=03&payer_id=[因安全原因删除]&address_street=[地址因安全原因删除]&payment_date=09%3A04%3A13+Sep+14%2C+2016+PDT&payment_状态=Completed&charset=windows-1252&address_zip=59422&first_name=[出于安全原因删除名称]&mc_fee=0.44&address_country_code=US&address_name=[出于安全原因删除名称]¬ify_version=3.8&custom=&payer_status=unverified&business=molly%40thetripclip.com&address_country=United+States& num_cart_items=1&mc_handling1 =0.00&address_city=Choteau&verify_sign=AuRlNZvMOhdn8iDWY5YoMB9iRTDzAIjG.3f9vIDCnjWeCMq94kt.qaLM&payer_email=[出于安全原因删除客户电子邮件]&btn_id1=16432817&contact_phone=[出于安全原因未删除电话]&txn_id=95R 75212V2997631V&payment_type=instant&last_name=[出于安全原因删除名称]&address_state=MT&item_name1=5 +Trip+Clip+Activities&receiver_email=[我的电子邮件地址]&payment_fee=0.44&quantity1=1&receiver_id=FSRPNTT2JQ9LE&txn_type=cart&mc_gross_1=4.95&mc_currency=USD&residence_country=US&transaction_subject=&payment_gross=4.95&ipn_track_id=73e 7cbaf7590a

我发现其他人也在问类似的问题(没有答案),但我无法从 PayPal 找到任何关于他们正在更改 IPN 字段的信息。

最佳答案

我在使用多个 PayPal 帐户时遇到同样的问题已有大约 1 个月了。根据我从他们的支持网站收到的回复,这似乎是 paypal 的问题。

Thank you for contacting Merchant Technical Support.

Unfortunately, the problem you're experiencing is being caused by some technical issues with the PayPal system. Our engineers are currently working diligently on a solution to this problem. I am going to assign this ticket to our internal engineering ticket so that when the problem is resolved, you will be notified of its completion right away.

我建议其他有类似问题的人在 https://www.paypal-techsupport.com/ 提交一张票希望他们尽快解决这个问题

关于PayPal IPN 停止发送 mc_shipping 和自定义字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39496791/

相关文章:

php - 带有 IPN 的 Paypal : How to cancel subscription from website,

Django、PayPal IPN 和用户名——概念问题

php - 使用信用卡支付 PayPal

paypal - 如何拆分 PayPal IPN 中的 address_street 变量?

PayPal智能支付按钮: setting an invoice id to avoid duplicate transactions

paypal - 根据文档,IPN Listener 的示例代码不正确。是吗?

asp.net - Paypal 响应未出现在 Paypal IPN 的 notify_url 页面上

paypal - 跳过付款 PayPal 定期付款 API

paypal - Paypal 沙箱中未列出运输方式

php - 真的在 Paypal IPN 上苦苦挣扎