refactor(payments): error message of manual retry (#1617)

This commit is contained in:
Abhishek Marrivagu
2023-07-06 11:57:21 +05:30
committed by GitHub
parent 21f5e20929
commit fad4895f75

View File

@ -2202,7 +2202,7 @@ pub fn get_attempt_type(
} else {
Err(report!(errors::ApiErrorResponse::PreconditionFailed {
message:
format!("You cannot {action} this payment because it has status {}, you can pass manual_retry as true in request to try this payment again", payment_intent.status)
format!("You cannot {action} this payment because it has status {}, you can pass `retry_action` as `manual_retry` in request to try this payment again", payment_intent.status)
}
))
}