Full API Access
Webhook Testing
Test Cards
これらのcard numberを使用して、さまざまな地域で成功および拒否される支払いをシミュレートします。- Successful Payments
- Declined Payments
- Subscription Renewal Failures
Testing Renewal Failures
Create a test subscription
4242424242424242)を使用し、test API keyでsubscriptionを作成します。初回の請求は成功し、subscriptionはactiveになります。Update the payment method
4000000000000341(Expiry: 12/34、CVV: 123)を入力して保存します。Advance the next billing date (optional)
next_billing_dateを現在のUTC時刻に設定し、以下のexample valueを置き換えます。値はISO 8601 / RFC 3339 UTC timestampである必要があります(Z suffixは必須です)。Verify the failure
- failure cardでrenewal chargeが拒否されます
- subscriptionはまずPast Due(grace period、
subscription.past_duewebhookにはpast_due_ends_atが含まれます)に移行し、grace period終了時にOn-Holdへ移行します payment.failedwebhook eventが配信されます- customerはCustomer Portalに戻り、payment methodを更新してretryできます
Test UPI
UPI testingでは、さまざまなpayment outcomeをシミュレートする特殊なVPA(Virtual Payment Address)identifierを使用します。Requirements for UPI Testing
- Billing countryは
INに設定する必要があります - Currencyは
INRである必要があります - インド以外のmerchantの場合: Adaptive Currencyを有効にする必要があります
Test Pix
Pix testingでは、QR code flowをシミュレートするためにtest CPF(Brazilian tax ID)を使用します。Requirements for Pix Testing
- Billing countryは
BRに設定する必要があります - Currencyは
BRLである必要があります
Test BNPL
Buy Now Pay Later providerには、固有のtest data要件があります。Klarna Test Data
これらのdetailsを使用して、test modeでKlarna paymentをシミュレートします。Afterpay Testing
Select Afterpay
Test successful payment
Test failed authentication
requires_customer_actionからrequires_payment_methodに移行します。Test Digital Wallets
Apple Pay
Enable test mode
Add a card to Apple Wallet
Complete test purchase
Google Pay
Join the test card group
Enable test mode
Complete test purchase
Amazon Pay、Cash App Pay、RevolutPay
test API keyを使用し、標準のcheckout flowに従います。test transactionは実際の請求なしでシミュレートされます。 Apple Payのdomain verificationを含むデジタルウォレットの完全なdocumentationについては、Digital Walletsページをご覧ください。Test ACH Direct Debit
ACH Direct Debitは、checkoutでtest bank detailsを入力することでtest modeでテストできます。Enable test mode
Set currency and billing address
USDに、billing address countryをUSに設定します。この組み合わせ以外ではACHは提供されません。Use a one-time payment
Enter the test bank details
Test Bank Accounts
routing number110000000と以下のaccount numberのいずれかを使用します。
Test European Methods
European payment methods(iDEAL、Bancontact、EPS、Multibanco)はtest modeでテストできます。Enable test mode
Set billing address
NL(iDEAL)BE(Bancontact)AT(EPS)PT(Multibanco)
Set currency
Complete test flow
Test SEPA Direct Debit IBANs
SEPA Direct DebitにはEURとEurozoneのbilling addressが必要です。これらのtest IBANを使用して、特定のoutcomeを発生させます。Test Asia-Pacific Wallets
GCash、Alipay HK、FPS、Touch ‘n Goは、billing countryとcurrencyが一致した場合にのみ表示されるQR code paymentです。Enable test mode
Set billing country and currency
Select the method and confirm
Verify the checkout behavior
Testing Best Practices
Test all payment scenarios
Test all payment scenarios
Verify webhook handling
Verify webhook handling
payment.succeeded、payment.failed、subscription eventを正しく処理することを確認します。Dodo Payments CLIを使用して、webhookをlocalでテストします。dodo wh listenはlive test webhookをlocal serverにforwardしますdodo wh triggerは、サポートされているすべてのwebhook event typeのmock payloadを送信します
Test on real devices
Test on real devices
Test regional methods with correct addresses
Test regional methods with correct addresses
Verify minimum amounts
Verify minimum amounts