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): [AIRWALLEX] OrderCreation for all flows (#10768)

Yashasvi Kapilb931addf2764
diff --git a/crates/common_enums/src/connector_enums.rs b/crates/common_enums/src/connector_enums.rs
index 6218c8001d..607c341104 100644
--- a/crates/common_enums/src/connector_enums.rs
+++ b/crates/common_enums/src/connector_enums.rs
@@ -262,7 +262,7 @@ impl Connector {
pub fn requires_order_creation_before_payment(self, payment_method: PaymentMethod) -> bool {
matches!(
(self, payment_method),
- (Self::Razorpay, PaymentMethod::Upi) | (Self::Airwallex, PaymentMethod::Card)
+ (Self::Razorpay, PaymentMethod::Upi) | (Self::Airwallex, _) //ordercreation required for all flows in airwallex
)
}
pub fn supports_file_storage_module(self) -> bool {