Jump to content

Purchase Notifications (Support)

Featured Replies

Posted
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

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?
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?

  • 2 weeks later...
  • Author
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.
  • 2 weeks later...

Awesome, when they click the notification. Will it take them directly to the product?

  • Author
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.

XH5FSRG.png

  • Author
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.

I didn’t realize this was a bug. I thought it was by design. Would be great to get it working!

  • Author
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.

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

  • Author
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?

DYza6iJ.png

NI06FFc.png

Mine is exactly like the screen shot you posted

any updates?

  • Author

New version uploaded that fixes that bug and adds support for "Purchase Renewed" and "Purchase Transferred" notifications.

  • 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}

  • 2 weeks later...
  • Author
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.

Archived

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

Recently Browsing 0

  • No registered users viewing this page.