#noobiehere
1 messages · Page 1 of 1 (latest)
You can consier setting https://docs.stripe.com/api/subscriptions/create#create_subscription-trial_period_days to 7 to give a 7-day trial to your customer.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I can't give out trial
this is a fully paid product
as in user should not be able to access anything before first payment
Hmm, but just now you said you allow you cusotmer to pay after 1 week?
ideally it's more than one week - as in the invoice is still valid as long as possible until user decides to pay
for context, the business domain for the app is a little bit slower, so user generally only checks in once a week or less frequent than that
and "signing up" requires admin approval
so the flow is:
- user signs up
- admin reviews and approves
- subscription is created, and invoice is generated
- wait until subscription is paid before giving access
the gap between (3) and (4) can be long
I don't mind it not being forever, but the documentation currently states "max 23 hours" and that's not sufficient for my use case, and wondering what would be my options
Ok, In this case I'll recommend you creating an one-off invoice and send it to your customer. Once the invoice is paid, you then creating a subscription with first-month free for this customer (you can use trial, or a coupon for 100% discount)
hmmm, okay
not preferred because if I use Stripe customer portal, that first invoice is a bit-off in user perspective but noted that there is no quick solution around it
thanks!
sorry, I have a follow up question
does it then make sense for me to use Stripe Subscription? Shouldn't I just use Stripe Invoice (with recurrence) if I am handling subscription logic in my own code? Any advantage of using Stripe Subscription than Stripe Invoice in this case?
Subscription automatically retry payments if the initial invoice payment fails, it also calculate proration if your customer changes the plan in the middle of a billing cycle