Klasha Inline
Embed Klasha into your website using our inline JavaScript integration.
Embed Klasha JavaScript into the head tag of your HTML code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="text/javascript" src="https://js.klasha.com/pay.js"></script>
<title>Klasha Payment</title>
</head>
<body>
<form>
<input type="button" onclick="payWithKlasha()" value="Pay With Klasha" />
</form>
</body>
</html>Define a JavaScript function in your script file

Callback response
Webhook response
Last updated