#vladimir_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1285141476011016214
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, we can only help questions directly related to Stripe APIs and products.
hey Jack! ๐ thanks man ๐
let me ask you this, and if possible i ll try to convice client to switch over to stripe
huh very hard to explain, i ll try my best
I will try to explain it in most accurate way. We building subscription. I need help to understand how can I do it, not really just technical wise- i know to use API and i know how to code lol - problem is what to use, and how to create that logic.
This is not just typical subscription, where I select one or another plan, and then subscribe to it, downgrade or upgrade, cancel, etc....
Obviously I cant just use regular subscription, because there are some kind of add-ons
We have different packages. Therefore, price of package vary. Basic packages are FREE, SAVVY, PRIME, ELITE
So, here, each of those plans, have some similar benefits to user. Everything is about posting agricultural ads.
So, for example, user on FREE plan, can upload 1 ad for free, in one country. user on SAVVY plan, may have some more benefits, like team posting on Facebook ads, some google adding, and 5 ads per month. etc.. You know it.
SO, client wants each of subscription plans to be able to extend with additional countries that we will post ad to.
How to handle it? How to create this product? This is not just go make product of subscruption and when will be charged.. ๐
What I think is that I dont have enough knowledge on how I can achieve that, not knowledge in coding, but lack of experience with custom subscriptions.
Something like that ๐
Can i achieve this with stripe, and how?
OK, so basically you want to provide add-on for these plans, am I right?
yes,
and later on, user should be able to downgrade add-ons
for example, i subscribe to SAVVY plan, and then i want to add more contries to be posted on my ads
so i add 6 more countries, and then my subscription will be higher
Ok, yes I think Stripe suppots it.
but after 3 months, i realize, that some of countries are not really ok, so i want to remove 4 countries, and my subscription should change to lover amount
lower, not lover ๐ ๐ ๐
So basically in additions to the base prices for FREE, SAVVY, PRIME, ELITE, create multiples add-on prices to model various offering. If your customer choose to subscribe, let's ay SAVVY with add-on, you can just create a subscription with savvy price + addon price, (Stripe supports up to 20 subscription items https://docs.stripe.com/api/subscriptions/create#create_subscription-items)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade you can upgrade, downgrade anytime you want, and leave the complicated proration logic to Stripe.
thank you jack, you are helpful and nice as always
i will give it reading now to see if i can make it, and will create a poc for client to show it
Happy to help!
so those addons are actually subscribe items?
Yes, in fact the FREE, SAVVY, etc are also subscription items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
https://docs.stripe.com/products-prices/pricing-models I'd recommend this doc to understand more about pricing models
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=stripe-hosted and the easist way to build a subscription integration is through Stripe checkout
why not?
hello karllekko - my name is vladimir, thank you for jumping in to help
i am having really hard time to wrap this around my mind. really do
So, i am not sure how to wotk with additional add ons - as on the photo there, i have a plan, and this plan i want to allow user to add additional countries on it, but each country will be charged more, and subscription price will grow up, depending how many of countries he wants to add
setting quantity on the SubscriptionItem seems like what you want then
So i will create subscription onject, with sibscriptio id-123, and will add subscription items with a price per item (in my case those additional countries) and quantity, and this wil increase subscrition per month, and when user wants to remove it, i will update same subscription id, with new quantity?
sounds right