#bokehdan-invoice-payment
1 messages · Page 1 of 1 (latest)
(just to clarify we are using the Stripe APIs on our website)
Sure, this is possible. Each non-zero amount Invoice has a PaymentIntent. You can use that PaymentIntent with the PaymentElement to render a payment form
ok thanks! is the PaymentIntent different to what the customer would use to add their card on file? We expect the first time we send out an invoice a customer wouldn't have given us their card details
Not sure I follow. A PaymentIntent is just that: it keeps track of a customer's "intent" to pay for a specific amount
an "open" invoice should have a PaymentIntent with a status that is not 'succeeded' since a payment has not been processed