カード所有者名を使用してresponseCodeをテストするにはどうすればよいですか?

A green triangle with an exclamation point in it.

適切なユーザーロールを持っていますか?

次のいずれかのユーザーロールが割り当てられていることを確認してください。

  • Manage Test Cards(テストカードの管理)

希望する resultCode を holderName として使用することにより、さまざまな resultCode をテストできます。For example, to test a PENDING payment use the following request:

{
"amount": {
"currency": "USD",
"value": 1000
},
"reference": "Your order number",
"paymentMethod": {
"type": "scheme",
"number": "4111111111111111",
"expiryMonth": "03",
"expiryYear": "2030",
"holderName": "PENDING",
"cvc": "737"
},
"returnUrl": "https://your-company.com/...",
"merchantAccount": "YOUR_MERCHANT_ACCOUNT"
}

This works the same for all other resultCodes. For more information and details refer to the following page: Testing with card holder name.

カード名義人にアンダースコアを含むresponseCodeをテストすると、非アルファベット文字のリスクチェックが行われ、理由コード「FRAUD」で支払いが拒否される可能性がありますので、ご注意ください。この場合、resultCodesをテストする別のオプションとして、additionalDataオブジェクトを使用することができますが、このケースにはそれが良い解決策かもしれません。

詳細情報

このトピックについて詳しく説明します。

Adyen Docへ
The illustration of support agent wearing a headset.

他にサポートが必要ですか?

サポートチームへの連絡

問題の詳細を画像やスクリーンショットを添えてお送りください。

リクエストを送信