Lecteur Markdown

abo_success Documentation › ABO_SUCCESS_DOCUMENTATION_EN

Abo Success Documentation En

Feature: Abo Success #

Subscription confirmation page. Shown after the recurring payment is validated. Confirms the subscription to the user and summarizes the activated plan. A cron handler links subscriptions to user accounts.

Installation and Configuration

Via FTP: Upload the abo_success/ directory into /plugins/.

Via package manager: Select abo_success from the available plugins list.

Paths:

  • Main plugin: /plugins/abo_success/abo_success.php
  • Cron handler: /plugins/abo_success/handlers/abo_accounts_linker.cron.mod.php
  • CSS: /plugins/abo_success/css/abo_success.css

Configuration parameters:

| Variable | Default | Description |

|---|---|---|

| $basedatadisplay | 'no' | Hidden from the management interface |

| $basedisplevel | BASE_LEVEL_USER | Logged-in users only |

| $ftype | 3 | Process module |

Usage

After payment is validated, the user is redirected to this page, which:

1. confirms the subscription;

2. summarizes the activated plan;

3. shows the next steps for the user.

A cron handler (abo_accounts_linker) runs periodically to reliably link validated subscriptions to the matching user accounts (useful when the provider's confirmation arrives asynchronously).

Hooks and Entry Points

text
?obj=abo_success.php                     — Confirmation page
abo_accounts_linker.cron                 — Scheduled task linking subscriptions

Dependencies

  • Beamreactor\Database\SQL
  • Beamreactor\Sanitizer\Parser
  • abo_checkout plugin — preceding checkout step

Security

Logged-in users only. Input is sanitized through Parser::sanitize() and queries use bound parameters. Linking subscriptions is handled by a server-side cron task rather than on page render.