feat(payment_request): add field amount to OrderDetails and make order_details a Vec in payments_create request (#964)

This commit is contained in:
rishavkar
2023-05-15 14:45:32 +05:30
committed by GitHub
parent d7cfb4a179
commit 60e8c7317a
15 changed files with 111 additions and 56 deletions

View File

@ -1429,6 +1429,7 @@ mod tests {
active_attempt_id: "nopes".to_string(),
business_country: storage_enums::CountryAlpha2::AG,
business_label: "no".to_string(),
meta_data: None,
};
let req_cs = Some("1".to_string());
let merchant_fulfillment_time = Some(900);
@ -1468,6 +1469,7 @@ mod tests {
active_attempt_id: "nopes".to_string(),
business_country: storage_enums::CountryAlpha2::AG,
business_label: "no".to_string(),
meta_data: None,
};
let req_cs = Some("1".to_string());
let merchant_fulfillment_time = Some(10);
@ -1507,6 +1509,7 @@ mod tests {
active_attempt_id: "nopes".to_string(),
business_country: storage_enums::CountryAlpha2::AG,
business_label: "no".to_string(),
meta_data: None,
};
let req_cs = Some("1".to_string());
let merchant_fulfillment_time = Some(10);