feat(core): Add Merchant Tax ID in Merchant Profile (#8992)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
awasthi21
2025-09-01 16:08:45 +05:30
committed by GitHub
parent aae1994ea1
commit ff14b7cac8
7 changed files with 59 additions and 6 deletions

View File

@ -1548,6 +1548,9 @@ where
let l2_l3_data = state.conf.l2_l3_data_config.enabled.then(|| {
let shipping_address = unified_address.get_shipping();
let billing_address = unified_address.get_payment_billing();
let merchant_tax_registration_id = merchant_context
.get_merchant_account()
.get_merchant_tax_registration_id();
types::L2L3Data {
order_date: payment_data.payment_intent.order_date,
@ -1590,6 +1593,7 @@ where
.as_ref()
.and_then(|addr| addr.address.as_ref())
.and_then(|details| details.city.clone()),
merchant_tax_registration_id,
}
});
crate::logger::debug!("unified address details {:?}", unified_address);