Skip to content

This is an example of an integration for the Adyen Dropin Plugin for Vendure.

Notifications You must be signed in to change notification settings

mirahi-io/adyen-plugin-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Nicolas Toffolo
May 18, 2023
fa7faff · May 18, 2023

History

5 Commits
May 4, 2023
May 11, 2023
May 11, 2023
May 4, 2023
May 4, 2023

Repository files navigation

Adyen Vendure plugin example

This repository showcases an implementation of the Adyen payment plugin for Vendure.

Installation

Install the dependencies in both the storefront and the vendure folder:

git clone
cd vendure-adyen-plugin-example
cd storefront
yarn install
cd ../vendure
yarn install

Keys and credentials

Add your credentials in both .env files:

  • NEXT_PUBLIC_ADYEN_CLIENT_KEY: Adyen client key (storefront)
  • If configured:
    • HMAC_KEY (vendure)
    • BASIC_AUTH_USERNAME (vendure)
    • BASIC_AUTH_PASSWORD (vendure)

Running the server

Then you can launch the storefront and the vendure server in two separate terminals from the root folder of the project.

The server will run on port 3000:

yarn vendure

Modify the Adyen Payment method in the Vendure admin UI by adding your Adyen API key. Also, change your Channel token to have it match your Adyen merchant account name.

Running the storefront

The storefront will run on port 4200:

yarn storefront

WARNING: Use the storefront in Incognito mode, otherwise the session cookie from the Vendure admin UI will conflict.

You can make now a simple order for a wireless mouse!

About

This is an example of an integration for the Adyen Dropin Plugin for Vendure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published