#hc-subscription-trial

1 messages · Page 1 of 1 (latest)

hollow nestBOT
#

bugkiller.-account-support

#

@rapid python :question: Have a non-technical question, account issue, or need one-on-one support? We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact

rapid python
#

hmm,

#

what I want is I want to create subscription with trial not to be charged automacially

hollow nestBOT
crimson summit
#

Sorry fo you have a specific question? We help developers here, we're happy to help with a code related question, right now you're super high level with no information

rapid python
#

yes, my question is how to make subscription not to be charged automatically after trial ended in python

crimson summit
#

That doesn't really make sense to me unfortunately. 99% of developers want auto-payment after their trial. If you don't why are you collecting card details upfront?

#

hc-subscription-trial

#

my colleague @vital vigil is taking over and can help once you have a clear summary of your overall set up and your question(s)

rapid python
#

yes, the problem is that

#

some dummy users are canceling late

#

and then complaining he's charged even if he canceled

#

so I wanted to know to stop charge automatically and then someone charge if user confirms again

#

maybe via email sent by stripe something like that

vital vigil
#

So you want to stop payments for all customers upon cancellation, then reprompt them for payment?

rapid python
#

only for trial users

#

customers who already paid is fine.

#

just asking about trial user (new users will generally signup with our plan which has trial period for 7 days)

vital vigil
#

Why don't you just wait to collect payment method details until after the trial is over? Would that solve your issue?

rapid python
#

but we wanted to give trial access once user's added that payment details

vital vigil
#

Got it. In that case, you would need to build your own system to cancel subscriptions before the first payment occurs. There isn't really a Stripe mechanism for halting payment at the end of a trial, unless you wanted to integrate Subscription Schedules, which would allow you to create a Trial phase that cancels the Subscription after an arbitrary period: https://stripe.com/docs/billing/subscriptions/subscription-schedules

Learn how to use subscription schedules to automate changes to subscriptions over time.

rapid python
#

my business guy saying something like this

vital vigil
rapid python
#

hmm,

#

how to do this in creating subscription checkout session

vital vigil
#

You can't. The subscription and the hold on the funds would have to totally separate in this case. In other words, you could place a hold on the card AND create a Subscription, but those 2 things will never interact.

rapid python
#

so I can't hold the money into the card when I make subsription with trial?

#

our purpose is to hold some money into the card (for after trial ended charge), and if user cancels during trial, then hold will be released

vital vigil
#

You can do that, but again: it will not be connected to the Subscription in any way. The hold would be processed entirely separate from the Subscription.

rapid python
#

so I can hold, but I can't use that holded money when user charged after trial ended?

vital vigil
#

You would just have to create a payment via the subscription, but that would have nothing to do with the hold you placed on the card

rapid python
#

payment will happen automatically by stripe once trial ends

#

I'm not handling payment for subscription so now I'm confusing

#

sorry if I'm asking dummy question

vital vigil
#

Can you rephrase the question? I still don't know what you're asking

rapid python
#

did you understand what's my purpose?

#

my purpose is when user signup with plan which has trial period. ( after trial it will have monthly payment)

#

then, once user signup with trial plan, I wanted to just hold money somehow and to be used after trial ended payment

#

to avoid insufficient fund when trial ended

vital vigil
#

Yes, I understand that. But what is your question?

rapid python
#

how to implement it in python

#

guide me on it

vital vigil
rapid python
#

All are integrated already and we're live service

#

everything working well

#

all plans hasn't trial period, only one plan has 7 days trial

vital vigil
#

Are you doing that via the Dashboard or the API?

rapid python
#

so when user creates signup, we're creating subscription checkout session and then user will be redirected to the stripe

#

everything is fine

#

of coruse API

vital vigil
#

Okay, so where are you blocked?

rapid python
#

fooo

#

??

#

you didn't get what I'm asking yet?

#

if user signup with plan which has trial plan, we will not charge him

#

right?

#

he will be only charged once trial is neded

#

*ended

hollow nestBOT
vital vigil
#

There's still not a single integration question in the last 10+ messages. Please be specific about what you want to know.

rapid python
#

thanks for your support. I tried my best to explain. let me think litlte more myself.
"question was about how to hold money to use it once trial ended. shared plan detail with screenshot etc"

#

Thanks for your kind support

vital vigil
#

The short answer is: you can't hold onto money for a trial. The closest thing you can do is place a hold on money separate from your subscription for up to 7 days. All you can hope to do is:

  1. create a trialing subscription
  2. while the subscription is trialing create a separate hold on that customer's card using this method: https://stripe.com/docs/payments/place-a-hold-on-a-payment-method, which will only last 7 days
  3. release the hold when the subscription trial is over
  4. charge the card via the subscription in whatever way you're already doing that