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: Update method call to use router_store for merchant connector account updates (#10062)

Ayush Ananda81af9d6bcc0
diff --git a/crates/storage_impl/src/merchant_connector_account.rs b/crates/storage_impl/src/merchant_connector_account.rs
index c8f09748da..20525b28ed 100644
--- a/crates/storage_impl/src/merchant_connector_account.rs
+++ b/crates/storage_impl/src/merchant_connector_account.rs
@@ -205,7 +205,8 @@ impl<T: DatabaseStore> MerchantConnectorAccountInterface for kv_router_store::KV
merchant_connector_account: storage::MerchantConnectorAccountUpdateInternal,
key_store: &MerchantKeyStore,
) -> CustomResult<domain::MerchantConnectorAccount, Self::Error> {
- self.update_merchant_connector_account(state, this, merchant_connector_account, key_store)
+ self.router_store
+ .update_merchant_connector_account(state, this, merchant_connector_account, key_store)
.await
}