mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
feat(router): add an endpoint for extending authorization (#9813)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -20,6 +20,8 @@ pub enum IncomingWebhookEvent {
|
||||
PaymentIntentCancelFailure,
|
||||
PaymentIntentAuthorizationSuccess,
|
||||
PaymentIntentAuthorizationFailure,
|
||||
PaymentIntentExtendAuthorizationSuccess,
|
||||
PaymentIntentExtendAuthorizationFailure,
|
||||
PaymentIntentCaptureSuccess,
|
||||
PaymentIntentCaptureFailure,
|
||||
PaymentIntentExpired,
|
||||
@ -265,7 +267,9 @@ impl From<IncomingWebhookEvent> for WebhookFlow {
|
||||
| IncomingWebhookEvent::PaymentIntentAuthorizationFailure
|
||||
| IncomingWebhookEvent::PaymentIntentCaptureSuccess
|
||||
| IncomingWebhookEvent::PaymentIntentCaptureFailure
|
||||
| IncomingWebhookEvent::PaymentIntentExpired => Self::Payment,
|
||||
| IncomingWebhookEvent::PaymentIntentExpired
|
||||
| IncomingWebhookEvent::PaymentIntentExtendAuthorizationSuccess
|
||||
| IncomingWebhookEvent::PaymentIntentExtendAuthorizationFailure => Self::Payment,
|
||||
IncomingWebhookEvent::EventNotSupported => Self::ReturnResponse,
|
||||
IncomingWebhookEvent::RefundSuccess | IncomingWebhookEvent::RefundFailure => {
|
||||
Self::Refund
|
||||
|
||||
Reference in New Issue
Block a user