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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(payout): query for getting a list of active payout IDs (#5771)
Kashif1c39cc1262e6
diff --git a/crates/storage_impl/src/payouts/payouts.rs b/crates/storage_impl/src/payouts/payouts.rsindex 320aee2006..3a5cc2854e 100644--- a/crates/storage_impl/src/payouts/payouts.rs+++ b/crates/storage_impl/src/payouts/payouts.rs@@ -584,6 +584,7 @@ impl<T: DatabaseStore> PayoutsInterface for crate::RouterStore<T> {diesel_models::schema::customers::table.on(cust_dsl::customer_id.nullable().eq(po_dsl::customer_id)),)+ .filter(cust_dsl::merchant_id.eq(merchant_id.to_owned())).filter(po_dsl::merchant_id.eq(merchant_id.to_owned())).order(po_dsl::created_at.desc()).into_boxed();@@ -785,6 +786,7 @@ impl<T: DatabaseStore> PayoutsInterface for crate::RouterStore<T> {.on(cust_dsl::customer_id.nullable().eq(po_dsl::customer_id)),).select(po_dsl::payout_id)+ .filter(cust_dsl::merchant_id.eq(merchant_id.to_owned())).filter(po_dsl::merchant_id.eq(merchant_id.to_owned())).order(po_dsl::created_at.desc()).into_boxed();