UPDATES EasyBlog 6.0.11 Released! Update to the latest version 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 offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

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