Problem
If you are integrating the checkout with the Adyen payment gateway and the payment gateway keeps failing, it is most likely due to CORS, Adyen's security policy.
β
You can verify the issue by using the Developer Console to discover this error:
π TIP
To access the Developer Consoler, right-click on the page and select 'Inspect' or 'Inspect Element'. Then switch to the Console tab.
Solution
Login to your Adyen account.
β
π TIPClient key should be the same as in the Ventrata dashboard under Supplier Settings > Gateways > [select gateway] and scroll to the bottom of the form.
Go to Developers > API credentials.
Select your company account.
Under Allowed origins, enter the domain where the checkout will be implemented.
β
π TIPIn the
ws
entry, add the domain URLs you will be using.
βPress the Add button.
Press the Save changes button.
βπ NOTE
If you are using Adyen VentrataPayments and encounter this issue, please contact your account manager.
β