Skip to content

Commit

Permalink
Fix E2E: Remove not-needed ClientKey and MerchantAccount variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwok-he-Chu committed Jan 8, 2024
1 parent e52cd95 commit d5a1745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Build in-person-payments-example image
run: docker build -t in-person-payments-example-image:latest in-person-payments-example
- name: Start in-person-payments-example container and use `http://localhost:3000` as the Terminal API Cloud endpoint
run: docker run --rm -d --name in-person-payments-example-image -p 8080:80 -e ADYEN_TERMINAL_API_CLOUD_ENDPOINT="http://localhost:3000" -e ADYEN_API_KEY="${{ secrets.ADYEN_API_KEY }}" -e ADYEN_MERCHANT_ACCOUNT=${{ secrets.ADYEN_MERCHANT_ACCOUNT }} -e ADYEN_CLIENT_KEY=${{ secrets.ADYEN_CLIENT_KEY }} -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} in-person-payments-example-image:latest
run: docker run --rm -d --name in-person-payments-example-image -p 8080:80 -e ADYEN_TERMINAL_API_CLOUD_ENDPOINT="http://localhost:3000" -e ADYEN_API_KEY="${{ secrets.ADYEN_API_KEY }}" -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} in-person-payments-example-image:latest
- name: Start Adyen Mock Terminal API application on `http://localhost:3000`
run: docker run --rm -d --name adyen-mock-terminal-api -p 3000:3000 -e PORT=3000 --network host ghcr.io/adyen-examples/adyen-mock-terminal-api:main
- name: Run testing suite against in-person-payments-example-image
Expand Down
1 change: 1 addition & 0 deletions in-person-payments-example/Options/AdyenOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class AdyenOptions
/// <summary>
/// Default: null, unless you want to override this to point to a different endpoint based on your region.
/// See https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/#cloud.
/// Optionally, if you do not own an Adyen Terminal/POS (yet), you can test this application using Adyen's Mock Terminal-API Application on GitHub: https://github.com/adyen-examples/adyen-mock-terminal-api (see README).
/// </summary>
public string ADYEN_TERMINAL_API_CLOUD_ENDPOINT { get; set; }
}
Expand Down

0 comments on commit d5a1745

Please sign in to comment.