#yassiney-invoice-paymentintent

1 messages · Page 1 of 1 (latest)

boreal junco
#

Hey @iron seal as that as I know yes we do

#

I really don't get why you use Invoicing though based on what you said

iron seal
#

how can we process a payment of multiple items (toy1:5$, toy2:10$, and subscription:10$/mo)?

#

invoices was the only solution we found really

boreal junco
#

Well Invoices never support that either

#

Are you doing real subscriptions and using our Billing product and our Subscriptions API?

iron seal
#

subscriptions API

#
  1. we add invoice items (of one time charges) using stripe.InvoiceItemParams.
  2. if there is a subscription, we call stripe.Subscriptions.New() to create it, which also auto-adds all previously create invoice items to the invoice and finalizes it.
  3. if there is no subscription we just call stripe.Invoices.New() to create one and finalize it manually.
#

we have been doing this for years without problems but recently Stripe decided to start charging our connect users for that!

#

(of course, will love to have a different solution, because the above takes 20s+ to process a single payment due to the multiple API calls to Stripe.)

boreal junco
#

gotcha

#

for the rest, why don't you just do a PaymentIntent for the sum in that case?

iron seal
#

interesting

#

is that a new option for subscriptions?

#

and does that go through invoices API?

boreal junco
#

Subscriptions creates Invoices, so yes no change there. And it's new-ish it shipped last year

iron seal
#

ah makes sense,

#

but that means our connect users will be charged the invoicing fees on top of payment fees?

boreal junco
#

Invoicing and Billing are separate products. If you use Billing you pay the Billing fee. The Invoices created by Subscriptions are not affected by Invoicing's pricing.

#

If you explicitly go and create your own invoice (what your example #3 does above) then yes you pay the Invoicing fee

iron seal
#

i see

#

thank you very much for the clarification

#

we will make sure to adjust our API accordingly

#

have a wonderful weekend 🙌