Hi, i´m integrating a "billing agreement before payment", but i get an error in the sandbox an cannot figure out why. 1. Request SetExpressCheckout POST /nvp HTTP/1.1
Host: api-3t.sandbox.paypal.com
...
Content-Type: application/x-www-form-urlencoded
Content-Length: 833
RETURNURL=&CANCELURL=&NOSHIPPING=1&NOTETOBUYER=INFO&AMT=0&EMAIL=ma[at]email.de&L_BILLINGTYPE0=RecurringPayments&L_BILLINGAGREEMENTDESCRIPTION0=Ihre+Bestellung&L_PAYMENTTYPE0=Any&L_BILLINGAGREEMENTCUSTOM0=&METHOD=SetExpressCheckout&VERSION=204 I get this response with Token "EC-3JM30192Y2076953E": HTTP/1.1 200 OK
Date: Tue, 23 Oct 2018 07:29:32 GMT
Server: Apache
X-SLR-RETRY-API: SetExpressCheckout
...
Content-Type: text/plain; charset=utf-8
TOKEN=EC%2d3JM30192Y2076953E&TIMESTAMP=2018%2d10%2d23T07%3a29%3a33Z&CORRELATIONID=67a59ffb57b44&ACK=Success&VERSION=204&BUILD=49798231 Step2: CreateBillingAgreement with Token "EC-3JM30192Y2076953E": POST /nvp HTTP/1.1 Host: api-3t.sandbox.paypal.com ... Content-Length: 185 TOKEN=EC-3JM30192Y2076953E&METHOD=CreateBillingAgreement&VERSION=204 Response with error "invalid token": HTTP/1.1 200 OK
...
Content-Type: text/plain; charset=utf-8
TIMESTAMP=2018%2d10%2d23T07%3a30%3a30Z&CORRELATIONID=2135c17838b83&ACK=Failure&VERSION=204&BUILD=49798231&L_ERRORCODE0=10063&L_SHORTMESSAGE0=The%20token%20is%20invalid%2e&L_LONGMESSAGE0=The%20token%20is%20invalid%2e&L_SEVERITYCODE0=Error Why is the token invalid and why is the same token working well with the method "GetExpressCheckoutDetails"? I hope someone can help.
... View more