[Skip to main content](#vessel-content)

#   Auto-switch subscriber to different Plan/Group on renewal (HikaSubscription

##

- **[admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")**
- [![admin@sepim.gr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile") Topic Author
- [ Offline](/forum/user/48075-admin-sepim-gr)

Less More

- Posts: 13
- Thank you received: 1
-
-

1 month 3 weeks ago [\#373335](#373335) by [admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")  *[Auto-switch subscriber to different Plan/Group on renewal (HikaSubscription](/forum/25-install-update/910811-auto-switch-subscriber-to-different-plan-group-on-renewal-hikasubscription#373335 "-- HikaShop version -- : 6.5.2 -- Joomla version -- : 6.1.3 -- PHP version -- : 8.4.25  Hello,  We use HikaShop (latest version, 6.5.2) + HikaSerial/HikaSubscription (latest version, 6.1.1) for a magazine subscription business, and we have a workflow question about automating something we currently do manually.  Our setup: - Product A (&quot;New customer&quot;): sold to first-time subscribers. It creates a subscription (Plan A) and, via the Group Subscriber action, puts the customer in Group A. Group A gives access to 1 year of magazine issues (current year only). - Product B (&quot;Renewal&quot;): when an existing customer renews, we currently manually move them to a different subscription setup: we assign Product B, which is meant to link them to Group B instead. Group B gives access to 2 years of issues (current year + previous year).  Right now, every time a Product A customer renews, a staff member manually switches them over to the Group B / Plan B setup so they get 2-year access. We would like this to happen automatically, without manual intervention, the first time (or every time) a Product A subscription is renewed.  Questions: 1. Is there a native way, using the Plan relation types (Creation / Creation then Renewal / Renewal or Creation / Renewal) and the Group Subscriber plugin, to have a renewal product point to a different Plan/Group than the one used at initial creation? From the documentation, it looks like a subscription stays tied to the Plan it was created with, so a &quot;Renewal&quot; product would only extend that same Plan rather than switch it. 2. If this isn't natively supported, is there a documented plugin trigger/hook we could use to build a small custom plugin that detects &quot;this order is a renewal of an existing subscription&quot; and then automatically changes the customer's group / re-associates the subscription with a different Plan? We noticed hooks like getSubscriptionsRenewals in the changelog — would that (or another trigger) be the right place to act on this?  We have a local test environment (WAMP server) where we can safely try out any suggested configuration or custom plugin before applying it to our live site.  Any guidance on the best approach (native configuration vs. custom plugin, and which hook to use) would be very helpful.  Thank you!")* was created by *[admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")*

-- HikaShop version -- : 6.5.2
-- Joomla version -- : 6.1.3
-- PHP version -- : 8.4.25

Hello,

We use HikaShop (latest version, 6.5.2) + HikaSerial/HikaSubscription (latest version, 6.1.1) for a magazine subscription business, and we have a workflow question about automating something we currently do manually.

Our setup:
- Product A ("New customer"): sold to first-time subscribers. It creates a subscription (Plan A) and, via the Group Subscriber action, puts the customer in Group A. Group A gives access to 1 year of magazine issues (current year only).
- Product B ("Renewal"): when an existing customer renews, we currently manually move them to a different subscription setup: we assign Product B, which is meant to link them to Group B instead. Group B gives access to 2 years of issues (current year + previous year).

Right now, every time a Product A customer renews, a staff member manually switches them over to the Group B / Plan B setup so they get 2-year access. We would like this to happen automatically, without manual intervention, the first time (or every time) a Product A subscription is renewed.

Questions:
1. Is there a native way, using the Plan relation types (Creation / Creation then Renewal / Renewal or Creation / Renewal) and the Group Subscriber plugin, to have a renewal product point to a different Plan/Group than the one used at initial creation? From the documentation, it looks like a subscription stays tied to the Plan it was created with, so a "Renewal" product would only extend that same Plan rather than switch it.
2. If this isn't natively supported, is there a documented plugin trigger/hook we could use to build a small custom plugin that detects "this order is a renewal of an existing subscription" and then automatically changes the customer's group / re-associates the subscription with a different Plan? We noticed hooks like getSubscriptionsRenewals in the changelog — would that (or another trigger) be the right place to act on this?

We have a local test environment (WAMP server) where we can safely try out any suggested configuration or custom plugin before applying it to our live site.

Any guidance on the best approach (native configuration vs. custom plugin, and which hook to use) would be very helpful.

Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDgxMS1hdXRvLXN3aXRjaC1zdWJzY3JpYmVyLXRvLWRpZmZlcmVudC1wbGFuLWdyb3VwLW9uLXJlbmV3YWwtaGlrYXN1YnNjcmlwdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

1 month 3 weeks ago [\#373345](#373345) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Auto-switch subscriber to different Plan/Group on renewal (HikaSubscription](/forum/25-install-update/910811-auto-switch-subscriber-to-different-plan-group-on-renewal-hikasubscription#373345 "-- HikaShop version -- : 6.5.2 -- Joomla version -- : 6.1.3 -- PHP version -- : 8.4.25  Hello,  We use HikaShop (latest version, 6.5.2) + HikaSerial/HikaSubscription (latest version, 6.1.1) for a magazine subscription business, and we have a workflow question about automating something we currently do manually.  Our setup: - Product A (&quot;New customer&quot;): sold to first-time subscribers. It creates a subscription (Plan A) and, via the Group Subscriber action, puts the customer in Group A. Group A gives access to 1 year of magazine issues (current year only). - Product B (&quot;Renewal&quot;): when an existing customer renews, we currently manually move them to a different subscription setup: we assign Product B, which is meant to link them to Group B instead. Group B gives access to 2 years of issues (current year + previous year).  Right now, every time a Product A customer renews, a staff member manually switches them over to the Group B / Plan B setup so they get 2-year access. We would like this to happen automatically, without manual intervention, the first time (or every time) a Product A subscription is renewed.  Questions: 1. Is there a native way, using the Plan relation types (Creation / Creation then Renewal / Renewal or Creation / Renewal) and the Group Subscriber plugin, to have a renewal product point to a different Plan/Group than the one used at initial creation? From the documentation, it looks like a subscription stays tied to the Plan it was created with, so a &quot;Renewal&quot; product would only extend that same Plan rather than switch it. 2. If this isn't natively supported, is there a documented plugin trigger/hook we could use to build a small custom plugin that detects &quot;this order is a renewal of an existing subscription&quot; and then automatically changes the customer's group / re-associates the subscription with a different Plan? We noticed hooks like getSubscriptionsRenewals in the changelog — would that (or another trigger) be the right place to act on this?  We have a local test environment (WAMP server) where we can safely try out any suggested configuration or custom plugin before applying it to our live site.  Any guidance on the best approach (native configuration vs. custom plugin, and which hook to use) would be very helpful.  Thank you!")*

Hello,

Thank you for your feedback!

1. Since you want to move to a different "plan", we can't call it "renewal" but it's more an "upgrade" (migration from a plan to another).
The "upgrade" can also extend the subscription with a specified duration. There are few different ways to extend the duration (set-up via the config)
The "upgrade mode" can be "use max between upgrade and end date" or "extend end date".

2. If you want to implement your own custom rules, you'll find a lot of various triggers in HikaSubscription:
[ www.hikashop.com/support/documentation/1...#subscription\_plugin](https://www.hikashop.com/support/documentation/125-hikaserial-developer.html#subscription_plugin)
The "onBeforeSubscriptionUpdate" allows you to interact with the subscription before its modification in the database ; but if you want to perform "group modification" it would require some code (some could be available via the HikaSubscription core).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDgxMS1hdXRvLXN3aXRjaC1zdWJzY3JpYmVyLXRvLWRpZmZlcmVudC1wbGFuLWdyb3VwLW9uLXJlbmV3YWwtaGlrYXN1YnNjcmlwdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")**
- [![admin@sepim.gr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile") Topic Author
- [ Offline](/forum/user/48075-admin-sepim-gr)

Less More

- Posts: 13
- Thank you received: 1
-
-

1 month 3 weeks ago -  1 month 3 weeks ago [\#373352](#373352) by [admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")  Replied by *[admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")* on topic *[Auto-switch subscriber to different Plan/Group on renewal (HikaSubscription](/forum/25-install-update/910811-auto-switch-subscriber-to-different-plan-group-on-renewal-hikasubscription#373352 "-- HikaShop version -- : 6.5.2 -- Joomla version -- : 6.1.3 -- PHP version -- : 8.4.25  Hello,  We use HikaShop (latest version, 6.5.2) + HikaSerial/HikaSubscription (latest version, 6.1.1) for a magazine subscription business, and we have a workflow question about automating something we currently do manually.  Our setup: - Product A (&quot;New customer&quot;): sold to first-time subscribers. It creates a subscription (Plan A) and, via the Group Subscriber action, puts the customer in Group A. Group A gives access to 1 year of magazine issues (current year only). - Product B (&quot;Renewal&quot;): when an existing customer renews, we currently manually move them to a different subscription setup: we assign Product B, which is meant to link them to Group B instead. Group B gives access to 2 years of issues (current year + previous year).  Right now, every time a Product A customer renews, a staff member manually switches them over to the Group B / Plan B setup so they get 2-year access. We would like this to happen automatically, without manual intervention, the first time (or every time) a Product A subscription is renewed.  Questions: 1. Is there a native way, using the Plan relation types (Creation / Creation then Renewal / Renewal or Creation / Renewal) and the Group Subscriber plugin, to have a renewal product point to a different Plan/Group than the one used at initial creation? From the documentation, it looks like a subscription stays tied to the Plan it was created with, so a &quot;Renewal&quot; product would only extend that same Plan rather than switch it. 2. If this isn't natively supported, is there a documented plugin trigger/hook we could use to build a small custom plugin that detects &quot;this order is a renewal of an existing subscription&quot; and then automatically changes the customer's group / re-associates the subscription with a different Plan? We noticed hooks like getSubscriptionsRenewals in the changelog — would that (or another trigger) be the right place to act on this?  We have a local test environment (WAMP server) where we can safely try out any suggested configuration or custom plugin before applying it to our live site.  Any guidance on the best approach (native configuration vs. custom plugin, and which hook to use) would be very helpful.  Thank you!")*

Hi Jerome,

Thank you very much, this is very helpful, the "upgrade" concept sounds like exactly what we need.

A few follow-up questions before we test it on our staging environment (WAMP):

1. Can the customer perform the "upgrade" themselves from the front-end (e.g. from their "My subscriptions" page), or does it always require an admin/staff action from the backend? We'd like our customers to be able to self-serve if possible.
2. When the upgrade happens (whether triggered by the customer or by staff), does the Group Subscriber action of the new plan (Plan Β) get applied automatically, will the customer automatically be added to Group B and removed from Group A, the same way it works for a normal plan activation?
3. To clarify our use case: the subscription duration should stay exactly 1 year at each renewal (just like a normal yearly renewal), the only difference with Plan B is that it gives access to 2 years' worth of magazine issues (current + previous year), not a 2-year subscription duration. So after the first upgrade, we'd expect this to keep working the same way every year (Plan B renewing itself for 1 year at a time, keeping the 2-year content access). Given that, which upgrade mode would you recommend, and once a subscription has been upgraded to Plan B, do subsequent renewals stay on Plan B automatically, or would we need to configure a separate "renewal" product specifically for Plan B as well?
4. Is it possible to hide the "upgrade" product from customers entirely and only trigger it ourselves from the backend (e.g. from the Subscription listing), in case we prefer to keep this as a manual-but-simplified step rather than fully self-service?

Thanks again for your help, this has clarified things a lot.

Best regards

Last edit: 1 month 3 weeks ago by [admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDgxMS1hdXRvLXN3aXRjaC1zdWJzY3JpYmVyLXRvLWRpZmZlcmVudC1wbGFuLWdyb3VwLW9uLXJlbmV3YWwtaGlrYXN1YnNjcmlwdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

1 month 3 weeks ago [\#373378](#373378) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Auto-switch subscriber to different Plan/Group on renewal (HikaSubscription](/forum/25-install-update/910811-auto-switch-subscriber-to-different-plan-group-on-renewal-hikasubscription#373378 "-- HikaShop version -- : 6.5.2 -- Joomla version -- : 6.1.3 -- PHP version -- : 8.4.25  Hello,  We use HikaShop (latest version, 6.5.2) + HikaSerial/HikaSubscription (latest version, 6.1.1) for a magazine subscription business, and we have a workflow question about automating something we currently do manually.  Our setup: - Product A (&quot;New customer&quot;): sold to first-time subscribers. It creates a subscription (Plan A) and, via the Group Subscriber action, puts the customer in Group A. Group A gives access to 1 year of magazine issues (current year only). - Product B (&quot;Renewal&quot;): when an existing customer renews, we currently manually move them to a different subscription setup: we assign Product B, which is meant to link them to Group B instead. Group B gives access to 2 years of issues (current year + previous year).  Right now, every time a Product A customer renews, a staff member manually switches them over to the Group B / Plan B setup so they get 2-year access. We would like this to happen automatically, without manual intervention, the first time (or every time) a Product A subscription is renewed.  Questions: 1. Is there a native way, using the Plan relation types (Creation / Creation then Renewal / Renewal or Creation / Renewal) and the Group Subscriber plugin, to have a renewal product point to a different Plan/Group than the one used at initial creation? From the documentation, it looks like a subscription stays tied to the Plan it was created with, so a &quot;Renewal&quot; product would only extend that same Plan rather than switch it. 2. If this isn't natively supported, is there a documented plugin trigger/hook we could use to build a small custom plugin that detects &quot;this order is a renewal of an existing subscription&quot; and then automatically changes the customer's group / re-associates the subscription with a different Plan? We noticed hooks like getSubscriptionsRenewals in the changelog — would that (or another trigger) be the right place to act on this?  We have a local test environment (WAMP server) where we can safely try out any suggested configuration or custom plugin before applying it to our live site.  Any guidance on the best approach (native configuration vs. custom plugin, and which hook to use) would be very helpful.  Thank you!")*

Hello,

1. The upgrade can be done by the customer via its subscription listing.

2. Since the plan change, the previous plan group will be removed while the new plan group will be applied.

3. Yes you need renewal for all your plans. The "upgrade" allow to move from one plan to another.

4. The upgrade product should be hidden by default.
Like the renewals. it's not product that customer can by like that: it requires to be link with an active subscription.
HikaSerial doesn't add the interface in the product page ; we started to implement it but the feature was not very "useful" for customers.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDgxMS1hdXRvLXN3aXRjaC1zdWJzY3JpYmVyLXRvLWRpZmZlcmVudC1wbGFuLWdyb3VwLW9uLXJlbmV3YWwtaGlrYXN1YnNjcmlwdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")**
- [![admin@sepim.gr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile") Topic Author
- [ Offline](/forum/user/48075-admin-sepim-gr)

Less More

- Posts: 13
- Thank you received: 1
-
-

1 month 3 weeks ago [\#373380](#373380) by [admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")  Replied by *[admin@sepim.gr](/forum/user/48075-admin-sepim-gr "View admin@sepim.gr's Profile")* on topic *[Auto-switch subscriber to different Plan/Group on renewal (HikaSubscription](/forum/25-install-update/910811-auto-switch-subscriber-to-different-plan-group-on-renewal-hikasubscription#373380 "-- HikaShop version -- : 6.5.2 -- Joomla version -- : 6.1.3 -- PHP version -- : 8.4.25  Hello,  We use HikaShop (latest version, 6.5.2) + HikaSerial/HikaSubscription (latest version, 6.1.1) for a magazine subscription business, and we have a workflow question about automating something we currently do manually.  Our setup: - Product A (&quot;New customer&quot;): sold to first-time subscribers. It creates a subscription (Plan A) and, via the Group Subscriber action, puts the customer in Group A. Group A gives access to 1 year of magazine issues (current year only). - Product B (&quot;Renewal&quot;): when an existing customer renews, we currently manually move them to a different subscription setup: we assign Product B, which is meant to link them to Group B instead. Group B gives access to 2 years of issues (current year + previous year).  Right now, every time a Product A customer renews, a staff member manually switches them over to the Group B / Plan B setup so they get 2-year access. We would like this to happen automatically, without manual intervention, the first time (or every time) a Product A subscription is renewed.  Questions: 1. Is there a native way, using the Plan relation types (Creation / Creation then Renewal / Renewal or Creation / Renewal) and the Group Subscriber plugin, to have a renewal product point to a different Plan/Group than the one used at initial creation? From the documentation, it looks like a subscription stays tied to the Plan it was created with, so a &quot;Renewal&quot; product would only extend that same Plan rather than switch it. 2. If this isn't natively supported, is there a documented plugin trigger/hook we could use to build a small custom plugin that detects &quot;this order is a renewal of an existing subscription&quot; and then automatically changes the customer's group / re-associates the subscription with a different Plan? We noticed hooks like getSubscriptionsRenewals in the changelog — would that (or another trigger) be the right place to act on this?  We have a local test environment (WAMP server) where we can safely try out any suggested configuration or custom plugin before applying it to our live site.  Any guidance on the best approach (native configuration vs. custom plugin, and which hook to use) would be very helpful.  Thank you!")*

Hi,

Thank you very much for your help; I really appreciate it!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDgxMS1hdXRvLXN3aXRjaC1zdWJzY3JpYmVyLXRvLWRpZmZlcmVudC1wbGFuLWdyb3VwLW9uLXJlbmV3YWwtaGlrYXN1YnNjcmlwdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.077 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
