mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
fix(mandates): handle the connector_mandate creation once and only if the payment is charged (#6327)
This commit is contained in:
@ -339,6 +339,7 @@ pub async fn generate_sample_data(
|
||||
shipping_cost: None,
|
||||
order_tax_amount: None,
|
||||
connector_transaction_data,
|
||||
connector_mandate_detail: None,
|
||||
};
|
||||
|
||||
let refund = if refunds_count < number_of_refunds && !is_failed_payment {
|
||||
|
||||
Reference in New Issue
Block a user