Plugin - Renew Subscription Event

  • Calum
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 10 months ago #82133 by Calum
Plugin - Renew Subscription Event was created by Calum
I have been working on a little plugin that subscribes someone to a list (a bit like MailChimp etc) and it plays very nicely adding them to the list onMembershipActive and deleting them from the list onMembershipExpire.

But I let a member expire and then renewed them manually from the administrator side using Renew Membership. No onMembershipActive event seems to have taken place?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 10 months ago #82139 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Plugin - Renew Subscription Event
Hi

How did you renew? Could you please let me know step by step what you did so that I can check the code further?

Regards,

Tuan

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

  • Calum
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 10 months ago #82141 by Calum
Replied by Calum on topic Plugin - Renew Subscription Event
Hi Tuan

I went to administrator / Components / MemberhsipPro / Subscriptions

Selected the subscriber who had now expired and clicked the button at the top of the page called "Renew"

A new entry in the Subscriptions page was created, but the script doesn't appear to have re-added it to the list.

Calum

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

  • Calum
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 10 months ago #82143 by Calum
Replied by Calum on topic Plugin - Renew Subscription Event
Apologies Tuan

It seems there is some lag in the API that is adding them to the list (their side not yours) and so they hadn't re-populated on the list in sufficient time when I was checking. I got an email about 20 minutes later saying it had been added...

Sorry for the distraction

Calum

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 10 months ago #82171 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Plugin - Renew Subscription Event
Thanks for confirming :)

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