To use test data from your Stripe account when creating Zaps, enable Stripe’s test mode. This allows you to test Zaps steps without affecting real transactions or moving actual money. You can also use it to test when the Zap is on.
This means you to test your Zaps with realistic data without impacting your live Stripe account.
Supported triggers and actions
This feature is supported by the following triggers and actions:
Triggers:
- Canceled Subscription
- Checkout Session Completed
- Failed Payment
- Invoice Payment Failed
- New Charge
- New Customer
- New Dispute
- New Subscription
- New Payment
Actions:
- Confirm Payment
- Create Customer
- Create Product
- Find Account Balance
- Find Charge
- Find Customer
- Find Invoice
- Find Payment
Enable test mode data
Before you begin, ensure you have enabled test mode in your Stripe account.
- When connecting to Stripe in Zapier, include a secret test mode API Key.
- Click Yes, Continue to Stripe.
- Log into Stripe to authenticate.
- Select your Stripe account.
- Click Continue.
The supported trigger or action Configure tab includes two fields:
- Use test mode data for the test sample: Allows you to send tests when the Zap is turned off.
- Use test mode data events to trigger Zap: Allows you to send tests when the Zap is turned on.
Select True to enable either or both of these options. Once enabled, you can test your Zap when it’s turned off or on.
If you do not see Use test mode data for the test sample or Use test mode data events to trigger Zap fields, it is likely due to one of these reasons:
- Missing Test Mode API Key: Your connected account may not have a Test Mode API Key. You’ll need to reconnect to Stripe again.
- Unsupported trigger or action: The specific trigger or action you’re using does not support test mode data.
Switching to live mode
Once you’ve completed your tests and want to switch to live mode, you’ll need to:
- Activate your Stripe account.
- Toggle off test mode in your Stripe account.