使用USERID的Paypal MassPayItem类型

时间:2014-08-22 13:44:19

标签: php curl paypal payment paypal-sandbox

使用用户ID时,我收到Masspayment错误。

命令

curl -s --insecure https://api-3t.sandbox.paypal.com/nvp -d
'USER=xxxx`
&PWD=XXX
&SIGNATURE=XXXX
&METHOD=MassPay
&VERSION=93
&RECEIVERTYPE=UserID
&CURRENCYCODE=USD
&EMAILSUBJECT= You have a new payment from TEST
&L_ReceiverID0=XXXX
&L_AMT0=1.23
&L_NOTE0=Thank you for our catered lunch.
&L_UNIQUEID0=T111'

错误输出:

  

TIMESTAMP = 2014%2d08%2d22T13%3a37%3a46Z&安培;的correlationID = a8e6187f731bd&安培; ACK =失败&安培; VERSION = 93&安培; BUILD = 12471160&安培; L_ERRORCODE0 = 10312&安培; L_SHORTMESSAGE0 = Masspay%20server%20error&安培; L_LONGMESSAGE0 =该%20masspay%20server %20has%20reported%20errors&安培; L_SEVERITYCODE0 =错误

1 个答案:

答案 0 :(得分:0)

似乎您用来发送群发付款的UserId属于现场
    环境 。您需要确保UserID必须不属于测试(沙盒)帐户     活的。尝试从沙箱帐户传递用户ID,应该可以正常工作。