#jarrett - Invoices + Automatic Payment Methods

1 messages ยท Page 1 of 1 (latest)

azure pond
#

Hello! Are you asking about one-off Invoices or Subscription Invoices?

rare plaza
#

one off

azure pond
rare plaza
#

so it isn't necessary is what you're saying essentially

azure pond
#

Well, I guess it depends. Can you explain more about your use case? What's your goal?

#

Like are you using send_invoice to send Invoices to customers to pay, or are you doing something else?

rare plaza
#

we have a checkout process. as part of the process we make an invoice and then we currently use setup intents.

#

instead we'll have to finalize the invoice before the user has added payment information it seems. we previously would finalize the invoice after payment information was added since it's on the "summary" step. we only have two steps to the process.

dense sky
#

๐Ÿ‘‹ I'm hopping in since @azure pond had to head out

#

Is there a specific reason you're creating a Setup Intent AND an Invoice in the same payment flow? You should be able to just use the PaymentIntent that's automatically created when the Invoice is finalized to collect and complete payment

rare plaza
#

@dense sky we could do that but it requires we finalize an invoice without knowing if the user will pay

#

we probably would switch to that though. it just sucks to finalize invoices at the summary stage before they finnish checkout

vague falcon
#

HI ๐Ÿ‘‹ @dense sky had to step away.

#

I think that is because how Stripe thinks of invoices is different from how other people often do

#

For us, the Invoice is the record of goods/services for which payment is to be attempted.

#

Plenty of people think of invoices as a reconciliation step after the payment. So from our perspective it makes sense to create/finalize an invoice even if you do not ultimately get payment.

rare plaza
#

yeah, i get both ways. it just would be more ideal if you could get the payment intent before it was finalized.