#creach.official
1 messages ยท Page 1 of 1 (latest)
Hello ๐
This isn't something I've tried myself.
Can you share example requests of what you've tried so far?
Sure! Let me try to log a request to paste in
Ok so I'm sending just those two fields along in the body to /quotes:
*Edited out snippet in lieu of req_id below
And I get back:
*Edited out snippet in lieu of req_id below
Which is great in that it picks up my from_subscription ID and preference to always_invoice for proration behavior
Can you share the actual request IDs for the request?
req_xxx
https://support.stripe.com/questions/finding-the-id-for-an-api-request
My understanding from there is that I need to send an update now to that quote right?
Oh even better haha sorry, first time in this discord
All good ๐
Thanks, okay so looking at the request
You're passing an existing subscription ID and the proration beahviour for the sub but there's nothing in the request that specifies what is the proration being calculated for... Like there's no update happening to the subscription
If that makes sense..
Makes total sense! Yes I'm impressed you're already in sync
So this is my first step is creating the quote
And my second step is to send an /update with the changes to the subscription
Should I instead just pass along the changes in the create step?
I feel like I tried that (creating a new quote based on a subscription AND passing subscription changes in via line_items) but I think I did that before I was passing the proration_behavior: "always_invoice" option too
Ah you're gated for using quotes with sub, I didn't see from_subscription parameter in our public APIs so was wondering where it came from.
And my second step is to send an /update with the changes to the subscription
Should I instead just pass along the changes in the create step?
I'd say try both ๐
Our team on discord won't know much about beta/gated features unfortunately.. You'd likely get more accurate answers if you write in via support
https://support.stripe.com/?contact=true
That way you'd be talking to the right team for this
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.
Oh interesting โ "gated" in this context meaning we have beta features enabled that require more specialized folks to help?
Correct
Ok excellent, will go that route. Thanks for the direction here!