You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The \Stripe\Event::PAYMENT_INTENT_FAILED constant is equal to 'payment_intent.failed', but the actual webhook event type I'm getting is 'payment_intent.payment_failed' as described in the docs.
I did not find information about it being renamed in the changelogs.
Is the event type still subject to changes as PaymentIntent is in beta or is it just a mistake that the old name was added in this library's code instead of the new one?
The text was updated successfully, but these errors were encountered:
Hi @ofavre, thanks for reporting this. I'm fairly sure this is just a mistake and the name has always been payment_intent.payment_failed on the API's side. We'll fix this soon.
This is fixed in version 6.34.3. The \Stripe\Event::PAYMENT_INTENT_FAILED is gone and replaced with \Stripe\Event::PAYMENT_INTENT_PAYMENT_FAILED, which has the correct value.
The
\Stripe\Event::PAYMENT_INTENT_FAILED
constant is equal to'payment_intent.failed'
, but the actual webhook event type I'm getting is'payment_intent.payment_failed'
as described in the docs.I did not find information about it being renamed in the changelogs.
Is the event type still subject to changes as PaymentIntent is in beta or is it just a mistake that the old name was added in this library's code instead of the new one?
The text was updated successfully, but these errors were encountered: