为什么我的PayPal IPN响应中的自定义参数为空?

时间:2015-04-06 12:22:49

标签: paypal paypal-ipn

在我的PayPal IPN响应中,自定义参数为空。

我已尝试过以下帖子数据:

  

METHOD = SetExpressCheckout&安培; VERSION = 121.0&安培; USER = mark.vanhaaren1987-facilitator_api1.gmail.com&安培; PWD = 1411391015&安培; SIGNATURE = AiPC9BjkCyDFQXbSkoZcgqH3hpacAa1vFAMOEAO1ZachEpl5mX2RGSRb&安培; RETURNURL = HTTPS%3A%2F%2fdev-api.wedepa.com%2freturn% 2freturn%3fwedepaid%3d32-303-真e3c7a8f25359d0ad625c4389102aa0cabdfb172e&安培; CANCELURL = HTTPS%3A%2F%2fdev-api.wedepa.com%2freturn%2freturn%3fwedepaid%3d32-303-真e3c7a8f25359d0ad625c4389102aa0cabdfb172e&安培; REQCONFIRMSHIPPING = 0&安培; LOCALECODE =安培; EMAIL = pending_accepted%2540klarna.com&安培;的LandingPage =登录&安培; PAYMENTREQUEST_0_SHIPTONAME = Testperson-NL +批准&安培; PAYMENTREQUEST_0_SHIPTOSTREET = Neherkade + 1XI&安培; PAYMENTREQUEST_0_SHIPTOSTREET2 =安培; PAYMENTREQUEST_0_SHIPTOCITY = Gravenhage&安培; PAYMENTREQUEST_0_SHIPTOSTATE =安培; PAYMENTREQUEST_0_SHIPTOZIP = 2521VA&安培; PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE = NL&安培; PAYMENTREQUEST_0_SHIPTOPHONENUM = 0612345678&安培; PAYMENTREQUEST_0_AMT = 0.56&安培; PAYMENTREQUEST_0_CURRENCYCODE = EUR&安培; PAYMENTREQUEST_0_ITEMAMT = 0 0.56&安培; PAYMENTREQUEST_0_DESC = 145000610&安培;的 PAYMENTREQUEST_0_CUSTOM = 303 &安培; PAYMENTREQUEST_0_INVNUM = 145000610&安培; PAYMENTREQUEST_0_PAYMENTACTION =塞尔&安培; PAYMENTREQUEST_0_PAYMENTREQUESTID = 303

  

METHOD = SetExpressCheckout&安培; VERSION = 121.0&安培; USER = mark.vanhaaren1987-facilitator_api1.gmail.com&安培; PWD = 1411391015&安培; SIGNATURE = AiPC9BjkCyDFQXbSkoZcgqH3hpacAa1vFAMOEAO1ZachEpl5mX2RGSRb&安培; RETURNURL = HTTPS%3A%2F%2fdev-api.wedepa.com%2freturn% 2freturn%3fwedepaid%3d32-303-真e3c7a8f25359d0ad625c4389102aa0cabdfb172e&安培; CANCELURL = HTTPS%3A%2F%2fdev-api.wedepa.com%2freturn%2freturn%3fwedepaid%3d32-303-真e3c7a8f25359d0ad625c4389102aa0cabdfb172e&安培; REQCONFIRMSHIPPING = 0&安培; LOCALECODE =安培; EMAIL = pending_accepted%2540klarna.com&安培;的LandingPage =登录&安培; PAYMENTREQUEST_0_SHIPTONAME = Testperson-NL +批准&安培; PAYMENTREQUEST_0_SHIPTOSTREET = Neherkade + 1XI&安培; PAYMENTREQUEST_0_SHIPTOSTREET2 =安培; PAYMENTREQUEST_0_SHIPTOCITY = Gravenhage&安培; PAYMENTREQUEST_0_SHIPTOSTATE =安培; PAYMENTREQUEST_0_SHIPTOZIP = 2521VA&安培; PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE = NL&安培; PAYMENTREQUEST_0_SHIPTOPHONENUM = 0612345678&安培; PAYMENTREQUEST_0_AMT = 0.56&安培; PAYMENTREQUEST_0_CURRENCYCODE = EUR&安培; PAYMENTREQUEST_0_ITEMAMT = 0 0.56&安培; PAYMENTREQUEST_0_DESC = 145000610&安培; 自定义= 303 &安培; PAYMENTREQUEST_0_INVNUM = 145000610&安培; PAYMENTREQUEST_0_PAYMENTACTION =塞尔&安培; PAYMENTREQUEST_0_PAYMENTREQUESTID = 303

但是在这两篇文章中,自定义参数在IPN数据中都是空的:

  

mc_gross = 0.56&安培; protection_eligibility =合格&安培; address_status =未确定&安培; payer_id = WVANQ6YXN3Z44&安培;税务= 0.00&安培; address_street = Neherkade + 1XI&安培; PAYMENT_DATE = 02%3A25%3A07 +月+ 05%2C + 2015 + PDT&安培; PAYMENT_STATUS =完成&安培;字符集=窗口1252&安培; address_zip = 2521VA&安培;如first_name = SandboxTest&安培; mc_fee = 0.37&安培; address_country_code = NL&安培; ADDRESS_NAME = Testperson-NL +批准&安培; notify_version = 3.8&安培; 自定义= &安培; payer_status =验证&安培; ADDRESS_COUNTRY =荷兰&安培; ADDRESS_CITY = Gravenhage&安培;数量= 1&安培; verify_sign = AWOaXag9big7U1TLyuUBdjQukr3NAId64fyHo.KuCCvftrNBM1o3xHVd&安培; PAYER_EMAIL =标记%40mvhaaren.com&安培; txn_id = 7XS68223YK9539538&安培; payment_type =即时&安培;姓氏=帐户&安培; ADDRESS_STATE =安培; RECEIVER_EMAIL =标记。 vanhaaren1987-主持人%40gmail.com&安培; payment_fee =安培; receiver_id = A3TRBFWRTUBBL&安培; txn_type = express_checkout&安培; ITEM_NAME =安培; mc_currency = EUR&安培; ITEM_NUMBER =安培; residence_country = NL&安培;的test_ipn = 1&安培; handling_amoun T = 0.00&安培; transaction_subject =安培; payment_gross =安培;航运= 0.00&安培; ipn_track_id = 7f79e2488253

有人能看出我做错了吗?

1 个答案:

答案 0 :(得分:1)

PAYMENTREQUEST_0_CUSTOM参数需要在您的DoExpressCheckoutPayment调用中,超过您在SetExpressCheckout调用中所需的参数。