#wong-clientside-subscriptions
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.
- wonghoitun-sub-pricing, 28 minutes ago, 17 messages
Stripe supports the use of JavaScript on the front-end but requires server-side code for other APIs.
What are you trying to achieve?
what I mentioned on "wonghoitun-sub-pricing"
Me: simply - is there a way to charge clients on yearly subscription, but collect a fixed amount of money monthly for 12 months,
say $150 for monthly subscription, simple, then the subscription will charge my client 150$ per month
but I want to offer a more discounted pricing if they commit to one year, so that will be $100 per month for 12 months, is there a way I can acheive that on Stripe?
codename_duchess answer Today at 12:12 AM:
Yeah you can do that
Just need to set a cancel_at date on the subscription at the year marker
And use a lower price
Okay yes these are parameters you would need to set on a server. You cannot create a Subscription from client-side JavaScript
so this is what I have found on Framer
does it mean we cannot achieve what I want on Framer?
Correct
is there an alternative way I can achieve that?
Cos I want to be able to charge my client a certain fee for a fixed period of time, say 12 months
how to use payment links?
can I just set up a link that can achieve what I want and link the bottom on my website to that "payment link"?
we are already using the payment link method, but I dont seem to be able to achieve certain monthly fee for a fixed period of time, say 12 months
You first have to create a Price that collects fees monthly. However, this will create a Subscription that will not automatically cancel. You will need to update that yourself.
The only way to achieve the full flow you want requires writing server-side code.
server-side code is achieved on Stripe, and not related to Framer (the website builder) right?
No
You would need to write server-side code on a server you own. Framer does not allow for this so you could not use that tool
but when I asked if there is an alternative way, you mentioned:
Build your own website with a server
Or use Payment Links
so in my case, I also cannot use payment links?
You can use payment links but it won't create a subscription that will cancel after 12 months. You would need to modify the subscripton after it is created to ensure it cancels properly
I dont need it to cancel after 12 months
My question is:
To achieve fixed monthly fee for a certain no. of months on Framer, which does not allow server side code.
Can I do that through payment links?
for a certain no. of months
This means you need a subscription that will cancel after 12 months
And no, that isn't possible with Framer from what I can see
soo when I asked "is there an alternative way I can achieve that?
Cos I want to be able to charge my client a certain fee for a fixed period of time, say 12 months"
And you reply:
Snufkin_stripe — Today at 1:11 AM:
Build your own website with a server
Or use Payment Links
Payment Links is not an alternative way, I cannot achieve that
Not exactly. I told you, you would need to manually update the Subscription the Payment LInk creates so that it would cancel after 12 months.
But then you could use a Price that charges $150 every month with a Payment Link
That would create a Subscription for every customer that completed the checkout process but it would not automatically stop after 12 months. That is the part you would need to do manually