Modern, secure QRIS payment integration for your website
Add these two lines to your website's HTML:
<!-- Add to your <head> section -->
<link rel="stylesheet" href="http://localhost:11000/widget/qris-payment.css">
<!-- Add before closing </body> tag -->
<!-- Replace YOUR_WEBNAME with your actual website identifier -->
<script src="http://localhost:11000/widget/qris-payment.js?web=YOUR_WEBNAME"></script>
Your website must have:
.username
containing the user's usernamedeposit_form
payment_method_selection
CSS File:
JavaScript File:
Note: Replace YOUR_WEBNAME
with your website identifier (e.g., hoki69
, mysite
, etc.).
This parameter is used for tracking and analytics purposes.
<!-- Your existing HTML -->
<div class="user-info">
<span class="username">john_doe</span>
</div>
<form id="deposit_form">
<div id="payment_method_selection">
<!-- Existing payment methods -->
</div>
</form>
<!-- Widget will automatically inject QRIS option -->