Skip to content

How to Integrate the Customer Portal (2/2)

Previous article: How to Integrate the Customer Portal (1/2)

Many events can lead to contact the Customer: sending an invoice, card soon to expire, payment failures, direct debit notices …

By default, the links present in ProAbono’s e-mail notifications send to a non-integrated version of the customer portal. It is possible, with a very fast integration, to have a perfectly integrated version of the customer portal.

The API and the backoffice generate two types of links to your customers:

  • Customer Portal: support links, invoice downloads, consultation, changing options, …
  • Workflow: Workflow for subscription or change of offer, with or without payment.

In the previous article we built the ‘Subscription’ page of your site.

In the following example, the URL of the ‘Subscription’ page is
https://my-app.com/Subscriptions

We will review this page to connect the automatic support of ProAbono, as well as subscriptions to custom offers.

In the ProAbono backoffice, go to Settings / Segment Settings / Customer Portal

If your account has the rights: Actions / Modify

In the URL fields of the integrated form and URL of the integrated portal, enter the URL of your ‘Subscription’ page.

From now on, the links generated from the backoffice and the backoffice API will point to this page.

Example: https://my-app.com/Subscriptions?crylk=https%3a%2f%2fmy-app.proabono.com%2fsubscribe-offer%2f{SubscribeToken}

In your site, in the generation code of this page (server side), retrieve the URL parameter crylk

Example: crylk=https%3a%2f%2fmy-app.proabono.com%2fsubscribe-offer%2f{SubscribeToken}

If this parameter exists, make an URL decoding.

Example: https://my-app.proabono.com/subscribe-offer/{SubscribeToken}

Check that the domain name ends with proabono.com.

If everything is ok, use this link instead {hosted-home} of the previous article.

Example:

<iframe src="{hosted-home}" style="width: 100%; height: 700px; border: 0;" title="ProAbono customer portal"></iframe>
<iframe src="https://my-app.proabono.com/subscribe-offer/{SubscribeToken}" style="width: 100%; height: 700px; border: 0;" title="ProAbono subscription workflow"></iframe>

If the parameter crylk does not exist or is not valid, continue to use the link returned with the Customer object.

From now on, the notifications sent by ProAbono will send your customers directly to the appropriate page in your site.

The same will happen if your sales team creates a custom subscription from the backoffice and sends the link to the customer.

Next steps:

Integrate ProAbono in your registration process >
Synchronizing your service with ProAbono >