Configure a free trial without collecting payment details
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.
Create a Checkout session
Create a Checkout Session with the following:
- A
subscription_
parameter with:data trial_
set to the length (in days) of your free trial. In this example, the trial period is 30 days.period_ days trial_
set tosettings[end_ behavior][missing_ payment_ method] cancel
(orpause
) if the trial ends without a payment method attached. View Use trial periods to learn more.
- The
payment_
parameter set tomethod_ collection if_
. This tells Stripe that collecting payment information at checkout is optional.required
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.
Next, select the Link to a Stripe-hosted page option so the reminder email contains a link for the customer to add or update their payment details. We don’t send free trial reminder emails in test mode. Learn more about how to set up free trial reminders.
You must comply with card network requirements when offering trials. Learn more about compliance requirements for trials and promotion.