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(connector): [iatapay] change refund amount (#3244)
Sahkal Poddare79604bd4681
diff --git a/crates/router/src/connector/iatapay.rs b/crates/router/src/connector/iatapay.rsindex fcfdd44e63..0c156ef08b 100644--- a/crates/router/src/connector/iatapay.rs+++ b/crates/router/src/connector/iatapay.rs@@ -479,7 +479,7 @@ impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponlet connector_router_data = iatapay::IatapayRouterData::try_from((&self.get_currency_unit(),req.request.currency,- req.request.payment_amount,+ req.request.refund_amount,req,))?;let connector_req = iatapay::IatapayRefundRequest::try_from(&connector_router_data)?;