#Priyanka
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- Priyanka, 3 days ago, 32 messages
hi there!
you could add a free trial to the Subscription, and it will be active. but not sure if that solves your issue
can you shar emore detail about your issue?
OK, I have had subscriptions created on Platform account in the past.
Now my company wants to move all the payment to connected accounts
that includes subscriptions created in the past as well
Now, When I tried to create a new subscription on connected account, it got created with Incomplete status. I think it requires payment I suppose. How can I bypass this stage and make subscription active immediately.
it got created with Incomplete status
can you share an example Subscriptoin ID (sub_xxx)?
thanks! give me a few minutes to look into this.
indeeed the first payment failed: pi_3OgNmXLsZuj7Riio0iw9AaXC
Payment failed because the card expired
so you'll ned to ask the user to enter a new payment method
But as I said I don't want to make a payment here
Customer already paid for it in the past
so what's your goal here? start a free Subscription on the connected account?
OK let me give you an example. CUstomer created subscription on platform on 1st jan, payment was successful and the subscription got created.
next payment is on 1st Feb
today, on 5th Jan, I am moving the same subscription to connected account and make it active as it was on platform. And cancel the one on platform account
I just want to copy the entire subscription as it was to connected account.
And make it active there.
Then create the Subscription on the connected account with a free trial until February 1st. This way the Subscription willl be active and the customer won't pay twice for the first cycle.
Can you give me some sample code or reference to do that?
then only thing you need to change in your current code is add a free trial: https://stripe.com/docs/api/subscriptions/create#create_subscription-trial_end
I can see one property as TrialEnd that can be set. Is this the one I need to set?
I can set future due payment date to the TrialEnd and then Stripe will try to make a payment as usual upon TrialEnd. Am I correct here?
I can see one property as TrialEnd that can be set. Is this the one I need to set?
exactly
I can set future due payment date to the TrialEnd and then Stripe will try to make a payment as usual upon TrialEnd. Am I correct here?
yep
OK Thank you so much for this information ๐ It's a very tricky situation
I got confused there a lot
happy to help ๐
Sorry one more thing.
I can see one property called BillingCycleAnchor
Can I use this one maybe instead of TrialEnd?
๐ taking over for my colleague. Let me catch up.
what are you trying to achieve exactly?