Skip to content

Commit

Permalink
fix(connector): [iatapay] change refund amount (#3244)
Browse files Browse the repository at this point in the history
Co-authored-by: Samraat Bansal <[email protected]>
  • Loading branch information
sahkal and SamraatBansal authored Jan 4, 2024
1 parent 72968dc commit e79604b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/connector/iatapay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsRespon
let 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)?;
Expand Down

0 comments on commit e79604b

Please sign in to comment.