From 0805a491ad881fc2d03b6a9e2959b08e9be1ee56 Mon Sep 17 00:00:00 2001
From: Olivier Bellone <ob@stripe.com>
Date: Tue, 30 Apr 2019 10:03:02 -0700
Subject: [PATCH] Fix constant for payment_intent.payment_failed

---
 lib/Event.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Event.php b/lib/Event.php
index 5e199c05d..90b55c751 100644
--- a/lib/Event.php
+++ b/lib/Event.php
@@ -100,7 +100,7 @@ class Event extends ApiResource
     const ORDER_RETURN_CREATED                     = 'order_return.created';
     const PAYMENT_INTENT_AMOUNT_CAPTURABLE_UPDATED = 'payment_intent.amount_capturable_updated';
     const PAYMENT_INTENT_CREATED                   = 'payment_intent.created';
-    const PAYMENT_INTENT_FAILED                    = 'payment_intent.failed';
+    const PAYMENT_INTENT_PAYMENT_FAILED            = 'payment_intent.payment_failed';
     const PAYMENT_INTENT_SUCCEEDED                 = 'payment_intent.succeeded';
     const PAYOUT_CANCELED                          = 'payout.canceled';
     const PAYOUT_CREATED                           = 'payout.created';