diff --git a/.github/workflows/build-3ds2.yml b/.github/workflows/build-3ds2.yml index 81267bf..802f734 100644 --- a/.github/workflows/build-3ds2.yml +++ b/.github/workflows/build-3ds2.yml @@ -20,7 +20,7 @@ jobs: working-directory: '3ds2-example' strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/build-authorisation-adjustment.yml b/.github/workflows/build-authorisation-adjustment.yml index 39e459a..f2af675 100644 --- a/.github/workflows/build-authorisation-adjustment.yml +++ b/.github/workflows/build-authorisation-adjustment.yml @@ -20,7 +20,7 @@ jobs: working-directory: 'authorisation-adjustment-example' strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/build-checkout-advanced.yml b/.github/workflows/build-checkout-advanced.yml index ef0d73c..97430c2 100644 --- a/.github/workflows/build-checkout-advanced.yml +++ b/.github/workflows/build-checkout-advanced.yml @@ -20,7 +20,7 @@ jobs: working-directory: 'checkout-example-advanced' strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/build-checkout.yml b/.github/workflows/build-checkout.yml index af02156..e124c6b 100644 --- a/.github/workflows/build-checkout.yml +++ b/.github/workflows/build-checkout.yml @@ -20,7 +20,7 @@ jobs: working-directory: 'checkout-example' strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/build-giftcard.yml b/.github/workflows/build-giftcard.yml index 4a6e4e6..b47e7a1 100644 --- a/.github/workflows/build-giftcard.yml +++ b/.github/workflows/build-giftcard.yml @@ -20,7 +20,7 @@ jobs: working-directory: 'giftcard-example' strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/build-giving.yml b/.github/workflows/build-giving.yml index 345a15c..7af8927 100644 --- a/.github/workflows/build-giving.yml +++ b/.github/workflows/build-giving.yml @@ -20,7 +20,7 @@ jobs: working-directory: 'giving-example' strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/build-in-person-payments.yml b/.github/workflows/build-in-person-payments.yml index 454d86c..b0cdacb 100644 --- a/.github/workflows/build-in-person-payments.yml +++ b/.github/workflows/build-in-person-payments.yml @@ -20,7 +20,7 @@ jobs: working-directory: 'in-person-payments-example' strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/build-paybylink.yml b/.github/workflows/build-paybylink.yml index b23a77a..d1e6118 100644 --- a/.github/workflows/build-paybylink.yml +++ b/.github/workflows/build-paybylink.yml @@ -20,7 +20,7 @@ jobs: working-directory: 'paybylink-example' strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/build-subscription.yml b/.github/workflows/build-subscription.yml index 2a12593..264006b 100644 --- a/.github/workflows/build-subscription.yml +++ b/.github/workflows/build-subscription.yml @@ -20,7 +20,7 @@ jobs: working-directory: 'subscription-example' strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..7bd5f0b --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +nodejs 20.10.0 diff --git a/3ds2-example/README.md b/3ds2-example/README.md index fdc97c9..f752e9f 100644 --- a/3ds2-example/README.md +++ b/3ds2-example/README.md @@ -11,7 +11,7 @@ For additional information, refer to our [documentation on testing 3DS2](https:/ ## Prerequisites -- Node.js 18+ +- Node.js 20+ This demo leverages Adyen's API Library for Node.js ([GitHub](https://github.com/Adyen/adyen-node-api-library) | [Docs](https://docs.adyen.com/development-resources/libraries#javascript)). diff --git a/authorisation-adjustment-example/Dockerfile b/authorisation-adjustment-example/Dockerfile index 2af3f8f..3d993a7 100644 --- a/authorisation-adjustment-example/Dockerfile +++ b/authorisation-adjustment-example/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app diff --git a/authorisation-adjustment-example/README.md b/authorisation-adjustment-example/README.md index 0b49374..7c692ba 100644 --- a/authorisation-adjustment-example/README.md +++ b/authorisation-adjustment-example/README.md @@ -21,7 +21,7 @@ This demo leverages Adyen's API Library for Node.js ([GitHub](https://github.com ## Requirements - [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/) -- Node.js 18+ +- Node.js 20+ ## Installation diff --git a/checkout-example-advanced/Dockerfile b/checkout-example-advanced/Dockerfile index 2af3f8f..3d993a7 100644 --- a/checkout-example-advanced/Dockerfile +++ b/checkout-example-advanced/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app diff --git a/checkout-example-advanced/README.md b/checkout-example-advanced/README.md index 0aa72af..950b37c 100644 --- a/checkout-example-advanced/README.md +++ b/checkout-example-advanced/README.md @@ -23,7 +23,7 @@ For a simpler flow using `/sessions`, check out the demo in the [`checkout-examp ## Requirements - [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/) -- Node.js 18+ +- Node.js 20+ ## 1. Installation diff --git a/checkout-example/Dockerfile b/checkout-example/Dockerfile index 2af3f8f..3d993a7 100644 --- a/checkout-example/Dockerfile +++ b/checkout-example/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app diff --git a/checkout-example/README.md b/checkout-example/README.md index 99baf51..a190d27 100644 --- a/checkout-example/README.md +++ b/checkout-example/README.md @@ -23,7 +23,7 @@ For a three-steps [advanced use case](https://docs.adyen.com/online-payments/bui ## Requirements - [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/) -- Node.js 18+ +- Node.js 20+ ## 1. Installation diff --git a/giftcard-example/Dockerfile b/giftcard-example/Dockerfile index 2af3f8f..3d993a7 100644 --- a/giftcard-example/Dockerfile +++ b/giftcard-example/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app diff --git a/giftcard-example/README.md b/giftcard-example/README.md index acb39b0..c95546c 100644 --- a/giftcard-example/README.md +++ b/giftcard-example/README.md @@ -52,7 +52,7 @@ This demo provides a simple webhook integration at `/api/webhooks/notifications` ## Run integration on localhost using a proxy -You will need Node.js 18+ to run this application locally. +You will need Node.js 20+ to run this application locally. 1. Clone this repository diff --git a/giving-example/Dockerfile b/giving-example/Dockerfile index 2af3f8f..3d993a7 100644 --- a/giving-example/Dockerfile +++ b/giving-example/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app diff --git a/giving-example/README.md b/giving-example/README.md index da75aaa..abce28d 100644 --- a/giving-example/README.md +++ b/giving-example/README.md @@ -29,7 +29,7 @@ This demo leverages Adyen's API Library for Node.js ([GitHub](https://github.com ## Requirements -Node.js 18+ +Node.js 20+ ## Installation diff --git a/in-person-payments-example/Dockerfile b/in-person-payments-example/Dockerfile index 2af3f8f..3d993a7 100644 --- a/in-person-payments-example/Dockerfile +++ b/in-person-payments-example/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app diff --git a/in-person-payments-example/README.md b/in-person-payments-example/README.md index ff4bb25..8b9e25a 100644 --- a/in-person-payments-example/README.md +++ b/in-person-payments-example/README.md @@ -28,7 +28,7 @@ This demo integrates the Adyen's API Library for Node.js ([GitHub](https://githu ## Prerequisites - A [terminal device](https://docs.adyen.com/point-of-sale/user-manuals/) and a [test card](https://docs.adyen.com/point-of-sale/testing-pos-payments/) from Adyen - [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/) -- Node.js 18+ +- Node.js 20+ ## 1. Installation diff --git a/paybylink-example/Dockerfile b/paybylink-example/Dockerfile index 2af3f8f..3d993a7 100644 --- a/paybylink-example/Dockerfile +++ b/paybylink-example/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app diff --git a/paybylink-example/README.md b/paybylink-example/README.md index d37edd1..60adc74 100644 --- a/paybylink-example/README.md +++ b/paybylink-example/README.md @@ -19,7 +19,7 @@ This demo leverages Adyen's API Library for Node.js ([GitHub](https://github.com ## Requirements - [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/) -- Node.js 18+ +- Node.js 20+ ## 1. Installation diff --git a/subscription-example/Dockerfile b/subscription-example/Dockerfile index 2af3f8f..3d993a7 100644 --- a/subscription-example/Dockerfile +++ b/subscription-example/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app diff --git a/subscription-example/README.md b/subscription-example/README.md index 489e345..f1d207c 100644 --- a/subscription-example/README.md +++ b/subscription-example/README.md @@ -67,7 +67,7 @@ This demo provides a simple webhook integration at `/api/webhooks/notifications` ## Run integration on localhost using a proxy -You will need Node.js 18+ to run this application locally. +You will need Node.js 20+ to run this application locally. 1. Clone this repository.