adyen-examples / checkoutCreate

An external tool which allows you to build a drop-in integration and make customizations as outlined in the Adyen style sheet.
MIT License
5 stars 6 forks source link

Merchant Account hardcoded in the tool #56

Closed jlengrand closed 1 year ago

jlengrand commented 1 year ago

When trying to run the tool locally using a .env file with my own merchant account, initialization fails with the following error:

Adyen.exceptions.AdyenAPIInvalidPermission: "AdyenAPIInvalidPermission:You provided the merchant account:'CheckoutCreateDemo' that doesn't exist or you don't have access to it.\nPlease verify the merchant account provided. \nReach out to support@adyen.com if the issue persists"

It looks like the Merchant Account is hardcoded in the source code /