Retire Events subscriptions and owner payment gateways.
Deploy Ladill Events / deploy (push) Successful in 55s
Deploy Ladill Events / deploy (push) Successful in 55s
Make Ladill Events free for all accounts, remove plan upgrade UI, force Ladill Pay only for tickets and contributions, and reinstate standard platform fees.
This commit is contained in:
@@ -17,7 +17,8 @@ class SubscriptionService
|
||||
|
||||
public function gatingActive(): bool
|
||||
{
|
||||
return (bool) config('events.pro.enabled', true) && $this->billing->configured();
|
||||
// Paid Events subscriptions are retired — product is free for all accounts.
|
||||
return false;
|
||||
}
|
||||
|
||||
public function priceMinor(): int
|
||||
@@ -74,10 +75,10 @@ class SubscriptionService
|
||||
return $this->hasPaidPlan($user);
|
||||
}
|
||||
|
||||
/** Own payment gateway (Paystack / Flutterwave / Hubtel) requires Pro or Business. */
|
||||
/** Custom / owner payment gateways are retired — Ladill Pay only. */
|
||||
public function canUsePaymentGateway(User $user): bool
|
||||
{
|
||||
return $this->hasPaidPlan($user);
|
||||
return false;
|
||||
}
|
||||
|
||||
public function liveEventCount(User $user): int
|
||||
|
||||
Reference in New Issue
Block a user