From cd7d1b45ae5e18e243e61a7ceb7963f8a0f43a31 Mon Sep 17 00:00:00 2001 From: Sahkal Poddar Date: Tue, 21 Nov 2023 15:02:19 +0530 Subject: [PATCH] refactor(router): fixed error message for payment which already has status --- crates/router/src/core/payment_link.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/router/src/core/payment_link.rs b/crates/router/src/core/payment_link.rs index 4fdbba30530f..41f36e1d64c3 100644 --- a/crates/router/src/core/payment_link.rs +++ b/crates/router/src/core/payment_link.rs @@ -71,7 +71,7 @@ pub async fn intiate_payment_link_flow( storage_enums::IntentStatus::RequiresCapture, storage_enums::IntentStatus::RequiresMerchantAction, ], - "create payment link", + "use payment link for", )?; let payment_link = db