Enable Test Mode

Developers can turn on Test Mode to test both fiat-to-crypto transactions and crypto-to-crypto transactions on supported testnet chains. It is possible to test both at the same time or separately.

Buy With Fiat

By setting testMode to true for Buy With Fiat, you can enable test experiences for our underlying providers (Stripe, Kado, and Transak).

<ConnectButton
client={client}
detailsModal={{
payOptions: {
buyWithFiat: {
testMode: true, // defaults to false
},
},
}}
/>;

You can use the following information when using any provider in test mode:

ProviderCard TypeNameNumberExpiration DateCVVOther Info
KadoCredit CardTest Credit4242 4242 4242 424201/25123Test Phone Number: (234) 567-8909
KadoDebit CardTest Debit4659 1055 6905 115701/25123Test Phone Number: (234) 567-8909
StripeVisaAny Name4242 4242 4242 4242Any Future DateAny 3 DigitsSSN: 000000000, Address line 1: address_full_match, OTP : 000000
StripeVisa (Debit)Any Name4000 0566 5566 5556Any Future DateAny 3 DigitsSSN: 000000000, Address line 1: address_full_match, OTP : 000000
TransakVisaAny Name4111 1111 1111 111110/33123Payment Authorization 3Ds screen password: Checkout1!

For Stripe testing, you can view more test cards here.

For Transak testing, you can view detailed information here.

For Kado testing, you can view detailed information here.

Buy With Crypto

Buy With Crypto test mode will show only Testnets and native test currencies. If you have a custom that you would like supported in test mode, please reach out to us. You can see a list of supported testnets on the thirdweb Chainlist page.

<ConnectButton
client={client}
detailsModal={{
payOptions: {
buyWithCrypto: {
testMode: true, // defaults to false
},
},
}}
/>;