Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create a $1 14-day in Stripe?

I'd like to create a $1, 14-day trial for my monthly subscription, however Stripe currently only has the ability to create free trials.

Here's what I'm thinking, but I can't figure out how to implement it:

  1. Create a product that costs $1.
  2. Create a monthly subscription that has a 14-day free trial.
  3. When someone purchases the $1 product, they are automatically signed up for the monthly subscription.

Has anyone else successfully accomplished this? Any ideas?

Thanks so much for your help.

like image 921
user5429003 Avatar asked Nov 26 '22 15:11

user5429003


1 Answers

You can definitely do this with Stripe's subscriptions and some custom development on your end. The idea is to use Invoice Items to charge the $1 setup fee for the trial. Since invoice items get added to the upcoming invoice automatically, you would follow this flow:

  • Create the customer via the API.
  • Create the $1 Invoice Item via the API.
  • Create the subscription to your monthly plan with a 14 days trial via the API.

The last step automatically creates the first $0 invoice for the trial and adds the invoice item which would charge the customer $1. After 14 days, if the subscription is not canceled the customer would start getting charged the plan price every month.

like image 158
koopajah Avatar answered Dec 09 '22 11:12

koopajah