24.5. 使用信用卡网关的故障排除

作为 3scale API 提供程序使用 Stripe 或 Braintree 作为支付网关,您可以使用这些信用卡网关排除一些问题。

Stripe

  • 要将 Stripe 数据与 3scale 上的数据映射,您可以使用称为 metadata.3scale_account_reference 的 Stripe 字段,该项由 3scale-[ural_ID]-[DEVELOPER_ACCOUNT_ID]

Braintree

  • 如果您的 Braintree 帐户处于沙盒模式,并且遇到任何问题,则必须将其改为生产环境。
  • 对于在未启用 3D Secure(3D)的情况下存储在 3scale Developer Portal 中的信用卡,建议的解决方案是将 3scale 与 Braintree 集成:

    1. 3scale API 供应商:遵循 在 3scale 管理门户中配置计费 中列出的步骤。
    2. 3scale API 用户:遵循 在 3scale 开发人员门户中编辑信用卡详情 中列出的步骤。
  • 要将 Braintree 中的数据映射到 3scale 上的数据,您可以使用名为 customer.id 的 Braintree 字段,该字段由 3scale-[STRING_ID]-[DEVELOPER_ACCOUNT_ID]