Error: Express Checkout token was issued for a merchant account other than yours

KarenWilson
Contributor
Contributor

Hello!

Here's the complete error message:

Express Checkout token was issued for a merchant account other than yours.

Short Error Message: You're not authorized to access this info.

Error Code: 10409

I get this error when trying to make a payment in the sandbox account.

When trying the testcall with Curl on console I get success, so the credentials seem to be OK.

Another sandbox account on the same shop does function without any problems.

What can I do?

Best regards

Silke

Login to Me Too
8 REPLIES 8

MTS_Ciaran
Moderator
Moderator

The API caller on all Express Checkout API calls needs to be the same for a single token. If you are using the SUBJECT variable, this also needs to be the same. Can you post the full API response with error message and debug ID/Correlation ID please?

Login to Me Too

KarenWilson
Contributor
Contributor

Hi,

I'm using the old NVP via get parameters (because the shop already functions with that one)

I call paypal via:

&PAYMENTREQUEST_0_AMT=369.08&PAYMENTREQUEST_0_PAYMENTACTION=Sale&INVNUM=300214&RETURNURL=https://dev.precitec-shop.de/index.php?id=78&L=1&CANCELURL=https://dev.precitec-shop.de/index.php?id... Capo&PAYMENTREQUEST_0_SHIPTOSTREET=Schulze-Delitzsch-Str. 16&PAYMENTREQUEST_0_SHIPTOSTREET2=&PAYMENTREQUEST_0_SHIPTOCITY=Anchorage&PAYMENTREQUEST_0_SHIPTOSTATE=AK&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=US&PAYMENTREQUEST_0_SHIPTOZIP=99501&PAYMENTREQUEST_0_SHIPTOPHONENUM=071122040930

And that's the answer (result array) I get after confirming on paypal site (sandbox):

TOKEN => 'EC-9HP61665F8393645W' (20 chars)
TIMESTAMP => '2017-06-08T12:47:05Z' (20 chars)
CORRELATIONID => '11dece192c87d' (13 chars)
ACK => 'Success' (7 chars)
VERSION => '204' (3 chars)
BUILD => '34310309' (8 chars)

Login to Me Too

KarenWilson
Contributor
Contributor

After the success in answer (see above) the user is redirected and then I get the error message.

Redirect:

https://www.sandbox.paypal.com/webscr?cmd=_express-checkout&token=EC-9HP61665F8393645W

Login to Me Too

MTS_Ciaran
Moderator
Moderator

Can you screenshot the error and post it please?

Login to Me Too

KarenWilson
Contributor
Contributor

the error return url is:

https://dev.precitec-shop.de/index.php?id=71&tx_dxwebshop_products%5Bid%5D=78&tx_dxwebshop_products%...

Screenshot of error message

I put it on the live server, because our dev system is password protected.

Login to Me Too

MTS_Ciaran
Moderator
Moderator

Link opens password and username fields, cannot get in to see the image. Can you post the image here?

Login to Me Too

KarenWilson
Contributor
Contributor

Here's the link to the image again. Seems it got lost...

url to image

Login to Me Too

MTS_Ciaran
Moderator
Moderator

So as I mentioned above the issue is that your code is using a token that does not belong to the API caller. So either the token is hardcoded to an incorrect value or the API caller for the SetEC and GetEC API calls are different. You would need to verify this within your code or cart configuration. 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.