Jump to content

Purchase Notifications (Support)


Michael.J
 Share

Recommended Posts

Send inline notifications to members for some purchase actions in the Commerce application. For example if a new purchase is generated or if a purchase has expired.

Features

  • Send inline notifications to supported Commerce purchase actions. (Email notifications are NOT supported.)
  • Set which products will be excluded from receiving notifications.
  • Supported currently are "New Purchase Generated" & "Purchase Expired" purchase actions.

Requirements: Commerce Application

Link to comment
Share on other sites

A few questions on this:

  • Does this work with commerce subscriptions?
  • For expired subscriptions, is there a way to have a notification come up every X number of days? Lets say 90 days for instance, as a reminder.
  • After installing, will all expired subscriptions receive a notification or just future expired subscriptions?
  • Once the notification clears, does it ever come up again if the subscription remains expired?
Link to comment
Share on other sites

On 12/12/2019 at 9:37 PM, AlexWebsites said:

A few questions on this:

  • Does this work with commerce subscriptions?
  • For expired subscriptions, is there a way to have a notification come up every X number of days? Lets say 90 days for instance, as a reminder.
  • After installing, will all expired subscriptions receive a notification or just future expired subscriptions?
  • Once the notification clears, does it ever come up again if the subscription remains expired?

Any word on this?

Link to comment
Share on other sites

  • 2 weeks later...
On 12/13/2019 at 1:37 PM, AlexWebsites said:

A few questions on this:

  • Does this work with commerce subscriptions?
  • For expired subscriptions, is there a way to have a notification come up every X number of days? Lets say 90 days for instance, as a reminder.
  • After installing, will all expired subscriptions receive a notification or just future expired subscriptions?
  • Once the notification clears, does it ever come up again if the subscription remains expired?
  1. I haven't specifically tested with it but it does share the same code so shouldn't be a problem for new purchases and expired purchase.
  2. No this is just sending the notification once when the Commerce app pushes it. I built another plugin "Expired Purchase Followup" that is specifically designed for "followup" alerts instead.
  3. Only expirations from after installing the app.
  4. It acts as a normal inline notification, so when it clears itself, it is gone.
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

I tried to uninstall this thing and get the following error 
 

DELETE FROM `core_item_markers` WHERE item_app='purchasenotifications'
IPS\Db\Exception: Lock wait timeout exceeded; try restarting transaction (1205)
#0 /home/admin/web/me.org/public_html/forum/system/Db/Db.php(1280): IPS\_Db->preparedQuery('/*IPS\\_Applicat...', Array)
#1 /home/admin/web/me.org/public_html/forum/system/Application/Application.php(3997): IPS\_Db->delete('core_item_marke...', Array)
#2 /home/admin/web/me..org/public_html/forum/applications/core/modules/admin/applications/applications.php(1163): IPS\_Application->delete()
#3 /home/admin/web/me.org/public_html/forum/system/Dispatcher/Controller.php(85): IPS\core\modules\admin\applications\_applications->delete()
#4 /home/admin/web/me.org/public_html/forum/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
#5 /home/admin/web/me.org/public_html/forum/applications/core/modules/admin/applications/applications.php(43): IPS\Node\_Controller->execute()
#6 /home/admin/web/me.org/public_html/forum/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\admin\applications\_applications->execute()
#7 /home/admin/web/me.org/public_html/forum/admin/index.php(14): IPS\_Dispatcher->run()
#8 {main}

Link to comment
Share on other sites

  • 2 weeks later...
On 2/18/2020 at 10:23 AM, SJ77 said:

DELETE FROM `core_item_markers` WHERE item_app='purchasenotifications'
IPS\Db\Exception: Lock wait timeout exceeded; try restarting transaction (1205)

Looks to be an issue with your database or server timing out. I would retry during a quiet time for your servers timezone.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...