I'm trying to setup a Moneris Hosted Tokenization to display the card number, expiration date and CVD information. I have made the changes to the IFrame to display them along with the corresponding labels. Since the application will serve both english and french clients, I have a resource string defined in my Asp.Net/C# web app for each language.
I have made the changes to generate the IFrame src string and for each label, I feed it the resource string with the appropriate language. When the application is in english, the text appears correct but when the language is in french, the accents get replaced with different characters. As an example:
src="...&cvd_label=Code de sécurité CVV2&..." will appear in the HTML code of the IFrame but for that label, I see the following:
<label for="monerisCVDInput" class="monerisInputLabel" id="monerisCvdLabel">Code de sécurité CVV2</label>
My web application is setup to use UTF-8 and if I send the text to a textbox, the text appears correctly. Would you be able to tell me if the text will need to be encoded a certain way when I create the text in the src line sent to Moneris?
In reply to PierreA:
In reply to RR_Moneris:
Can you please give an example. DO you mean encode label and then encode the whole URL.
In reply to devrkr:
In reply to JesseV: