580001 Invalid request: {0} PayPal (PHP)

后端 未结 1 419
一生所求
一生所求 2021-01-24 04:29

I\'m sending userid and password from this page: https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-api-signature

And the AppId is the ID I use in my android app to c

相关标签:
1条回答
  • 2021-01-24 04:58

    REQUEST-DATA-FORMAT should be NV:

    $headerArray = array(
    'X-PAYPAL-SECURITY-USERID:'.$payPalUser_Id,
    'X-PAYPAL-SECURITY-PASSWORD:'.$payPalPassword,
    'X-PAYPAL-SECURITY-SIGNATURE:'.$payPalSig,
    'X-PAYPAL-REQUEST-DATA-FORMAT:NV',
    'X-PAYPAL-RESPONSE-DATA-FORMAT:JSON',
    'X-PAYPAL-APPLICATION-ID:'.$appID
    );
    
    0 讨论(0)
提交回复
热议问题