#sarfaraj_82227
1 messages · Page 1 of 1 (latest)
What's the subscription ID?
well i am using priceid and associate the monthly subscription to user and then user can invite other user on subscription basis
It'll be easier for me to look into it if you can share with me the subscription ID
sub_1O2v2mAfnOOZ7rIoGPBMlHMU this is the subsciption id , but my main issue is i could not calculate the total amout of associate users
https://dashboard.stripe.com/test/logs/req_UPxKraKzDFfbch the quality that you specified is 1, and that's why the invoice is $5.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
so how can i make it dynamic because associated users could have different plan like i have two plans 7$ and 9$, monthly and yearly so what could it be
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-adjustable_quantity use this param if you want the quantity to be adjustable
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
that i have already seen but the problem i am facing is how could i find which associate user have which plan and how to calculate according to that ?
like monthly or yearly
Hmm, I have challenge understand you, can you walk me through a example and help me understand better?
okay, i have a system let say i have two projects, in both project user1 is admin, and user1 subscribe with 9$ plan and invites user2 and user3 in project one on monthly basis with 9$ subscription so the next billing for project one should be 27$ and in project two user1 invites user3 and user4 but this time user1 didn't upgrade his plan so the default plan will be 7$ and user 3 is on monthly subscription of 7$ and user4 is on yearly subscription which is 84$ so here is the challenge in project two is that next billing in next month should be 14$
I'm sorry I still don't understand you
which part ?
The whole thing, I still don't understand what you want to achieve with subscription.
my app have subscription feature where admin can choose a plan and invites other users into his project on subscription basis, whole system is like slake like how we can add users in slake on subsciption basis
I still have trouble understanding why you want to add multiple customers to a subscription. For context, you can only specify one customer per subscription.
bc, my app is like slake where in slake we can add users into our channel and we have to pay for them as long as they are added to the channel
Then it's not something that Stripe supports
so how should i do it then ?
You might want to explore other options. As I said, Stripe doesn't support your particular use case .