Documentation

subscriptions.php

This file is the file which all subscription gateways should call when a payment has been received - it sorts out the user status.

Simple Machines Forum (SMF)

Tags
author

Simple Machines https://www.simplemachines.org

copyright

2025 Simple Machines and individual contributors

license

https://www.simplemachines.org/about/smf/license.php BSD

version
3.0

Alpha 2

Table of Contents

Functions

generateSubscriptionError()  : mixed
Log an error then exit

Functions

generateSubscriptionError()

Log an error then exit

generateSubscriptionError(string $text[, bool $debug = false ]) : mixed
Parameters
$text : string

The error to log

$debug : bool = false

If true, won't send an email if Config::$modSettings['paid_email'] isn't set


        
On this page

Search results