Quantcast
Channel: Microsoft Dynamics RMS Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4248

Conditional containing literal string in receipt template not working

$
0
0

We're using an add-in for credit card processing, so we've got our actual credit/debit card tender types set to "other".  So, to check to see if a card is used, I updated the XML template as follows.  However, this conditional statement never evaluates to true, even though
<ROW> Tender.Descriptor.Description </ROW> evaluates as "Pinpad Amex" 

<IF>
<CONDITION> Tender.Descriptor.Description = "Pinpad Amex" </CONDITION>
<THEN>
<ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>
<ROW> "Auth: " Tender.ApprovalCode "|" </ROW>
<ROW> "Amex test" </ROW>
</THEN>
</IF>


Viewing all articles
Browse latest Browse all 4248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>