
commercetools-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="https://api.commercetools.{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
Docker Compose 配置示例
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=https://api.commercetools.eu-central-1.com - COMMERCETOOLS_AUTH_URL=https://auth.commercetools.eu-central-1.com - 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(含区域) | https://api.commercetools.eu-central-1.com | 是 |
COMMERCETOOLS_AUTH_URL | commercetools 认证 URL(含区域) | https://auth.commercetools.eu-central-1.com | 否(默认与 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
例如:http://adyen-notification-service.example.com:8080/notifications
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务