#braden - quotes and payment behavior

1 messages · Page 1 of 1 (latest)

fiery remnant
#

I'm not sure! Let me try to find out

silent saddle
#

Thank you!

fiery remnant
#

Can you explain the use case for this while I keep looking?

#

What's the expected scenario/flow you'd be looking for here?

silent saddle
#

Currently we create a subscription and everything works great. We can specify custom options on the subscription https://stripe.com/docs/api/subscriptions/create#create_subscription-payment_behavior. specifically payment_behavior

We are wanting to create a quote instead of directly creating the subscription. Then accept that quote. This is so we can display to the user the taxes they will be charged.

when creating a quote you cannot specify all the custom options you can when you directly create a subscription. Specifically payment_behavior. I was hoping there is a way to specify these options when creating a quote that I am just overlooking

fiery remnant
#

Ok and when would you expect error_if_incomplete to apply? What would you want to happen with the subscription & quote?

#

Quotes are more meant to be used where you have an existing relationship with some party you expect will pay, and you wouldn't want to error ever in this case

#

If you are using it just to preview taxes, have you explored the Upcoming Invoice API? You can use this to preview the first invoice of a new subscription without creating one.

silent saddle
#

The invoice API sounds like what I am looking for. Thank you!