Jump to content

Recommended Posts

17 hours ago, julianocunha said:

What am I doing wrong?

Probably nothing, the authors of this script are either amateurs or simply do not test their system before releasing it. They only look at profit. Not to mention the cost of their messed up scripts. I have set up Subscriptions as follows:

Screenshot.png

Screenshot1(1).png

I checked this part of the code in the app/Models/Package.php file.

Note that the month interval is set to 7 days:

protected function periodEnd(): Attribute
{
return Attribute::make(
get: function () {
$today = now();

$intervalInDays = $this->promotion_time ?? 30;

$isSubsPackage = (isset($this->type) && $this->type == 'subscription');
if ($isSubsPackage) {
$interval = !empty($this->interval) ? $this->interval : 'month';
$intervalInDays = 7;

if ($interval == 'month') {
$intervalInDays = $today->daysInMonth ?? 30;
}
if ($interval == 'year') {
$intervalInDays = $today->daysInYear ?? 365;
}
}

return $today->addDays($intervalInDays)->endOfDay();
},
);
}

 

Please check if your code is different.

В 20.08.2023 в 17:53, Andrew Amtana сказал:

@Mahmoud Hello sir thank you for your efforts. kindly i have an enquiry, am trying to install this laraclassifier script, but it is asking for the license code.

kindly how do I get it please? I thought since it is nullified, it will install automatically.

i downloaded the latest version.

Check attachment 

Screenshot 2023-08-20 at 19.52.02.png

Hi. Is there a solution to this problem?

17 hours ago, julianocunha said:

I checked this part of the code in the app/Models/Package.php file.

Note that the month interval is set to 7 days:

protected function periodEnd(): Attribute
{
return Attribute::make(
get: function () {
$today = now();

$intervalInDays = $this->promotion_time ?? 30;

$isSubsPackage = (isset($this->type) && $this->type == 'subscription');
if ($isSubsPackage) {
$interval = !empty($this->interval) ? $this->interval : 'month';
$intervalInDays = 7;

if ($interval == 'month') {
$intervalInDays = $today->daysInMonth ?? 30;
}
if ($interval == 'year') {
$intervalInDays = $today->daysInYear ?? 365;
}
}

return $today->addDays($intervalInDays)->endOfDay();
},
);
}

 

Please check if your code is different.

my code is the same

 

This is my cron settings:

cron.png.2a711d583171defe89b458c7ab20d598.png

Edited by DieHard
1 hora atrás, DieHard disse:

my code is the same

 

This is my cron settings:

cron.png.2a711d583171defe89b458c7ab20d598.png

If your code is the same, notice that something is wrong. Note that there is no Week option. The first option is Month and set to 7 days.
Run a test on your website, note that when purchasing any subscription package, even if you have set it to expire in 90 days, after approving the Offline payment, it will show the expiration in 7 days.

36 minutes ago, julianocunha said:

If your code is the same, notice that something is wrong. Note that there is no Week option. The first option is Month and set to 7 days.
Run a test on your website, note that when purchasing any subscription package, even if you have set it to expire in 90 days, after approving the Offline payment, it will show the expiration in 7 days.

I do not use Offline payment

  • 2 months later...
  • 2 weeks later...
  • 4 weeks later...
  • Mahmoud changed the title to LaraClassifier v15.0.0 - Classified Ads Web Application + Plugins NULLED
  • 3 weeks later...
  • 4 weeks later...
  • Mahmoud changed the title to LaraClassifier v15.1.0 - Classified Ads Web Application + Plugins NULLED

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...