diff --git a/src/domains/wallet-app/api/npg-notifications/v1/_base_policy.xml.tpl b/src/domains/wallet-app/api/npg-notifications/v1/_base_policy.xml.tpl index ab140e241a..6bdc37160e 100644 --- a/src/domains/wallet-app/api/npg-notifications/v1/_base_policy.xml.tpl +++ b/src/domains/wallet-app/api/npg-notifications/v1/_base_policy.xml.tpl @@ -52,12 +52,13 @@ cardId4 = (string)((JObject)additionalData)["cardId4"]; } string paymentCircuit = (string)operation["paymentCircuit"]; + string paymentMethod = (string)operation["paymentMethod"]; JObject details = null; if(paymentCircuit == "PAYPAL"){ details = new JObject(); details["type"] = "PAYPAL"; details["maskedEmail"] = (string)operation["paymentInstrumentInfo"]; - } else if(paymentCircuit == "CARD"){ + } else if(paymentMethod == "CARD"){ details = new JObject(); details["type"] = "CARD"; details["paymentInstrumentGatewayId"] = cardId4;