Skip to content

Commit

Permalink
refactor(connector): [PowerTranz] refactor powertranz payments to rem…
Browse files Browse the repository at this point in the history
…ove default cases

fixes #2283
  • Loading branch information
Himanshu-370 committed Oct 20, 2023
1 parent c1e54a7 commit 4700955
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/router/src/connector/powertranz/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for PowertranzPaymentsRequest
})
.into_report(),
}?;
// billing and shipping are optional fields and requires state in iso codes, hence commenting it
// let billing_address = get_address_details(&item.address.billing, &item.request.email);
// let shipping_address = get_address_details(&item.address.shipping, &item.request.email);
let (three_d_secure, extended_data) = match item.auth_type {
Expand Down

0 comments on commit 4700955

Please sign in to comment.