Adyen Card

账户配置与支付网关对应关系

  • apiKey: Developers -> API credentials -> 选择账户 -> Server settings -> Authentication -> API Key

注意:

API Key仅在第一次生成时才会完全显示, 之后不会再显示, 向第一次生成API Key的人索取apiKey的值

不要擅自重新生成API Key, 否则将导致依赖系统支付瘫痪.

  • webhookHMACKey:

    • 已存在webhook: Developers -> Webhooks -> 选择对应webhook地址 -> Additional Settings -> HMAC Key (HEX Encoded)

注意:

HMAC Key仅在第一次生成时才会完全显示, 之后不会再显示, 向第一次生成HMAC Key的人索取HMAC Key的值

  • 新创建webhook: Developers -> Webhooks -> Webhook -> Standard notification -> Add

  • Transport配置:

    • URL : 输入店铺对应webhook地址, 例如:https://api.lazyshop.com/payment/notify

    • SSL Version : TLSv1.2

    • Active: 勾选

    • Service Version : 1

    • Method: JSON

  • Merchant Accounts配置:

    • 仅开启本账户对应的商户账户: 例如 SoufeelECOM

  • Additional Settings配置:

HMAC Key (HEX Encoded) -> Generate new HMAC key -> 复制其中值并妥善保存

  • 点击 Save Configuration 保存webhook配置

  • threeDS2: 是否开启3DS2认证, 可选值: true 或 false, 顾客某些银行卡必须经过3DS2认证才可付款

  • merchantAccount: 在Webhook中开启的商户名或在Merchant account中选择一个要接入的商户

  • clientKey: Developers -> API credentials -> 选择账户 -> Client settings -> Authentication -> Client Key -> Client Key

注意: 不要擅自重新生成client key 否则将导致依赖系统瘫痪

  • endPointsPrefix

  • 额外配置

  • 允许站点跨域访问Adyen, 每新增一个店铺必须在Adyen添加该店铺的域名地址,操作如下:

Developers -> API credentials -> 选择账户 -> Client settings -> Authentication -> Client Key -> Add allowed origins

最后更新于