Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Before calling the Credit Card Process API , an external API is called on the Blink Platform to tokenise the card details fetched from the hosted card fields and generate a payment Token value. This value will be auto added in the payment form. To achieve this , follow the below steps.


Create Payment Token

Hosted Fields requires JQuery. The Gateway supports versions 1.8 to 3.6. We use 3.6.3 as shown below:

Code Block
<script src="https://code.jquery.com/jquery-3.6.3.min.js"></script>

To initialise a Hosted Fields instance, include the following JavaScript in your payment page:

Code Block
<script src="https://gateway2.blinkpayment.co.uk/sdk/web/v1/js/hostedfields.min.js"></script>