Skip to content

Commit

Permalink
add bank transfers in response
Browse files Browse the repository at this point in the history
  • Loading branch information
Aprabhat19 committed Jan 17, 2024
1 parent 4041cd2 commit 10de26b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/router/src/core/payments/tokenization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ async fn skip_saving_card_in_locker(
payment_experience: Some(vec![api_models::enums::PaymentExperience::RedirectToUrl]),
metadata: None,
created: Some(common_utils::date_time::now()),
bank_transfer: None,
};

Ok((pm_resp, false))
Expand All @@ -248,6 +249,7 @@ async fn skip_saving_card_in_locker(
recurring_enabled: false,
installment_payment_enabled: false,
payment_experience: Some(vec![api_models::enums::PaymentExperience::RedirectToUrl]),
bank_transfer: None,
};
Ok((payment_method_response, false))
}
Expand Down

0 comments on commit 10de26b

Please # to comment.