Configure a free trial without collecting payment details
Use Stripe Checkout to collect a customer's information for a free trial without collecting their payment details.
Stripe Checkout lets you sign up customers for a free trial of a subscription service without collecting their payment details. At the end of the trial period you specify, use Stripe to configure a reminder email to collect a customer’s payment details.
Configure Checkout session
Create a Checkout Session with the following:
- A
subscription_data
parameter with:trial_period_days
set to the length (in days) of your free trial. In this example, the trial period is 30 days.trial_settings[end_behavior][missing_payment_method]
set tocancel
(orpause
) if the trial ends without a payment method attached. View Use trial periods to learn more.
- The
payment_method_collection
parameter set toif_required
. This tells Stripe that collecting payment information at checkout is optional.
Collect payment details when the trial is about to expire
Before the trial expires, collect payment details from your customer.
Under Manage free trial messaging in your Subscriptions and emails settings, you can choose to automatically send a reminder email when a customer’s trial is about to expire.
You must comply with card network requirements when offering trials. Learn more about compliance requirements for trials and promotion.