#disha
1 messages · Page 1 of 1 (latest)
hi! it takes an hour for a recurring invoice yes. Why is that a problem?
if you like you can call endpoints like https://stripe.com/docs/api/invoices/pay#pay_invoice-off_session to charge the recurring invoice or confirm the Invoice's PaymentIntent to attempt payments
in our case its not a recurring invoice
its like taxi service. Once ride is completed, collect payment
cool then the way you'd do the payment is by creating/finalizing the invoice and then sending the invoice.payment_intent.client_secret to your frontend, and confirming it there in a UI with Elements, which pays the Invoice