subscriptions

Description

Handles most of the paid subscriptions stuff

Syntax

void subscriptions (int $memID)



Parameter $memID

Expected type: Integer
Description: The ID of the member whose profile we're attempting to delete.


Notes

  • Uses the ManagePaid template and language file
  • Calls loadSubscriptions to load all available subscriptions
  • Dies with an error if no payment gateways are enabled
  • Assumes at least one gateway exists
  • Uses the 'paid_done', 'choose_payment' or 'user_subscription' sub-template depending on what's being done
Advertisement: