Skip to content

Commit

Permalink
Update PaymentInstrumentInfo_Adyen_Component.isml
Browse files Browse the repository at this point in the history
  • Loading branch information
amihajlovski authored Sep 20, 2024
1 parent 3a95ed5 commit b04e72c
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@
<td class='infobox_title'>PSP reference</td>
<td class='infobox_item'>
<isscript>
var mode : String = dw.system.Site.getCurrent().getCustomPreferenceValue("Adyen_Mode");
var urlPrefixType : String = 'test';
if (mode == 'LIVE') {
urlPrefixType = 'live';
}
</isscript>
<A target='new' HREF='https://ca-${urlPrefixType}.adyen.com/ca/ca/accounts/showTx.shtml?pspReference=${order.custom.Adyen_pspReference}&txType=Payment'>
<isprint value="${order.custom.Adyen_pspReference}">
</A>
</td>
</tr>
var mode : String = dw.system.Site.getCurrent().getCustomPreferenceValue("Adyen_Mode");
var urlPrefixType : String = 'test';
if (mode == 'LIVE') {
urlPrefixType = 'live';
}
</isscript>
<A target='new' HREF='https://ca-${urlPrefixType}.adyen.com/ca/ca/accounts/showTx.shtml?pspReference=${order.custom.Adyen_pspReference}&txType=Payment'>
<isprint value="${order.custom.Adyen_pspReference}">
</A>
</td>
</tr>
<tr><td class='infobox_title'>Payment Method</td><td class='infobox_item'><isprint value="${order.custom.Adyen_paymentMethod}"></td></tr>
<tr><td class='infobox_title'>Eventcode</td><td class='infobox_item'><isprint value="${order.custom.Adyen_eventCode}"></td></tr>
<isif condition="${adyenAdditionalPaymentData != null}">
Expand Down Expand Up @@ -103,4 +103,4 @@
</div>
<BR>

<!-- END: Adyentable -->
<!-- END: Adyentable -->

0 comments on commit b04e72c

Please sign in to comment.