TheyWorkForYou

Subscription
in package

Table of Contents

Properties

$has_payment_data  : mixed
$stripe  : mixed
$upcoming  : mixed
$plans  : mixed

Methods

__construct()  : mixed
checkForErrors()  : mixed
createOrUpdateFromForm()  : mixed
delete_from_redis()  : mixed
invoices()  : mixed
quota_status()  : mixed
redis_reset_quota()  : mixed
redis_update_max()  : mixed
update_email()  : mixed
update_payment_method()  : mixed
add_subscription()  : mixed
checkPaymentGivenIfNeeded()  : mixed
checkValidPlan()  : mixed
getFields()  : mixed
update_customer()  : mixed
update_subscription()  : mixed

Properties

$has_payment_data

public mixed $has_payment_data = false

$plans

private static mixed $plans = ['twfy-1k', 'twfy-5k', 'twfy-10k', 'twfy-0k']

Methods

__construct()

public __construct(mixed $arg) : mixed
Parameters
$arg : mixed

createOrUpdateFromForm()

public createOrUpdateFromForm() : mixed

redis_update_max()

public redis_update_max(mixed $plan) : mixed
Parameters
$plan : mixed

update_email()

public update_email(mixed $email) : mixed
Parameters
$email : mixed

update_payment_method()

public update_payment_method(mixed $payment_method) : mixed
Parameters
$payment_method : mixed

add_subscription()

private add_subscription(mixed $form_data) : mixed
Parameters
$form_data : mixed

checkPaymentGivenIfNeeded()

private checkPaymentGivenIfNeeded() : mixed

update_customer()

private update_customer(mixed $args) : mixed
Parameters
$args : mixed

update_subscription()

private update_subscription(mixed $form_data) : mixed
Parameters
$form_data : mixed

        
On this page

Search results