#braden - quotes and payment behavior
1 messages · Page 1 of 1 (latest)
Thank you!
Can you explain the use case for this while I keep looking?
What's the expected scenario/flow you'd be looking for here?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The invoice API sounds like what I am looking for. Thank you!