is there any auto messaging in hikashubscription?

  • Posts: 201
  • Thank you received: 7
6 months 1 week ago #361463

hi
i want run a subscription system with hikasubscription by hikashop. is it possible to send any notification to user before end time? is there any capability or any advise to implement that?

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
6 months 1 week ago #361465

Hello,

HikaSubscription have a "renewal emails" system, which allow you to create "reminders" which can be send days before (or after) the end of a subscription.
www.hikashop.com/support/documentation/1...html#sub_renew_mails

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 201
  • Thank you received: 7
6 months 1 week ago #361474

i want create SMS plugin to send him an sms notification. is there any advise?

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
6 months 1 week ago #361500

Hello,

The HikaSerial Queue Class doesn't have any plugin trigger.
So if you want to perform SMS notification, the best would be to create a cron plugin and use the same kind of code than the HikaSerial Queue Class (to list the subscriptions and process a queue) but instead of sending email, you will send SMS.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: sadaf3d

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

  • Posts: 201
  • Thank you received: 7
6 months 1 week ago #361502

Hi
Thank you and maybe I can do that.
Have you any plan to add trigger in the future release?

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
6 months 1 week ago #361503

Hello,

If there is a need and it can be useful for the community, yes.
But the trigger should not impact performances, so it should be a one time trigger with the list of elements which will be processed and has been processed (onBefore / onAfter).
Best would be to not perform time consuming tasks during these triggers to not cause a timeout (PHP max execution time).
For your SMS case, I'm not even sure that the trigger will help you a lot, except if you want to send a SMS in the same time than the email ; but then you can use the HikaShop email trigger.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: sadaf3d

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

Moderators: Obsidev
Time to create page: 0.068 seconds
Powered by Kunena Forum