Michael.J Posted December 13, 2019 Posted December 13, 2019 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
AlexWebsites Posted December 13, 2019 Posted December 13, 2019 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?
AlexWebsites Posted December 17, 2019 Posted December 17, 2019 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?
Michael.J Posted December 30, 2019 Author Posted December 30, 2019 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? 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. 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. Only expirations from after installing the app. It acts as a normal inline notification, so when it clears itself, it is gone.
OctoDev Posted January 9, 2020 Posted January 9, 2020 Awesome, when they click the notification. Will it take them directly to the product?
Michael.J Posted January 11, 2020 Author Posted January 11, 2020 On 1/10/2020 at 3:13 AM, OctoDev said: Awesome, when they click the notification. Will it take them directly to the product? To the "purchase" page directly e.g.
Michael.J Posted January 11, 2020 Author Posted January 11, 2020 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.
SJ77 Posted January 12, 2020 Posted January 12, 2020 I didn’t realize this was a bug. I thought it was by design. Would be great to get it working!
Michael.J Posted January 13, 2020 Author Posted January 13, 2020 18 hours ago, SJ77 said: I didn’t realize this was a bug. I thought it was by design. Would be great to get it working! Did you have access to your ipb files or cloud hosted? I was hoping to test this a bit more before releasing.
SJ77 Posted January 13, 2020 Posted January 13, 2020 14 hours ago, Mike John said: Did you have access to your ipb files or cloud hosted? I was hoping to test this a bit more before releasing. Yes but I don’t want to test on my live site
Michael.J Posted January 14, 2020 Author Posted January 14, 2020 13 hours ago, SJ77 said: Yes but I don’t want to test on my live site What do you have set for the following and will confirm works with further testing then?
Michael.J Posted January 16, 2020 Author Posted January 16, 2020 New version uploaded that fixes that bug and adds support for "Purchase Renewed" and "Purchase Transferred" notifications.
SJ77 Posted February 17, 2020 Posted February 17, 2020 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}
Michael.J Posted February 27, 2020 Author Posted February 27, 2020 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.