#cdubs44
1 messages · Page 1 of 1 (latest)
Hi there, how can I help?
@quaint plaza just updated my question!
Really I am just trying to get the price the user paid, or is going to pay for the subscription, but I believe since the price is a volume price, it's coming up as null
Can you share with me the subscription ID or invoice ID?
It's in TEST now and the sub ID is sub_1NSXa3AKsT0b57E7ZHLuyYtv
maybe thinking I'll have to go through the invoice ID?
https://dashboard.stripe.com/test/events/evt_1NSXa5AKsT0b57E7wIR6yaYp ok so this is the invoice that has been paid successfully. And you can find the unit amount of the prices in the event object.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Can you share with me the ID of request that you created to retrieve the pricing?
well can I just do this?
var service = new SubscriptionService();
var options = new SubscriptionGetOptions();
options.AddExpand("items.data.price.product");
options.AddExpand("latest_invoice");
return Ok(service.Get("sub_1NSXa3AKsT0b57E7ZHLuyYtv")); ```
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
All good. I found in by expanding invoice
@quaint plaza I do however have another question
Sure how can I help.
So I have this product with this pricing. It's volume based. Price ID: price_1NSJZhAKsT0b57E7acRGzatH
Under the same customer I bought the subscription (it's a monthly subscription) 3 times. But each one was seperated. So 3 seperate times
however its still charging me the 29.99 price
Like here you can see I have that subscription, 3 different times
yet its still charging me the 29.99
since I have 3, shouldn't all 3 be changed to the 18.22 price?
What's the subscription ID?
there are 3 subscription ids since all 3 were placed separately
but under the same customer
So you create 3 subscription, each has one price_1NSJZhAKsT0b57E7acRGzatH
or 1 subscription with 3x price_1NSJZhAKsT0b57E7acRGzatH ?
3 subscription, each has one price_1NSJZhAKsT0b57E7acRGzatH
OK. you should create 1 subscription with 3 x price_1NSJZhAKsT0b57E7acRGzatH instead.
yeah, sadly my application can't work that way
however it's under one customer tho?
it should still work if it's all under one customer
No it doesn't work this way
last stripe guy told me it would
No it must be a misunderstanding. This is not how Stripe subscription works.
well is there a way I can do that?
Where if there are X amount of active subscriptions, it changes the price for all the active subscriptions
Can you be more specific on what you want to achieve?
Say 1-25 subscriptions are $20 each, but when the 26th becomes active, all 26 subscriptions drop down to $18 each
but if the number of active subscriptions goes back down to 25 or less, they all go back up to $20 each
I'm afraid this is not something Stripe can support out-of-the-box. You need to write code to monitor the number of active subscriptions that a customer has, and upgrade / downgrade the subscription to the appropriate price accordingly.