📄️ Introduction
This is the suitable solution if you want to be able to host the card data collection form on your own page without having to directly manipulate such sensitive information.
📄️ Client-side requirements
Including the tokenizer
📄️ Callback and Error codes
The callback given to syspay.tokenizer.tokenizeCard() will be passed a single response object. Some basic pre-validation is made (data types and a LUHN test on the card number) so the callback could be triggered before requesting the token creation to our API if any of these fail.
📄️ Sample HTML page
The following example uses jQuery to handle the form submission and the retrieval of the card data, but it is not required by our library.