refactor(core): make attempt id as mandatory in router_data (#604)

This commit is contained in:
Narayan Bhat
2023-02-19 19:31:47 +05:30
committed by GitHub
parent 66563595df
commit 626e467e54
10 changed files with 12 additions and 23 deletions

View File

@ -53,7 +53,7 @@ pub async fn construct_refund_router_data<'a, F>(
merchant_id: merchant_account.merchant_id.clone(),
connector: merchant_connector_account.connector_name,
payment_id: payment_attempt.payment_id.clone(),
attempt_id: Some(payment_attempt.attempt_id.clone()),
attempt_id: payment_attempt.attempt_id.clone(),
status,
payment_method: payment_method_type,
connector_auth_type: auth_type,