JavaScript In-line SDK
We offer a JavaScript in-line SDK to easily integrate into your existing website and provide rather complex features in an easy way.
Akowe Popup provides a simple and convenient payment flow for web. It can be integrated in two easy steps, making it the easiest way to start using Akowe on your website.
The sample HTML and JavaScript below is all you need to get started.
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="https://issuance.akowe.app/sdk/v1.js"></script>
</head>
<body>
<button onclick="AkoweCreateTemplate('[email protected]');">Open Template</button>
<button onclick="AkoweIssueCertificates('[email protected]');">Issue Loaded Certificates</button>
</body>
</html>That is all that is needed to get Akowe running on your website.
The script tag in the header references Akowe's JavaScript in-line SDK.
Create Template
To create a new template on Akowe that can be used in future to issue certificates, call the function AkoweCreateTemplate and pass the email attached to your account as argument as seen in line 7 above. This will popup Akowe's template creation tool right on your website. You can follow the prompt, upload your certificate's image and set all paremeters.
Issue Certificates
To issue certificates visually from your website and watch the progress in real time, call the function AkoweIssueCertificates and pass the email attached to your account as argument as seen in line 8 above.
Last updated