From f9fe2fb0b6efe39faf4e82ab93dc5205df7cbf0a Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Wed, 2 Oct 2019 12:58:22 -0700 Subject: [PATCH] Add `payment_intent.canceled` and `setup_intent.canceled` events --- lib/Event.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Event.php b/lib/Event.php index 4b98bcec8..67e13dc07 100644 --- a/lib/Event.php +++ b/lib/Event.php @@ -103,6 +103,7 @@ class Event extends ApiResource const ORDER_UPDATED = 'order.updated'; const ORDER_RETURN_CREATED = 'order_return.created'; const PAYMENT_INTENT_AMOUNT_CAPTURABLE_UPDATED = 'payment_intent.amount_capturable_updated'; + const PAYMENT_INTENT_CANCELED = 'payment_intent.canceled'; const PAYMENT_INTENT_CREATED = 'payment_intent.created'; const PAYMENT_INTENT_PAYMENT_FAILED = 'payment_intent.payment_failed'; const PAYMENT_INTENT_SUCCEEDED = 'payment_intent.succeeded'; @@ -133,6 +134,7 @@ class Event extends ApiResource const REPORTING_REPORT_TYPE_UPDATED = 'reporting.report_type.updated'; const REVIEW_CLOSED = 'review.closed'; const REVIEW_OPENED = 'review.opened'; + const SETUP_INTENT_CANCELED = 'setup_intent.canceled'; const SETUP_INTENT_CREATED = 'setup_intent.created'; const SETUP_INTENT_SETUP_FAILED = 'setup_intent.setup_failed'; const SETUP_INTENT_SUCCEEDED = 'setup_intent.succeeded';