#dnegi1811-invoice

1 messages · Page 1 of 1 (latest)

polar vector
#

Hi! Note I don't know anything about refersion.
So you want to trigger the invoice.payment_succeeded event?
In general it will be triggered every time an invoice is paid on your Stripe account.

#

So you could either actually pay one of your invoice, or you could use the Stripe CLI to trigger the event directly with stripe trigger invoice.payment_succeeded
https://stripe.com/docs/cli/trigger

wind harness
#

irrespective of using paymentIntent, right?

polar vector
#

How can I made the invoice.pyament_succeeded event using PaymentIntent API ?
Note that you need an invoice to get that event. If you just use PaymentIntent, you will get a payment_intent.succeeded

wind harness
#

then I need to trigger invoice

polar vector
#

Then like I said: you can either create and pay an invoice, or use the Stripe CLI.