Paypal Express Checkout: 10410 Invalid Token

I am using the Paypal Express Checkout API on my website and am encountering an error on the sandbox website. The USER, PWD, and SIGNATURE fields have been validated and valid. I replaced ampersands with newlines for readability.

First, my SetExpressCheckout request:

USER=xxx
PWD=xxx
SIGNATURE=xxx
VERSION=76.0
METHOD=SetExpressCheckout  
RETURNURL=xxx
CANCELURL=xxx
REQCONFIRMSHIPPING=0
NOSHIPPING=1
LOCALECODE=FR
SOLUTIONTYPE=Sole
LANDINGPAGE=Billing
PAYMENTREQUEST_0_AMT=86.11
PAYMENTREQUEST_0_CURRENCYCODE=EUR
PAYMENTREQUEST_0_ITEMAMT=72.00
PAYMENTREQUEST_0_TAXAMT=14.11
PAYMENTREQUEST_0_INVNUM=1tyZq03X5c8
PAYMENTREQUEST_0_PAYMENTACTION=Sale
PAYMENTREQUEST_0_PAYMENTREQUESTID=1tyZx03f5c8

The answer from Paypal is as follows:

TOKEN=EC%2d9FE8384171515313J
TIMESTAMP=2011%2d08%2d24T08%3a44%3a36Z
CORRELATIONID=696e70dbd6086
ACK=Success
VERSION=76%2e0
BUILD=2055089

After the user completes the payment on the Paypal website and returns to the confirmation URL above, I launched GetExpressCheckoutDetails:

USER=xxx
PWD=xxx
SIGNATURE=xxx
VERSION=76.0
METHOD=GetExpressCheckoutDetails
TOKEN=EC-9FE8384171515313J

Answer:

TIMESTAMP=2011%2d08%2d24T08%3a45%3a56Z
CORRELATIONID=6a2bbe8363462
ACK=Failure
VERSION=76%2e0
BUILD=2055089
L_ERRORCODE0=10410
L_SHORTMESSAGE0=Invalid%20token
L_LONGMESSAGE0=Invalid%20token%2e
L_SEVERITYCODE0=Error

The code that provides the token has not changed for a month (and it worked correctly until a few minutes ago). Judging by the logs, there were no changes in the structure of my requests, so I assume that this should be a configuration problem on the PayPal side.

, : reset , , , API ( , reset ).

, ?

+2
2

, reset API, , API , .

API , , .

: reset .

+5

" -"

0

All Articles