This installation will generate the Customer Portal directly in your web application.
Step 1
In the pages you want display the Customer Portal, copy-paste this code in the <head> tag.
<script type="text/javascript" src="https://portal.proabono.com/Get/portal.js"></script>
Step 2
Place a <div> in the page where you want to Customer Portal to be generated.
<div id="proabono_portal">loading...</div>
Its content will be overwritten after loading.
Step 3
Load the Customer Portal with this code and watch the result.
The customer_ref must be infered from your users’s identifier. The one below is just an example.
This article will tell you more about the opening parameters.
<script type="text/javascript">
ProAbonoPortal.open({
business_id: 42,
segment_ref: "my-service-eur",
customer_ref: "cust-42",
customer_name: "John Doe", // optional
customer_lang: "fr", // optional
});
</script>