Install the ProAbono Customer Portal in a page
install_customer_portalGenerate integration code that embeds the ProAbono Customer Portal on a merchant's own site for authenticated customers, including security hash, route, and template snippet.
Instructions
Generates the code that embeds the ProAbono Customer Portal inside a page of the merchant's own site -- current plan, invoices, payment method, billing address, usage -- for the signed-in customer. This is step 1 of the In-Site installation. Returns the server-side security hash computation, the route that renders the page, and the snippet to place in the template. Requires an authenticated customer area: the hosted pages always render for an identified customer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | Yes | The host project's stack. Detect it from the open project (package.json, composer.json, requirements.txt, Gemfile, .csproj) and confirm with the developer. Use "generic" when none fits. | |
| target_page | Yes | Path of the page that will host the portal, e.g. "/account/billing". | |
| pass_language | No | Pass the application's UI language to ProAbono. Only when the application is the authority for it: it overwrites what the customer set in the portal. |