Quick install

How to setup and how script works

It only takes a few minutes to install PuBilling on your web app. Once installed, your users will be able to see and updater their subscription and billing information.

Install PuBilling on your web app

<div id="pubilling-embed"></div>
<script>
window.pubillingSettings = {
app_id: "{YOUR_APP_ID}",
account_id: "{YOUR_CUSTOMER_ID}",
account_hash: "{ACCOUNT_HASH}",
locale: 'en',
subscribe_link: "https://yourcheckout.com/subscribe",
};
‚Äč
(function () {
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = 'https://app.pubilling.io/sdk.js';
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
})();
</script>