From 118cf28d0fe5392e398e4bc8ede353e56e4ee06e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Ot=C3=B3n=20P=C3=A0mies?= Date: Sun, 12 May 2019 13:56:26 +0200 Subject: [PATCH] Fix typo in payment_method.detached event constant --- lib/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Event.php b/lib/Event.php index aebe5fdf2..a986c35df 100644 --- a/lib/Event.php +++ b/lib/Event.php @@ -107,7 +107,7 @@ class Event extends ApiResource const PAYMENT_INTENT_CREATED = 'payment_intent.created'; const PAYMENT_INTENT_PAYMENT_FAILED = 'payment_intent.payment_failed'; const PAYMENT_INTENT_SUCCEEDED = 'payment_intent.succeeded'; - const PAYMENT_METHOD_ATTACHED = 'payment_method.detached'; + const PAYMENT_METHOD_ATTACHED = 'payment_method.attached'; const PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED = 'payment_method.card_automatically_updated'; const PAYMENT_METHOD_DETACHED = 'payment_method.detached'; const PAYMENT_METHOD_UPDATED = 'payment_method.updated';