#Priyanka

1 messages ยท Page 1 of 1 (latest)

frail bayBOT
#

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.

fast idol
#

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?

buoyant fox
#

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.

fast idol
#

it got created with Incomplete status
can you share an example Subscriptoin ID (sub_xxx)?

buoyant fox
#

Sure.

#

s

#

Oh wait I am sorry

#

sub_1OgNmXLsZuj7RiioKsvBjuCV

#

This one ๐Ÿ‘†

fast idol
#

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

buoyant fox
#

But as I said I don't want to make a payment here

#

Customer already paid for it in the past

fast idol
#

so what's your goal here? start a free Subscription on the connected account?

buoyant fox
#

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.

fast idol
#

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.

buoyant fox
#

Can you give me some sample code or reference to do that?

fast idol
buoyant fox
#

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?

fast idol
#

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

buoyant fox
#

OK Thank you so much for this information ๐Ÿ™‚ It's a very tricky situation

#

I got confused there a lot

fast idol
#

happy to help ๐Ÿ™‚

frail bayBOT
buoyant fox
#

Sorry one more thing.

#

I can see one property called BillingCycleAnchor

#

Can I use this one maybe instead of TrialEnd?

north comet
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

#

what are you trying to achieve exactly?

north comet
#

yes actually if you use billing_cycle_anchor in the future with proration_behavior: "none"

#

you won't have a first invoice

#

which means that the subscription starts with no payment until the next billing_cycle_anchor