#creach.official

1 messages ยท Page 1 of 1 (latest)

dense quartzBOT
marsh nymph
#

Hello ๐Ÿ‘‹
This isn't something I've tried myself.

Can you share example requests of what you've tried so far?

lavish blade
#

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

marsh nymph
lavish blade
#

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

marsh nymph
#

All good ๐Ÿ™‚

lavish blade
#

Let me dig up the id

#

Ok here's the equivalent ID:

#

req_NnDaAwipzhACzz

marsh nymph
#

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..

lavish blade
#

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

marsh nymph
#

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

dense quartzBOT
lavish blade
#

Oh interesting โ€“ "gated" in this context meaning we have beta features enabled that require more specialized folks to help?

marsh nymph
#

Correct

lavish blade
#

Ok excellent, will go that route. Thanks for the direction here!