#ahmer
1 messages ยท Page 1 of 1 (latest)
can you explain more about what you're trying to do?
We sell a subscription service via Clickfunnels on email10k.com/ultimate
And the subscription is handled on stripe
All we need is to let our customers cancel to the subscription whenever they can via. a page.
Ah, yes, you can use the customer portal for that: https://stripe.com/docs/customer-management/activate-no-code-customer-portal
Or the with code version, creating portal sessions
You'd need to set the configuration to allow for subscription cancel: https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_cancel
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But this would be a hectic process if you have to create a portal for every user?
How can I automate the process?
How can I make the user to just click on a link and then they would be easily able to cancel their subscription?
Sure, but then you need to build that
You can either:
1/ Create portal sessions for each customer on demand to manage via the portal
2/ Use the no code solution to just point the customer at a link and let Stripe handle the sessions
3/ Build your own function to cancel subscription directly via the API, and don't use the protal
About the second solution, can you please elaborate it?
Third solution also seems like what I want
That's what I linked to here
I just need the user to click on a link to cancel their subsription
This is a single link you can point customers to, Stripe does email based auth, and they can access the portal
Ok thats possible, but only if you custom build it for a one-click solution
Yes, but I cant create user credentials for each user
to the portal
how can they do it by themselve
That's the no code approach - you should try using it
Why not?
If I have to custom create the page, can you provide me link to how I would be able to do that
That would be hectic for me as it would be same as to cancel the subscription for a user myself
These are the docs to cancel subscriptions via the API: https://stripe.com/docs/billing/subscriptions/cancel?dashboard-or-api=api
So it sounds like you should try the no-code approach to see if you like it, or build the cancel functionality directly into your app
if you don't like the idea of creating portal sessions
or build the cancel functionality directly into your app
How do I do that?
I cant find it in the documentation
Hi there ๐ taking over for @daring elbow
You would just include the option to cancel the subscription like so: https://stripe.com/docs/api/subscriptions/cancel
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
We sell a subscription service via Clickfunnels on email10k.com/ultimate
And the subscription is handled on stripe
All we need is to let our customers cancel to the subscription whenever they can via. a page.
This is what I want to acheive
But I'm not sure how do I create such option for all customer so they can cancel themselve
Are you a developer/coder?
yes
Okay. What have you tried so far?