Skip to content

Commit

Permalink
Add example of .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
gcatanese authored Feb 2, 2024
1 parent 64c6755 commit fadb447
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions authorisation-adjustment-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ git clone https://github.com/adyen-examples/adyen-node-online-payments.git
* [Merchant Account](https://docs.adyen.com/account/account-structure)
* [HMAC Key](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures)

Create a `./.env` file with the environment variables.
```shell
export ADYEN_API_KEY=yourAdyenApiKey
export ADYEN_MERCHANT_ACCOUNT=yourAdyenMerchantAccount
export ADYEN_CLIENT_KEY=yourAdyenClientKey
export ADYEN_HMAC_KEY=yourHmacKey
```

## 3. Configure allowed origins (CORS)

It is required to specify the domain or URL of the web applications that will make requests to Adyen.
Expand Down

0 comments on commit fadb447

Please sign in to comment.