Personalization parameters of "placeholders"
Different parameters can be customized when the JavaScript client is being loaded.
Personalization parameters of "placeholders"
Example of code for personalizing the kr-placeholder-pan parameter:
<!-- Javascript library. Should be loaded in head section --> <script src="/stable/kr-payment-form.min.js" kr-public-key="42229744:testpublickey_tPXxrUVsoGkggk9LuO8o0PBRdWg8jWUhWmYMURwCbc8ap" kr-placeholder-pan ="[TO CUSTOM]"> </script>
The classes to be used for the customization of embedded fields (such as fonts) are:
PARAMETER | Description |
---|---|
kr-pan | Card number. |
kr-expiry | Expiry date |
kr-security-code | Security code (CVV) |
kr-do-register | the card token creation confirmation checkbox |
The classes to be used for the personalization of "placeholders" are:
PARAMETER | required | Description | LATAM case |
---|---|---|---|
kr-placeholder-expiry | Placeholder of the kr-expiry field (expiry date). | ||
kr-placeholder-pan | Placeholder of the kr-pan field (card number). | ||
kr-placeholder-security-code | Placeholder of the kr-security-code field (CVV). |