개요
테스트 모드를 사용하면 실제 거래를 처리하지 않고 결제를 시뮬레이션할 수 있습니다. 모든 테스트 자격 증명은 테스트 모드에서만 작동하므로 프로덕션에서는 절대 사용하지 마세요.No Real Charges
Full API Access
Webhook Testing
테스트 카드
이 카드 번호를 사용하여 여러 지역에서 승인 및 거절된 결제를 시뮬레이션하세요.- Successful Payments
- Declined Payments
- Subscription Failure Testing (Renewal/Upgrade/Downgrade)
갱신 실패 테스트 방법
Create a test subscription
4242 4242 4242 4242)를 사용하여 테스트 API 키로 subscription을 생성하세요. 초기 청구가 성공하고 subscription이 active 상태가 되어야 합니다.Swap in the failure card via Customer Portal
4000 0000 0000 0341(만료일: 12/34, CVC: 123)를 입력하고 subscription의 결제 수단으로 저장하세요.Advance the next billing date (optional)
next_billing_date을 현재 UTC 시간으로 설정하세요. 값은 ISO 8601 / RFC 3339 UTC timestamp여야 합니다(Z suffix가 필요함).Verify the failure
- 갱신 청구가 실패 카드에서 거절됩니다
- subscription이 On-Hold 상태로 전환됩니다
payment.failed웹훅 event가 전달됩니다- 고객은 Customer Portal로 돌아가 결제 수단을 업데이트하고 재시도할 수 있습니다
테스트 UPI
UPI 테스트에서는 서로 다른 결제 결과를 시뮬레이션하는 특수 VPA(Virtual Payment Address) 식별자를 사용합니다.UPI 테스트 요구 사항
- Billing country는
IN로 설정해야 합니다 - Currency는
INR여야 합니다 - 인도 외 merchant의 경우: Adaptive Currency을 활성화해야 합니다
테스트 BNPL
Buy Now Pay Later provider에는 특정 테스트 데이터 요구 사항이 있습니다.Klarna 테스트 데이터
테스트 모드에서 Klarna 결제를 시뮬레이션하려면 다음 정보를 사용하세요:Afterpay 테스트
Select Afterpay
Test successful payment
Test failed authentication
requires_customer_action에서 requires_payment_method로 전환됩니다.Digital Wallet 테스트
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
테스트 API keys를 사용하고 표준 checkout flow를 따르세요. 테스트 거래는 실제 청구 없이 시뮬레이션됩니다. Apple Pay의 domain verification을 포함한 전체 digital wallet 문서는 Digital Wallets 페이지를 참조하세요.ACH Direct Debit 테스트
ACH Direct Debit은 결제 시 테스트 은행 정보를 입력하여 Test Mode에서 테스트할 수 있습니다.Enable test mode
Set currency and billing address
USD로 설정하고 청구 주소 국가는 US로 설정하세요. 이 조합 외에서는 ACH를 사용할 수 없습니다.Use a one-time payment
Enter the test bank details
테스트 은행 계좌
라우팅 번호110000000를 다음 계좌 번호 중 하나와 함께 사용하세요:
유럽 결제 수단 테스트
유럽 결제 수단(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
테스트 SEPA Direct Debit IBAN
SEPA Direct Debit에는 EUR과 유로존 청구 주소가 필요합니다. 특정 결과를 강제로 발생시키려면 다음 테스트 IBAN을 사용하세요:테스트 모범 사례
Test all payment scenarios
Test all payment scenarios
Verify webhook handling
Verify webhook handling
payment.succeeded, payment.failed 및 subscription event를 올바르게 처리하는지 확인하세요.Dodo Payments CLI를 사용하여 webhook을 로컬에서 테스트하세요:dodo wh listen는 실제 테스트 webhook을 로컬 서버로 전달합니다.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