Renew subscription behaviour

  • David Fletcher
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 10 months ago #114254 by David Fletcher
Renew subscription behaviour was created by David Fletcher
Dear Team

I am struggling to understand the actions that occur when the 'renew subscription' button is pressed.

I have only annual memberships and most are offline, and invevitably happen after the end date. In this case the renew function appears to reset from the date of the time of 'renew', rather than maintaining the same end date aniversary day and month, which is what I need.

However if the 'renew' takes place before the end date, the new end date is 1 year on.

So I am concluding at the moment that when I do a renewal (post end date), I press the renew button, and then go into 'edit subscription' and change the end date to the date I wish. Is this correct please?

It would be helpful if there was a list of the actions that occur with pressing of the 'renew subscription' button.

thank you

David

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
5 years 10 months ago #114257 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Renew subscription behaviour
Hi David

When you press renew button:

1. The system will renew the subscription

2. Send notification email to inform subscriber about the renewal

You can change the date manually as you mentioned, it's correct. However, you should not have to change it manually. Could you please give me a sample so that I can understand your issue better:

- Current subscription from date and todate
- What's the subscription from date and to date after pressing renew button
- What's the expected from date and to date

I will then check to see what's wrong and get it sorted

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • David Fletcher
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 10 months ago #114259 by David Fletcher
Replied by David Fletcher on topic Renew subscription behaviour
Tuan
I attach two snip captures from the entry before and after renewal. Renewal date 11 June
was 5 June to 7 June
now 5 June to 13 June
Plan period in this case is 2 days as i am testing.
David



Attachments:

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
5 years 10 months ago #114277 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Renew subscription behaviour
Hi David

Could you please go to Membership Pro -> Configuration, set Subscription Renewal Behavior config option to Create new subscription, then try again?

The issue should be sorted

Regards,

Tuan
The following user(s) said Thank You: David Fletcher

Please Log in or Create an account to join the conversation.

  • David Fletcher
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 10 months ago #114358 by David Fletcher
Replied by David Fletcher on topic Renew subscription behaviour
Tuan
That produces another behaviour and starts the new subscription from the day of renewal. That doesnt suit either and will require adjustment..
Can I by chance change the behaviour orf the dayes in the code? If not I will have to live with the renew and then adjust the dates.
David

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
5 years 10 months ago #114362 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Renew subscription behaviour
Hi David

You would have to change the code if you want to change that behavior. As you can see, when you renew the subscription, the start date of the new record must be start date of previous record (when update subscription behavior option is used) so that you will know the original duration of the subscription

The code change is also not easy, I think and prevent you from updating to future releases of the extension. So better renew it, then change the date manually for now

Regards,

Tuan
The following user(s) said Thank You: David Fletcher

Please Log in or Create an account to join the conversation.

  • David Fletcher
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 9 months ago #114564 by David Fletcher
Replied by David Fletcher on topic Renew subscription behaviour
Tuan
I have tried both methods with test data, and conclude to stay with the basic update and then adjust dates.
So I have been switching to and from between the behaviours. Now when I do a subscription renew I am getting this error code

1066 Not unique table/alias: '#__osmembership_subscribers'

The renewal takes place, stops MP but still generates a new subscriiption, even though this is not the behaviour selected.
This started happened at the time I made the most recent upgrade to 2.14.0
Have I messed up something or is there a problem with 2.14 that others are seeing?
David

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
5 years 9 months ago #114575 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Renew subscription behaviour
Hi David

That error message is strange to me. Could you please submit a support ticket sending us the following information so that I can check it:

1. Super admin account of your site

2. Tell us step by step what we need to do to see the error

We will then check and get the issue sorted

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #116436 by Jon
Replied by Jon on topic Renew subscription behaviour
Has the issue of 'start date' = 'end date of previous subscription been fixed? This should be the correct renewal process, but currently starts new subscription from 'today'

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
5 years 8 months ago #116437 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Renew subscription behaviour
Hi Jon

The way it works is that:

1. If users renew subscription before his current subscription expired, then the start date of new subscription = the expired date of current subscription + 1 second

2. If users renew subscription after his current expired (the subscription was expired before renewal), the start date of new subscription will be current date (so that he won't loose his subscription duration)

Regards,

Tuan

Please Log in or Create an account to join the conversation.