UPDATES EasySocial 4.0.15 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Plan expiration date update using script

Mario · ·
6:17 PM Wednesday, 20 December 2017
None
Hello,

I have the following scenario:

About 400 user wth two active plan:
Plan A: 1 year
Plan B: 6 month

Plan B was activated after a variable period from Plan A activation.

I need to extend Plan B in order to let expire both plan in same time.

What I want to do is tu update using a script the table payplan_subscription, field expiration_date.
I will set expiration_date of Plan B same as expiration_date of Plan A for the same user.

Is this enough or I'm missing someting?
Is ther another way? Maybe an app?

Thanks,
Mario
The replies under this section are restricted to logged in users or users with an active subscription with us