mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
refactor(core): propagate merchant_reference_id for PaymentsAuthorizeData (#9013)
This commit is contained in:
committed by
GitHub
parent
6d984d4859
commit
49cd1225ab
@ -406,7 +406,10 @@ pub async fn construct_payment_router_data_for_authorize<'a>(
|
||||
authentication_data: None,
|
||||
customer_acceptance: None,
|
||||
split_payments: None,
|
||||
merchant_order_reference_id: None,
|
||||
merchant_order_reference_id: payment_data
|
||||
.payment_intent
|
||||
.merchant_reference_id
|
||||
.map(|reference_id| reference_id.get_string_repr().to_owned()),
|
||||
integrity_object: None,
|
||||
shipping_cost: payment_data.payment_intent.amount_details.shipping_cost,
|
||||
additional_payment_method_data: None,
|
||||
|
||||
Reference in New Issue
Block a user