Jump to content

Purchase Notifications (Support)


Michael.J

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...
Quote

Sadly doesn’t work when purchases are made from downloads marketplace app, which is the whole reason I bought this 😢😭

I've got some test code that should fix this. If anyone has ftp access to their ipb files and willing to test this, please let me know.

Link to comment
Share on other sites

  • 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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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