From 0b404c317e5072c6f02858de547ba02c79cad0bf Mon Sep 17 00:00:00 2001 From: Kartikeya Hegde Date: Tue, 20 Dec 2022 18:30:48 +0530 Subject: [PATCH] fix: Cancellation reason null in payments_retrieve (#184) --- crates/router/src/core/payments/transformers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/router/src/core/payments/transformers.rs b/crates/router/src/core/payments/transformers.rs index 801b0b0c4c..5118ceab55 100644 --- a/crates/router/src/core/payments/transformers.rs +++ b/crates/router/src/core/payments/transformers.rs @@ -370,6 +370,7 @@ where mandate_id, shipping: address.shipping, billing: address.billing, + cancellation_reason: payment_attempt.cancellation_reason, ..Default::default() }), })