fix(connector): [Stripe] Fix bug in Stripe Bacs Bank Debit (#1537)

This commit is contained in:
AkshayaFoiger
2023-06-28 17:00:14 +05:30
committed by GitHub
parent 5305a7b2f8
commit dfadcd52e5

View File

@ -942,7 +942,7 @@ fn get_bank_debit_data(
} => {
let bacs_data = BankDebitData::Bacs {
account_number: account_number.to_owned(),
sort_code: sort_code.to_owned(),
sort_code: Secret::new(sort_code.clone().expose().replace('-', "")),
};
let billing_data = StripeBillingAddress::from(billing_details);