Jump to content

WHMCS iPhone PUSH Notifications!


Recommended Posts

  • Replies 91
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
Awesome addon, thanks! Hopefully iWHMCS will see push notifications in the future but this is the next best thing.

 

Hi,

 

I believe this may have been mentioned on the forum elsewhere but will reiterate it here. Due to the nature of how push notifications works it requires a bit more work to accomplish with iWHMCS.

 

Most iPhone apps that have push notifications are not for software that you are able to download and install on your own server. Instead they are usually for SAAS services which reside on the company's server who owns the app and the service. This allows them to easily generate the notifications for any events because they have complete control of the server. In our case, we do not have control of each of your servers.

 

The process of a push notification goes as such:

1. An event occurs which alerts the server to send a push notification

2. The server contacts Apple's server to notify them of the event and which phones to send it to

3. Apple takes care of the rest

 

For this to work with WHMCS we would have to do the following.

1. Setup a dedicated push notification server.

2. An event occurs on a WHMCS installation, and then via a hook or something similar, it would contact our dedicated push notification server. It would need to send which event occured and the identifying information on which phone(s) need to get the notification. This would require writing a dedicated API to receive notifications from ALL whmcs installations around the web.

3. Our server receives these messages and turns around and contacts Apple's server. Therefore the process has to take 2 hops to complete.

 

With all of that said. This does not mean it is impossible, but it would require us setting up a server powerful enough to handle the bandwidth of all incoming messages from all WHMCS installations that are using the app. This would also require us to write an API to handle all such requests. It would also require us to write a set of hooks, or embed new code into WHMCS which triggers each notification. I will speak to Matt about this but wanted to show that it is not something we can implement in a few hours :)

Link to comment
Share on other sites

Hi Ben,

 

It would be excellent if you guys could come up with something, built into WHMCS, but there is no rush as my Prowl integration works perfectly for now.

 

Maybe an on/off option...

 

Maybe you guys could speak to Prowl directly, Zachary West (Prowl Dev) seems a nice guy, and you could possibly arrange something with him?

 

Also, while I'm speaking to the iWHMCS dev directly, when I want to unsuspend an account in iWHMCS, it scrolls to far down the page and the bottom menu covers the unsuspend button... :( But other than, it works well! :)

Link to comment
Share on other sites

Hi Ben,

 

It would be excellent if you guys could come up with something, built into WHMCS, but there is no rush as my Prowl integration works perfectly for now.

 

Maybe an on/off option...

 

Maybe you guys could speak to Prowl directly, Zachary West (Prowl Dev) seems a nice guy, and you could possibly arrange something with him?

 

Also, while I'm speaking to the iWHMCS dev directly, when I want to unsuspend an account in iWHMCS, it scrolls to far down the page and the bottom menu covers the unsuspend button... :( But other than, it works well! :)

 

This should be fixed in the next release. But can you let me know the device and version you are using? (i.e. iPhone 3GS, etc)

Link to comment
Share on other sites

  • 1 month later...

I apologize for this question; but I just downloaded and installed this app, signed up and purchased prowl we added the api key in the Admin Addon Section but we are not getting any notices. Reading the steps, it seems I am confused:

 

http://www.whmcs.com/members/communityaddons.php?action=viewmod&id=208

 

On Set #4 it says "4. Upload the files to your WHMCS Includes folder & one to your Hook folder"

 

But ver. 1.3 says to upload everything to the /module/addons which is were we added everything. Is this correct or am I totally missing something?

 

Update *** Our activity Log shows "Error: Validation Error: Event is missing "

 

Thanks!

Edited by rodeoXtreme
Link to comment
Share on other sites

I apologize for this question; but I just downloaded and installed this app, signed up and purchased prowl we added the api key in the Admin Addon Section but we are not getting any notices. Reading the steps, it seems I am confused:

 

http://www.whmcs.com/members/communityaddons.php?action=viewmod&id=208

 

On Set #4 it says "4. Upload the files to your WHMCS Includes folder & one to your Hook folder"

 

But ver. 1.3 says to upload everything to the /module/addons which is were we added everything. Is this correct or am I totally missing something?

 

Update *** Our activity Log shows "Error: Validation Error: Event is missing "

 

Thanks!

 

Resolved - because I am an idiot; I forgot to label the events.

Link to comment
Share on other sites

Thanks Keith, glad you sorted it! :) I know.. makes you realise how busy support is.

 

That isn't currently possible, and would be difficult to implement, without giving each user a different Prowl account, API Key and setting it up in WHMCS. Plus modifying the module to account for all of this. I really don't have the time to make such big changes to it at the moment. Any other suggestions welcome though! :)

 

Good luck with it!

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated