跳转到主要内容
卡片支付是在线支付的基础,全球接受并受到客户的信任。Dodo Payments 支持所有主要卡片网络,内置防欺诈保护和 PCI 合规性。

支持的卡片网络

全球网络

网络覆盖
Visa全球领先,全球 40 亿张卡片
Mastercard全球覆盖,安全性强
American Express高端持卡人,消费更高
Discover以美国为主,正在全球扩展
JCB日本领先,正在亚洲扩张
UnionPay在中国主导,超过 80 亿张卡片
Diners Club高端国际旅行者

区域网络

网络区域
Interac加拿大的借记网络
Cartes Bancaires法国的国家网络
Korean Local Cards韩国国内网络
Rupay印度的国家网络

配置

请在allowed_payment_method_types中使用这些值:
类型描述
credit所有信用卡
debit所有借记卡
const session = await client.checkoutSessions.create({
  product_cart: [{ product_id: 'prod_123', quantity: 1 }],
  allowed_payment_method_types: ['credit', 'debit'],
  return_url: 'https://example.com/success'
});
除非有特别理由排除其中一项,否则应同时包括creditdebit。许多客户更偏好借记卡,而且通常费用更低。

3D Secure 身份验证

3D Secure (3DS) 增加了一层身份验证,可以通过核实持卡人身份来减少欺诈和退款。

何时触发 3DS

当以下情况发生时,3DS 会自动触发:
  • 卡片网络要求
  • 区域法规要求(例如,欧洲的 PSD2)
  • 交易被标记为高风险

强制 3DS

您可以要求所有交易都启用 3DS:
const session = await client.checkoutSessions.create({
  product_cart: [{ product_id: 'prod_123', quantity: 1 }],
  force_3ds: true,
  return_url: 'https://example.com/success'
});
为所有交易启用3DS可降低欺诈风险,但可能稍微降低转化率,因为部分客户在认证过程中放弃。

保存的支付方式

客户可以保存他们的卡片以便更快的未来结账。

Tokenized

原始卡号绝不存储。

PCI Compliant

多多处理所有合规事宜。

Customer-Scoped

卡片绑定至特定客户。

启用保存的卡片

const session = await client.checkoutSessions.create({
  product_cart: [{ product_id: 'prod_123', quantity: 1 }],
  show_saved_payment_methods: true,
  customer: { customer_id: 'cus_existing_123' },
  return_url: 'https://example.com/success'
});

一键购买

// Get customer's saved payment methods
const methods = await client.customers.getPaymentMethods('cus_123');

// Use saved card for instant checkout
const session = await client.checkoutSessions.create({
  product_cart: [{ product_id: 'prod_123', quantity: 1 }],
  customer: { customer_id: 'cus_123' },
  payment_method_id: methods[0].payment_method_id,
  confirm: true,
  return_url: 'https://example.com/success'
});

测试

地区品牌卡号到期CVV
USVisa424242424242424206/32123
USMastercard555555555555444406/32123
IndiaVisa457623891277145006/32123
IndiaMastercard540916266938103406/32123
测试卡仅在测试模式中有效。切勿在生产交易中使用它们。

安全性与合规性

特性描述
PCI DSS Level 1最高级别认证
令牌化卡号立即被令牌化
欺诈评分实时风险评估
AVS地址验证服务
CVV 验证安全码验证
3D Secure持卡人身份验证

最佳实践

除非必要,否则不要限制卡类型。客户希望其偏好的卡片能正常使用。
在结账页展示 Visa、Mastercard 和 Amex 标志以建立信任。
显示清晰的错误信息。不要向客户暴露原始错误代码。
保存的支付方式能显著提升复购转化率。

故障排除

原因: 资金不足、卡片过期、CVV 错误、银行欺诈保护。解决方案: 请客户核实信息或尝试其他卡片。
原因: 客户中途放弃、银行系统不可用、超时。解决方案: 重试或请客户联系其银行。
原因: 区域卡不支持、预付限制。解决方案: 客户应尝试来自大型网络的其他卡片。

相关页面