Skip to content

Commit

Permalink
feat(adyen-template): added environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanorct committed Feb 27, 2024
1 parent 844e6b5 commit 8c4587c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions connect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ deployAs:
description: Commercetools API URL
- key: CTP_SESSION_URL
description: Session API URL
- key: ADYEN_ENVIRONMENT
description: Adyen environment
- key: ADYEN_API_KEY
description: Adyen API key
- key: ADYEN_CLIENT_KEY
description: Adyen client key
- key: ADYEN_LIVE_URL_PREFIX
description: Adyen live URL prefix
- key: ADYEN_NOTIFICATION_HMAC_KEY
description: Adyen HMAC key
- key: MERCHANT_RETURN_URL
description: Merchant return URL
- name: enabler
applicationType: service
endpoint: /
Expand Down
2 changes: 1 addition & 1 deletion processor/src/config/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const config = {
// Required by Payment SDK
projectKey: process.env.CTP_PROJECT_KEY || 'payment-integration',
projectKey: process.env.CTP_PROJECT_KEY || 'projectKey',
clientId: process.env.CTP_CLIENT_ID || 'xxx',
clientSecret: process.env.CTP_CLIENT_SECRET || 'xxx',
jwksUrl: process.env.CTP_JWKS_URL || 'https://mc-api.europe-west1.gcp.commercetools.com/.well-known/jwks.json',
Expand Down

0 comments on commit 8c4587c

Please sign in to comment.