Testing @adyen/adyen-web with Nextjs.
- @adyen/adyen-web: 5.53.3
- nextjs 14.0.3
- Create
env.local
file and add the following variables along with their values:
MERCHANT_ACCOUNT=
CHECKOUT_API_KEY=
CHECKOUT_API_VERSION=
NEXT_PUBLIC_CLIENT_KEY=
- Install the project dependencies
- Run the dev server
npm run dev
- Change the country/amount/locale settings in the
commonConfig.ts
file