PayPal Advanced Checkout Error

scholar1-2023
Contributor
Contributor

Hi,

I am testing(in sandbox) paypal advanced checkout hosted page solution with contingencies: ['SCA_ALWAYS'].

But after the createOrder method execution i noticed that PP sdk is calling cors.api.sandbox.paypal.com/v2/checkout/orders/6EP84425MD218111F/confirm-payment-source endpoint which returns 401 with error {"error":"invalid_token","error_description":"Access Token not found in cache"}.

 

scholar12023_2-1681493934501.png

 

 

here 6EP84425MD218111F is my orderId.

Login to Me Too
5 REPLIES 5

werbewolke
Contributor
Contributor

Did you find a solution? I'm stuck also right there …

Login to Me Too

liinature
Contributor
Contributor

hi! have same problem, anybody find a solution?

Login to Me Too

Kavyar
Moderator
Moderator

Good day @liinature 

 

Thank you for posting to the PayPal community.

 

To help you resolve the issue you are facing, please follow the steps provided in the detailed guided link below:

 

https://developer.paypal.com/api/rest/authentication/

https://developer.paypal.com/api/rest/postman/

 

Important: Please note that it is important to utilize the token within 24 hours. If it is not used within this timeframe, you will need to generate a new token.

 

If you are still experiencing issues, please create an MTS ticket via the following URL  - https://www.paypal-support.com/s/?language=en_US  .Please ensure that you provide detailed information and error details when submitting the ticket.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

liinature
Contributor
Contributor

HI! I'm using advanced checkout paypal configuration. my service generates token expectedly, but when I make an order by clicking on "Pay" button, it returns cors.api with an error from the paypal API (I mean i make order - this request works and generates an order. then paypal need to confirm a card /i'm using test cards/ and that's where the issue starts: paypal returns cors.api error (but my cors config works well)

Login to Me Too

Kavyar
Moderator
Moderator

Good day @liinature 

 

We regret to inform you that Advanced checkout is currently not available in Georgia.

 

For more information, kindly visit the following link - https://developer.paypal.com/docs/checkout/advanced/#link-eligibility

 

If you are still experiencing issues, please create an MTS ticket via the following URL  - https://www.paypal-support.com/s/?language=en_US  .Please ensure that you provide detailed information and error details when submitting the ticket.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

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.