Browser SDK
The browser SDK (/v1.js) is a plain, dependency-free script that turns a <script>
tag into a checkout button. No secret keys, no build step.
Include it
Section titled “Include it”<script src="https://js.bizzle.my/v1.js" data-store="isla-eco" data-product="retreat-pass-3day" data-label="Buy Retreat Pass"></script>The script derives its API base URL from its own src, injects a styled button, and
on click creates a checkout link before redirecting the customer.
Attributes
Section titled “Attributes”| Attribute | Required | Description |
|---|---|---|
data-store |
yes* | Store slug |
data-product |
yes* | Product slug |
data-label |
no | Button text (default “Pay Now”) |
data-quantity |
no | Default 1 |
data-currency |
no | Override currency |
data-email |
no | Prefill customer email |
data-ref |
no | Referral code |
* For events mode, use data-app="events" with data-event="<event-id>" instead.
Events embed
Section titled “Events embed”<script src="https://js.bizzle.my/v1.js" data-app="events" data-event="<event-uuid>" data-label="Buy Tickets"></script>This renders a button that links to the event page.