diff --git a/src/cartridges/bm_adyen/cartridge/templates/default/order/PaymentInstrumentInfo_Adyen.isml b/src/cartridges/bm_adyen/cartridge/templates/default/order/PaymentInstrumentInfo_Adyen.isml
index 25bd36677..6f183e69f 100644
--- a/src/cartridges/bm_adyen/cartridge/templates/default/order/PaymentInstrumentInfo_Adyen.isml
+++ b/src/cartridges/bm_adyen/cartridge/templates/default/order/PaymentInstrumentInfo_Adyen.isml
@@ -26,7 +26,21 @@
- PSP reference | |
+
+ PSP reference |
+
+
+ var mode : String = dw.system.Site.getCurrent().getCustomPreferenceValue("Adyen_Mode");
+ var urlPrefixType : String = 'test';
+ if (mode == 'LIVE') {
+ urlPrefixType = 'live';
+ }
+
+
+
+
+ |
+
Payment Method | |
Eventcode | |
@@ -80,4 +94,4 @@
\ No newline at end of file
+-->
diff --git a/src/cartridges/bm_adyen/cartridge/templates/default/order/PaymentInstrumentInfo_Adyen_Component.isml b/src/cartridges/bm_adyen/cartridge/templates/default/order/PaymentInstrumentInfo_Adyen_Component.isml
index bb973a55d..240ea03f0 100644
--- a/src/cartridges/bm_adyen/cartridge/templates/default/order/PaymentInstrumentInfo_Adyen_Component.isml
+++ b/src/cartridges/bm_adyen/cartridge/templates/default/order/PaymentInstrumentInfo_Adyen_Component.isml
@@ -1,5 +1,4 @@
-
@@ -27,7 +26,21 @@
- PSP reference | |
+
+ PSP reference |
+
+
+ var mode : String = dw.system.Site.getCurrent().getCustomPreferenceValue("Adyen_Mode");
+ var urlPrefixType : String = 'test';
+ if (mode == 'LIVE') {
+ urlPrefixType = 'live';
+ }
+
+
+
+
+ |
+
Payment Method | |
Eventcode | |
@@ -90,4 +103,4 @@
-
\ No newline at end of file
+