Generate the ProAbono pricing table embed
generate_pricing_tableGenerate the embed code that displays a ProAbono pricing table on your site. Choose anonymous mode for public pages or identified mode for signed-in customers who can subscribe directly in place.
Instructions
Generates the embed that renders the ProAbono pricing table inside a page of the merchant's site. Two flavours: anonymous for a public pricing page, or identified for a signed-in customer, who can then subscribe in place -- which needs the customer reference and the security hash. What happens when a plan is chosen is configured in the BackOffice, not in this code.
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. | |
| identified | Yes | true for a signed-in customer who can subscribe in place; false for the public anonymous table. | |
| target_page | Yes | Path of the page that will host the table, e.g. "/pricing". |