#Gonçalo Ferreira-invoices

1 messages · Page 1 of 1 (latest)

grizzled quest
#

👋 happy to help

#

I'm trying to wrap my head around this

#

could you please describe the business behind what you're trying to do?

#

maybe there's another way of doing it

night nymph
#

Sure, thanks!

#

So, it's pretty much a booking app. When you perform a booking in a hotel you need to add the nº of Adults and Children, plus you can also add extras (like champaign bottle). We create InvoiceItems for those (Adults, Children, Extras, etc..) and add them to an Invoice. when the payment is done we do a Payout each month to the Hotel (Connected Account) that's why we need the Invoices, so the Hotel can see in detail what's selling. This is how we are working right now.

Now, we want to implement a new payment flow with by placing a hold on the payment method in order to not lose the Stripe refund fee in case of cancelation.

#

The flow looks really simple and straight forward, the only problem we have is that we need the Invoices

grizzled quest
#

I'm just thinking of a solution here

#

in order to not lose the Stripe refund fee in case of cancelation.
could you please explain this?

night nymph
#

So when a refund is made, Stripe charges a fee for it. That's the reason we're trying to implement the hold. So, when a user cancels the booking and asks for a refund we can avoid the Stripe refund fee

sturdy leaf
#

yep makes sense

#

just impossible unfortunately, we don't support auth-and-capture in the Invoice/Subscription APIs

#

the only workaround I'd have is you would process the payment directly by using a PaymentIntent and then produce your own itemised invoices with line items in your own system and share those to the recipients. Which I know is not great and is a lot of work, but it's the trade off

night nymph
#

Yes, that was the workaround we were planning if we couldn't get a solution directly from the Api. Thanks a lot guys!

#

Btw, do you know if you have a plan of developing a feature like that in the future?

sturdy leaf
#

nothing directly planned, it's been this way from the time Invoices were launched and it would be a large workstream to support it and hasn't been prioritised

night nymph
#

Makes sense. Thanks a lot for the support, great work!