Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(connector): [Multisafepay] Fix bug in Paypal payment decline and cancel (#1647)

AkshayaFoigera77ab42f4fde
diff --git a/crates/router/src/connector/multisafepay/transformers.rs b/crates/router/src/connector/multisafepay/transformers.rs
index 44598d0024..c8b91a4bef 100644
--- a/crates/router/src/connector/multisafepay/transformers.rs
+++ b/crates/router/src/connector/multisafepay/transformers.rs
@@ -439,6 +439,7 @@ pub enum MultisafepayPaymentStatus {
Declined,
#[default]
Initialized,
+ Void,
}
impl From<MultisafepayPaymentStatus> for enums::AttemptStatus {
@@ -447,6 +448,7 @@ impl From<MultisafepayPaymentStatus> for enums::AttemptStatus {
MultisafepayPaymentStatus::Completed => Self::Charged,
MultisafepayPaymentStatus::Declined => Self::Failure,
MultisafepayPaymentStatus::Initialized => Self::AuthenticationPending,
+ MultisafepayPaymentStatus::Void => Self::Voided,
}
}
}