Saving credit cards
On many e-commerce sites, there is often an option for allowing customers to save their credit card information on the website for their convenience when making purchases on the site frequently. Using UnivaPay payments, this can be done without actually having to save the actual card information on your servers provided the following requirements are satisfied:
- Access to create recurring tokens
- Your system is able to generate unique ids for each customer
This is done by using the saving your local id reference of the customer in the
metadata of a recurring transaction token during creation, using the key
univapay-customer-id. Or you can pass your local id to the widget by UnivaPay Customer ID parameter. The value must be a valid
UUID type. Otherwise, please use the following utility route – Generate a customer UUID to convert your local customer id to a UUID.