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:
Swangi Kumari
2024-09-12 22:48:12 +05:30
committed by GitHub
parent 608676c8e2
commit 840609af61
49 changed files with 681 additions and 204 deletions

View File

@ -330,6 +330,8 @@ pub async fn generate_sample_data(
customer_acceptance: None,
profile_id: profile_id.clone(),
organization_id: org_id.clone(),
shipping_cost: None,
order_tax_amount: None,
};
let refund = if refunds_count < number_of_refunds && !is_failed_payment {