mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(connector): [Adyen] receive incoming webhooks for pix expiry (#8720)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -22,6 +22,7 @@ pub enum IncomingWebhookEvent {
|
||||
PaymentIntentAuthorizationFailure,
|
||||
PaymentIntentCaptureSuccess,
|
||||
PaymentIntentCaptureFailure,
|
||||
PaymentIntentExpired,
|
||||
PaymentActionRequired,
|
||||
EventNotSupported,
|
||||
SourceChargeable,
|
||||
@ -199,7 +200,8 @@ impl From<IncomingWebhookEvent> for WebhookFlow {
|
||||
| IncomingWebhookEvent::PaymentIntentAuthorizationSuccess
|
||||
| IncomingWebhookEvent::PaymentIntentAuthorizationFailure
|
||||
| IncomingWebhookEvent::PaymentIntentCaptureSuccess
|
||||
| IncomingWebhookEvent::PaymentIntentCaptureFailure => Self::Payment,
|
||||
| IncomingWebhookEvent::PaymentIntentCaptureFailure
|
||||
| IncomingWebhookEvent::PaymentIntentExpired => Self::Payment,
|
||||
IncomingWebhookEvent::EventNotSupported => Self::ReturnResponse,
|
||||
IncomingWebhookEvent::RefundSuccess | IncomingWebhookEvent::RefundFailure => {
|
||||
Self::Refund
|
||||
|
||||
Reference in New Issue
Block a user