cancel
Showing results for 
Search instead for 
Did you mean: 

Please, clarify about reference transaction for sandbox accounts

Options
Maxim_MA
Contributor
Posted on

Dear @MTS_Justin ,

Could you please check if reference transaction are enabled on my sandbox account (the merchant ID is S82PLVD5D33EL)?

 

I find out that reference transaction are enabled for all new sandbox accounts (https://www.paypal-community.com/t5/Sandbox-Environment/Enable-reference-transactions/m-p/2395764#M7...)
But I see that many people are still asking you enable this access for their sandbox accounts.

 

In particular in my case I try to authorize payment using order ID and previous transaction ID (as described here https://developer.paypal.com/docs/business/checkout/advanced-card-payments/reference-transactions/) and receive 422 code:
{
  "name": "UNPROCESSABLE_ENTITY",
  "details": [
    {
      "field": "/payment_source/token/id",
      "value": "2NK78427SL2240406",
      "location": "body",
      "issue": "TOKEN_ID_NOT_FOUND",
      "description": "Specified token was not found. Verify the token and try the request again."
    }
  ],
  "message": "The requested action could not be performed, semantically incorrect, or failed business validation.",
  "debug_id": "a8210b0a94b76",
  "links": [
    {
      "href": "https://developer.paypal.com/docs/api/orders/v2/#error-TOKEN_ID_NOT_FOUND",
      "rel": "information_link",
      "method": "GET"
    }
  ]
}

 

Is it due to reference transaction access are disabled or other reason?

 

Thank you for you assistance.

Haven't Found your Answer?

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