#trickshot1299
1 messages · Page 1 of 1 (latest)
No, you can't set a tax_rates to a PaymentIntent or SetupIntent
So do I need to use Checkout Sessions for that?
Also can I set tax_rates to subscriptions or invoices without Checkout session?
Yes you can use tax rate with checkout sessions https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items-data-taxes-rate
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I'm not sure what you mean by Guest Checkout?
Sorry I mean Checkout session
So I want to set the tax rate without checkout sessions?
You can use Invoicing then.
Okay so using invoices api for one-time payments, can I use it only for reporting purposes to send an invoice to the customer after they have paid? I want to still take payments through SetupIntents and PaymentIntents without using Checkout Sessions. Using invoices api to send an invoice to the customer after they have paid.
I don't want to the customer to pay again after I generate the invoice and send it to their email
Checkout Session supports invoice creation ((https://stripe.com/docs/api/checkout/sessions/create?lang=node#create_checkout_session-invoice_creation) Can you tell me why you don't want to use Checkout Session? Because you can achieve everything with Checkout Session
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Because we already create sessions internally in our database, we didn't know about Checkout Sessions before we implemented it.
Now you know Checkout Session,do you want to give a try and see if it can solve your problem?
Yeah I think I might have to give it a try if that's the only way. Does that mean I have to throw away our internal implementation for Checkout sessions or can I still generate post-purchase invoices with checkout session api without changing my payment flow implementation?
I don't mean it's the only way, You can still use Invoicing API to create a post-payment invoice. It's just require more developments at your end,