Sticitt SDK Documentation 1.0 Help

Initialization

Note

This guide assumes that you have already completed the host-to-host setup, and you are able to create payments on the host API.

There are two environments available, test which is a sandbox environment made purely for your testing pleasure, and production which, as you may have guessed, is the real world environment.

Import the library

Firstly, import the Sticitt Pay SDK into your page. Make sure to use the correct environment. That is, if you're making payments on the test in environment, use the test SDK script.

<!--import sticitt sdk --> <script id="sticitt-pay-sdk" src="https://sdk-test.sticitt.co.za/js/lib/sdk.min.js" > </script>
<!--import sticitt sdk --> <script id="sticitt-pay-sdk" src="https://sdk.sticitt.co.za/js/lib/sdk.min.js" > </script>

Pay close attention to the script tag's id attribute which must be set to sticitt-pay-sdk for the initialization to take place.

Last modified: 20 February 2025