Update: 2026-05-16 02:14:53
This commit is contained in:
@@ -56,8 +56,8 @@ try {
|
||||
$fingerprint = $payment['fingerprint'];
|
||||
$plan = $payment['plan'];
|
||||
|
||||
// Calculate expiration (e.g. basic=30 days, annual=365 days)
|
||||
$days = ($plan === 'annual') ? 365 : 30;
|
||||
// All plans are now Annual (365 days)
|
||||
$days = 365;
|
||||
$expiresAt = date('Y-m-d H:i:s', strtotime("+$days days"));
|
||||
|
||||
// Check if user already has a subscription to extend it
|
||||
|
||||
Reference in New Issue
Block a user