mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user