helixpay-global.js

if (window.HelixPay) {
  // Extends
  window.HelixPay.setCustomConfig({
    merchantID: null, 
    baseApi: 'https://api.helixpay.ph',
  });
  
  document.addEventListener('DOMContentLoaded', function() {
    window.HelixPay.init();
  });
} else {
  console.error('Failed to initialize HelixPay. window.HelixPay is not set');
}