SetExpressCheckout SECOND Redirect - Internal Error [sandbox]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Im having an issues trying to implement paypals Express Checkout Second Redirect option if a user tries to add additional cart items during a paypal payment flow. I am getting the 10001 Error , 'Transaction failed due to internal error'.
Here's the only documentation i can find: Express Checkout Second Redirect
What i have tried so far is to basically repeat the original setExpressCheckout request though adding the paypal TOKEN recieved in the original successful request and then updating the cart items and values.
Original Request: [successful]
array (size=29) 'METHOD' => string 'SetExpressCheckout' (length=18) 'PAYMENTREQUEST_0_PAYMENTACTION' => string 'Sale' (length=4) 'VERSION' => float 124 'USER' => string 'xxxx' (length=25) 'PWD' => string 'xxxx' (length=16) 'SIGNATURE' => string 'xxxx' (length=56) 'L_SHIPPINGOPTIONNAME0' => string 'Flat' (length=4) 'L_SHIPPINGOPTIONAMOUNT0' => float 6.99 'L_SHIPPINGOPTIONISDEFAULT0' => string 'true' (length=4) 'PAYMENTREQUEST_0_INSURANCEOPTIONSOFFERED' => string 'false' (length=5) 'PAYMENTREQUEST_0_SHIPPINGAMT' => string '6.99' (length=4) 'PAYMENTREQUEST_0_ITEMAMT' => float 14.39 'PAYMENTREQUEST_0_AMT' => float 21.38 'MAXAMT' => float 54.39 'PAYMENTREQUEST_0_CURRENCYCODE' => string 'AUD' (length=3) 'RETURNURL' => string 'xxxx' (length=42) 'CANCELURL' => string 'xxxx' (length=42) 'CALLBACK' => string 'xxxx' (length=60) 'CALLBACKTIMEOUT' => string '6' (length=1) 'CALLBACKVERSION' => string '61.0' (length=4) 'ALLOWNOTE' => int 1 'PAYMENTREQUEST_0_INVNUM' => string '226622' (length=6) 'PAYMENTREQUEST_0_TAXAMT' => int 0 'L_PAYMENTREQUEST_0_NAME0' => string 'Game of Thrones Oberyn POP! vynil [Pre Ordered]' (length=47) 'L_PAYMENTREQUEST_0_AMT0' => string '14.39' (length=5) 'L_PAYMENTREQUEST_0_QTY0' => int 1 'L_PAYMENTREQUEST_0_NUMBER0' => string '849803050719' (length=12) 'L_PAYMENTREQUEST_0_DESC0' => string '1' (length=1)
Second Request: [Failure]
array (size=35) 'TOKEN' => string 'EC-1TV65214D77585209' (length=20) // Same token as orignal 'METHOD' => string 'SetExpressCheckout' (length=18) 'PAYMENTREQUEST_0_PAYMENTACTION' => string 'Sale' (length=4) 'VERSION' => float 124 'USER' => string 'xxxx' (length=25) 'PWD' => string 'xxxx' (length=16) 'SIGNATURE' => string 'xxxx' (length=56) 'L_SHIPPINGOPTIONNAME0' => string 'Flat' (length=4) 'L_SHIPPINGOPTIONAMOUNT0' => float 6.99 'L_SHIPPINGOPTIONISDEFAULT0' => string 'true' (length=4) 'PAYMENTREQUEST_0_INSURANCEOPTIONSOFFERED' => string 'false' (length=5) 'PAYMENTREQUEST_0_SHIPPINGAMT' => string '6.99' (length=4) 'PAYMENTREQUEST_0_ITEMAMT' => string '32.38' (length=5) 'PAYMENTREQUEST_0_AMT' => float 39.37 'MAXAMT' => float 72.38 'PAYMENTREQUEST_0_CURRENCYCODE' => string 'AUD' (length=3) 'RETURNURL' => string 'xxxx' (length=42) 'CANCELURL' => string 'xxxx' (length=42) 'CALLBACK' => string 'xxxx' (length=60) 'CALLBACKTIMEOUT' => string '6' (length=1) 'CALLBACKVERSION' => string '61.0' (length=4) 'ALLOWNOTE' => int 1 'PAYMENTREQUEST_0_INVNUM' => string '226622' (length=6) 'PAYMENTREQUEST_0_TAXAMT' => int 0 'L_PAYMENTREQUEST_0_NAME0' => string 'Game of Thrones Oberyn POP! vynil [Pre Ordered]' (length=47) 'L_PAYMENTREQUEST_0_AMT0' => string '14.39' (length=5) 'L_PAYMENTREQUEST_0_QTY0' => int 1 'L_PAYMENTREQUEST_0_NUMBER0' => string '849803050719' (length=12) 'L_PAYMENTREQUEST_0_DESC0' => string '1' (length=1) 'L_PAYMENTREQUEST_0_NAME1' => string 'Game of Thrones Series 1 White Walker POP! Vinyl [Back Ordered]' (length=63) 'L_PAYMENTREQUEST_0_AMT1' => string '17.99' (length=5) 'L_PAYMENTREQUEST_0_QTY1' => int 1 'L_PAYMENTREQUEST_0_NUMBER1' => string '830395030173' (length=12) 'L_PAYMENTREQUEST_0_DESC1' => string '1' (length=1)
The response back from paypal is always:
'ACK' => string 'Failure' (length=7) 'VERSION' => string '124' (length=3) 'BUILD' => string '23255924' (length=8) 'L_ERRORCODE0' => string '10001' (length=5) 'L_SHORTMESSAGE0' => string 'Transaction failed due to internal error' (length=40) 'L_LONGMESSAGE0' => string 'Internal Error' (length=14) 'L_SEVERITYCODE0' => string 'Error' (length=5)
I have tried to find any similar problems, expamples or any other documentation but i am unable to find anything to help me.
Has anyone had any similar issues?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For technical support, try PayPal Developer Portal:
https://www.paypal.com/selfhelp/article/FAQ3251/1
(hit refresh, if it says inaccessible)
Kudos & Solved are greatly appreciated. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, i refreshed quite a few times but says 'This article is currently unavailable.' i'll try again a bit later.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Grrrr, don't know why these links don't load...so idiotic!
Instead go to contact page at bottom and type in PayPal Developer Portal in the search bar and click on the first result, "What is the PayPal Developer Portal?"
Kudos & Solved are greatly appreciated. 🙂

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Internal Server Error on Sandbox in About Business (Archive)
- Add second item into PayPal express checkout list in About Payments (Archive)
- comple your account setup in About Protections (Archive)
- Express checkout redirect works on my computer, but get an internal error (500) on website in About Payments (Archive)