#farhanah_77012

1 messages ยท Page 1 of 1 (latest)

normal wyvernBOT
#

Hello farhanah_77012, 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.
โ€ข farhanah_77012, 1 hour ago, 14 messages
โ€ข farhanah_77012, 3 hours ago, 29 messages

meager coral
#

HI ๐Ÿ‘‹

Have you tested this?

limber python
#

no. i'm trying to see it in test mode.

#

i havent seen this information anywhere in stripe doc

#

docs**

meager coral
#

Under Cancellations

limber python
#

awesome thank you! in that case, so i still wont be able to see this in test mode ? additionally, will i have to add any logic to the cancel button to cancel a subscription or is that all handled for me?

meager coral
#

The logic should all be handled for you, once you configure how you want it to behave. How you respond to the cancellation (e.g. stop providing the goods/service) is up to you to keep track of

limber python
#

confirming this is only available in live mode yes?

limber python
#

hello?

meager coral
#

Hi, sorry it's pretty busy here and I'm the only one

limber python
#

no worries

#

just confirming above

meager coral
#

Let me run a test

limber python
#

thank you

meager coral
#

Okay you can see this in Test mode. I just created a Billing Portal for a test customer of mine with this set of features

 "features": {
        "subscription_cancel": {"enabled": True, "mode": "immediately"}
        },
#

When I go to the portal URL I see the Cancel button

limber python
#

how did you add in the configuration?

#

just used the url in some api call?

meager coral
limber python
#

i think i got it. thank you!

meager coral
#

Great ๐ŸŽ‰ , Happy to help ๐Ÿ™‚

limber python
#

ok i realized where the confusion is. how do you create a portal configuration for a specific customer?

#

ive been creating it the portal config, but i dont understand why i dont see it in my user's session

meager coral
#

How are you creating the Portal Session?

limber python
#

here is the session: stripeContext.api.billingPortal.sessions.create({
customer: input.customerId,
return_url: input.return_url,
});

#

stripe.api**

meager coral
limber python
#

i seee! okay that makes sense! thank you!