/adyen-test

A custom Adyen checkout using React server components and Server Actions

Primary LanguageTypeScript

This is a demo showing how to build a custom Adyen checkout using Next.js and server components.

Getting Started

Run npm install to install the dependencies. Run npm run dev to start the development server on http://localhost:3000.

Environment variables

Create a .env.local file in the root of the project and fill in the following environment variables:

ADYEN_API_KEY=
ADYEN_MERCHANT_ACCOUNT=
NEXT_PUBLIC_ADYEN_CLIENT_KEY=
NEXT_PUBLIC_ADYEN_ENVIRONMENT=TEST
ADYEN_CURRENCY=EUR