
commercetools/commercetools-adyen-integration-notificationcommercetools-adyen-integration-notification 是 commercetools 电商平台与 Adyen 支付网关的通知集成服务镜像。该镜像提供了接收、验证、处理 Adyen 支付通知的能力,并将支付状态同步至 commercetools 平台,确保支付流程中的状态一致性,是电商交易流程中连接支付通知与订单管理的关键组件。
bashdocker run -d \ -p 8080:8080 \ -e COMMERCETOOLS_PROJECT_KEY="your-commercetools-project-key" \ -e COMMERCETOOLS_CLIENT_ID="your-client-id" \ -e COMMERCETOOLS_CLIENT_SECRET="your-client-secret" \ -e COMMERCETOOLS_API_URL="[***]{region}.com" \ -e ADYEN_API_KEY="your-adyen-api-key" \ -e ADYEN_NOTIFICATION_HMAC_KEY="your-adyen-notification-hmac-key" \ -e PORT=8080 \ commercetools/commercetools-adyen-integration-notification:latest
yamlversion: '3.8' services: adyen-notification-service: image: commercetools/commercetools-adyen-integration-notification:latest ports: - "8080:8080" environment: - COMMERCETOOLS_PROJECT_KEY=your-commercetools-project-key - COMMERCETOOLS_CLIENT_ID=your-client-id - COMMERCETOOLS_CLIENT_SECRET=your-client-secret - COMMERCETOOLS_API_URL=[***] - COMMERCETOOLS_AUTH_URL=[***] - ADYEN_API_KEY=your-adyen-api-key - ADYEN_NOTIFICATION_HMAC_KEY=your-adyen-notification-hmac-key - ADYEN_MERCHANT_ACCOUNT=your-adyen-merchant-account - PORT=8080 - RETRY_MAX_ATTEMPTS=3 - RETRY_INITIAL_DELAY_MS=1000 - LOG_LEVEL=INFO restart: unless-stopped
| 环境变量 | 描述 | 示例值 | 是否必填 |
|---|---|---|---|
COMMERCETOOLS_PROJECT_KEY | commercetools 项目密钥 | my-ecommerce | 是 |
COMMERCETOOLS_CLIENT_ID | commercetools API 客户端 ID | abc123-def456 | 是 |
COMMERCETOOLS_CLIENT_SECRET | commercetools API 客户端密钥 | secret-xyz | 是 |
COMMERCETOOLS_API_URL | commercetools API 基础 URL(含区域) | [***] | 是 |
COMMERCETOOLS_AUTH_URL | commercetools 认证 URL(含区域) | [***] | 否(默认与 API URL 区域一致) |
ADYEN_API_KEY | Adyen API 密钥(用于验证通知及 API 调用) | AQEvhmfuXNWTK0Qc+iSfNMfVN98... | 是 |
ADYEN_NOTIFICATION_HMAC_KEY | Adyen 通知 HMAC 密钥(用于验证通知签名) | your-hmac-key-from-adyen-portal | 是 |
ADYEN_MERCHANT_ACCOUNT | Adyen 商户账号 | YourEcommerceMerchant | 否 |
PORT | 服务监听端口 | 8080 | 否(默认 8080) |
RETRY_MAX_ATTEMPTS | 通知处理失败后的最大重试次数 | 3 | 否(默认 3) |
RETRY_INITIAL_DELAY_MS | 重试初始间隔(毫秒) | 1000 | 否(默认 1000) |
LOG_LEVEL | 日志级别(DEBUG/INFO/WARN/ERROR) | INFO | 否(默认 INFO) |
Adyen 平台需配置通知端点为该服务的访问地址,格式为:
http://<服务IP或域名>:<PORT>/notifications
例如:[***]
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务