mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
refactor(core): Update shipping_cost and order_tax_amount to net_amount of payment_attempt (#5844)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -161,6 +161,8 @@ impl PaymentAttemptInterface for MockDb {
|
||||
customer_acceptance: payment_attempt.customer_acceptance,
|
||||
organization_id: payment_attempt.organization_id,
|
||||
profile_id: payment_attempt.profile_id,
|
||||
shipping_cost: payment_attempt.shipping_cost,
|
||||
order_tax_amount: payment_attempt.order_tax_amount,
|
||||
};
|
||||
payment_attempts.push(payment_attempt.clone());
|
||||
Ok(payment_attempt)
|
||||
|
||||
Reference in New Issue
Block a user