-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting cors error when trying to call Adyen payments api #1077
Comments
@satyam21041997 Thank you for your reporting. I believe that the error is about CORS issue (Cross Origin Resource Sharing). You can check more details here There would be 2 possible solutions here
|
Hi @leungkinghin , I also tried to add a localhost server to adyen account for allowed origin. Please find the attached code for your reference. |
Hello @satyam21041997 Also, after i checked your attached code, you are adapting Adyen SDK to make API request. I would suggest you to raise a support ticket to Adyen directly in this case. Here we are supporting the integration between Commercetools and Adyen platform. Hope you could understand. |
Hi @leungkinghin , |
Hi @satyam21041997
Regarding point 2, you need to access and administrate one Commercetools project. And then setup API extension in it which would trigger synchronous call to this integration on AWS lambda when you update Commercetools payment For more details how the entire flow works between this integration, CT platform and Adyen platform, please refer to our documentations below : |
Hi,
![MicrosoftTeams-image (5)](https://user-images.githubusercontent.com/94686066/220585109-28f23a7a-3045-4ef1-9219-42c9fdc9076a.png)
I am trying to call Adyen payments api to get all the payment methods that I enabled in Adyen account.
I am getting the below error when I try to call that API. I tried with the localhost server and AWS server as well.
Please help me on it to resolve this error.
The text was updated successfully, but these errors were encountered: