Created
November 8, 2022 11:02
-
-
Save exocode/8ede07b2c840e124d34693b70f2c2376 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recurring Payments | |
- invoice.paid | |
- invoice.payment_failed | |
- customer.subscription.updated (subscription changes) | |
- invoice.payment_action_required (3DS) | |
One-Time Payments | |
- checkout.session.completed | |
# if you’re using the Payment Intent API, listen to | |
- payment_intent.succeeded | |
- payment_intent.payment_failed | |
- payment_intent.requires_action | |
# Keep in mind if you’re listening to both payment_intent.* and invoice.* events, the Payment Intent events might also fire for recurring payments. If the invoice field is not null in the Payment Intent received in that event then ignore this event since it will be handled in the invoice.* events instead. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment