#cecile - subscription

1 messages ยท Page 1 of 1 (latest)

sterile stone
#

What do you mean by "reactivate" a subscription here? Is the subscription cancelled?

naive fox
#

No the last invoice payment is failed the subscription is "en retard" so past_due I guess

#

So I would like to propose tha link to change payment information directly on my website

sterile stone
#

You can collect new payment details on your site and update the payment method to be used for teh subscription, yes

#

What exactly are you trying to do and having trouble with?

naive fox
#

To create the link to the Stripe form where the customer will update the payment method associated to his subscription

sterile stone
#

Are you referring to a Stripe hosted UI? Or do you mean on your own site?

naive fox
#

on my own website

sterile stone
#

OK, and what part do you need help with?

naive fox
#

I can't find how create this link

sterile stone
#

OK, let's take a step back, we appear to be going in circles.

#

Where are you trying to show a link? Can you show me examples of what you mean?

naive fox
#

Yes

sterile stone
naive fox
#

Maybe

#

Actually I only use checkout payment for now

#

If a subscription stoped because a payment failed I would like to show it for my customer directly on their private space on my website with a direct link to reactivate it easily

sterile stone
#

OK if you're only using Checkout, you are likely to have the best experience using the Customer Portal, then:

#

This supports allowing your customers to update their payment info on subscriptions

#

Using a simular UI to Checkout

#

I suggest reading there and exploring the preview we provide

naive fox
#

On my own website I have a delivery place where I delivery virtual product regarding number of payment is validate on the subscription by the customer. If the second payment failed then the delivery stops and a message is shown that the custom needs to reactivate is subscription and there is where I miss the intel to create the link to a reactivate form

#

The customer Portal migght be a solution but I'm afraid the owner of the website will prefere a simple way. I can develop if needed or may be it will be simple to start a new subscription

stuck urchin
#

Hello ๐Ÿ‘‹
taking over for synthrider as they have to step away in a bit

naive fox
#

hello

stuck urchin
#

As my colleague mentioned earlier, Customer Portal will provide a consistent experience with prebuilt UI that goes along with Stripe Checkout
Alternatively, You can pause and unpause (payment collection) a subscription manually using the API but for that you'll have to create your own UI

naive fox
#

Ok that means there is no, let's say, "magic link" or form which will create the reactivate subscription form like the checkout session is constructed or like the link the plateforme Stripe send to customer by mail?

stuck urchin
#

hmm let me check

#

You can create a Checkout Session in setup mode for that specific customer which will let your user input new PaymentMethod. Then you can use checkout.session.completed webhook event to take that PaymentMethod and update it on the Subscription and try to pay the latest invoice to move the subscription to active again.

#

which will require a lot of DIY-ing compared to just creating a Customer Portal

naive fox
#

Yes I know but I just confirmed with my client (owner of the website) and she doesn't want the customer portal so I'll try the setup mode or maybe juste create a new subscription

stuck urchin
#

๐Ÿ‘

naive fox
#

Thanks for your time

stuck urchin
#

NP! Happy to help ๐Ÿ™‚