#eliii-checkout-trial
1 messages · Page 1 of 1 (latest)
Hello! What do you plan on using to do this? Checkout? Using our Subscriptions API directly?
The objective is to share 100 persons of free trial, where they can use our platfrom (which is 250Eur) for free for 20 days.
Yes, but do you plan on using Checkout (stripe's hosted flow) or building your own?
Oh, it uses Stripe of course
Gotcha, then you likely want to be using Checkout with the following:
- add the 250 euro price as a
line_items(https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items) - set
subscription_data.trial_period_days: 20(https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_period_days) - set
subscription_data.trial_settings.end_behavior.missing_payment_method: cancelto cancel the subscription automatically after the trial is over (https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_settings-end_behavior-missing_payment_method) - and set
payment_method_collection: if_required(https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_collection)