Skip to content

Commit

Permalink
chore: update code after merging w main
Browse files Browse the repository at this point in the history
  • Loading branch information
kashif-m committed Jan 13, 2025
1 parent 4be47a5 commit f8517e4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ impl TryFrom<&NovalnetRouterData<&PaymentsAuthorizeRouterData>> for NovalnetPaym
let transaction = NovalnetPaymentsRequestTransaction {
test_mode,
payment_type: NovalNetPaymentTypes::CREDITCARD,
amount: item.amount.clone(),
amount: NovalNetAmount::StringMinor(item.amount.clone()),
currency: item.router_data.request.currency,
order_no: item.router_data.connector_request_reference_id.clone(),
hook_url: Some(hook_url),
Expand Down Expand Up @@ -1518,6 +1518,7 @@ impl TryFrom<&SetupMandateRouterData> for NovalnetPaymentsRequest {
payment_data: Some(novalnet_card),
enforce_3d,
create_token,
scheme_tid: None,
};

Ok(Self {
Expand Down Expand Up @@ -1547,6 +1548,7 @@ impl TryFrom<&SetupMandateRouterData> for NovalnetPaymentsRequest {
payment_data: Some(novalnet_google_pay),
enforce_3d,
create_token,
scheme_tid: None,
};

Ok(Self {
Expand All @@ -1571,6 +1573,7 @@ impl TryFrom<&SetupMandateRouterData> for NovalnetPaymentsRequest {
})),
enforce_3d: None,
create_token,
scheme_tid: None,
};

Ok(Self {
Expand Down Expand Up @@ -1611,7 +1614,9 @@ impl TryFrom<&SetupMandateRouterData> for NovalnetPaymentsRequest {
payment_data: None,
enforce_3d: None,
create_token,
scheme_tid: None,
};

Ok(Self {
merchant,
transaction,
Expand Down

0 comments on commit f8517e4

Please sign in to comment.