Free Stream Notifications (Twitch, Paypal, Patreon)

Free Free Stream Notifications (Twitch, Paypal, Patreon)

BobDev

Member
I too thought the email was a little leary too, so I hesitated asking for a long time (The original email came out in March...), but from appearances, paypal-knowledge.com is owned by PayPal Inc.

http://whois.domaintools.com/paypal-knowledge.com
http://whois.domaintools.com/paypal.com

Regardless, I did do a check using the SSL link you provided and it appears all is well!
Thanks for looking into that, appreciate it! :)

On another note, I'm encountering some strange issue with the Dashboard that I cannot isolate.
I thought perhaps the IPN wasn't getting through, but checking (on Openshift) /diy/logs/dashboard.log I see all the verified payments; what is happening is that a payment is triggered but the Dashboard doesn't always report that it's been received (So no alert triggered).

For instance, there were 6 VERIFIED in the log for September 10th, but only the 1st and 5th triggered an alert on the Dashboard. For reference, I'm using the latest JAR from 08/31/2015. I am using Openshift but I have a Bronze plan to stop the gears from going inactive for being idle (I thought this would help, but it has not).

Are there any other logs I can find to see why the IPN is getting verified but not reaching the Dashboard?
VERIFIED - means that the response from IPN was correct but there is also field called status (of the transaction).
If status is not COMPLETED then the notification wont be shown.

For example if someone paid with credit card, paypal will send two notification, one when transaction will go through and another one once it will be finalized, once it will be in COMPLETED state. It may take long time to process credit card transactions (there is possibility that it was finalized after you finished your stream).

Check with your paypal history and check if those people didnt revert those transactions or never finalized them.
Could you send me the log, so that I could check my theory and if there is a problem then work on solution?

Could you also check if you see those notifications in dashboard paypal tab (the panel that shows the list of incoming notifications has other tabs) - that would mean the problem is on javascript side
 
Last edited:

SpazMan777

New Member
VERIFIED - means that the response from IPN was correct but there is also field called status (of the transaction).
If status is not COMPLETED then the notification wont be shown.

For example if someone payed with credit card, paypal will send two notification, one when transaction will go through and another one once it will be finalized, once it will be in COMPLETED state. It may take long time to process credit card transactions (there is possibility that it was finalized after you finished your stream).

Check with your paypal history and check if those people didnt revert those transactions or never finalized them.
Could you send me the log, so that I could check my theory and if there is a problem then work on solution?

Could you also check if you see those notifications in dashboard paypal tab (the panel that shows the list of incoming notifications has other tabs) - that would mean the problem is on javascript side

I emailed the log over just now. :)

[EDIT]: Whoops! I just noticed your edit, to check the Dashboard PayPal tab. The transactions are there. I can send a follow-up screenshot if you wish. They show as records 5, 6, 7, 8, 9 and 10. All the "Payment Status" show Completed here.
 

BobDev

Member
I emailed the log over just now. :)

[EDIT]: Whoops! I just noticed your edit, to check the Dashboard PayPal tab. The transactions are there. I can send a follow-up screenshot if you wish. They show as records 5, 6, 7, 8, 9 and 10. All the "Payment Status" show Completed here.
Quick update, I'm working on larger re-write of FSN, part of it should fix problems with bot and with paypal.
I will double check if those issues are still there before release, hopefully we can eliminate them quickly.
More update on Monday.
 

BobDev

Member
I have been working with new spark version.
This new version supports web socket implementation.

I already ported this to our bot code and I'm going to integrate it to paypal as well.
What that means for us is that we should have direct, two way connection to socket on a server instead of pooling (which is what I'm doing now)

Because it is two way communication, we can have direct notification about paypal donation or subscribers, without worrying about showing it twice.
So far it works great, I still need to do some testing and code improvement on a bot implementation.
Next step will be paypal and then I will release new version, hopefully fixing all the new found issues.

This also makes great leap towards hitbox implementation (websocket support was needed for that), now that spark is supporting websocket hopefully it is coming soonish :).
 

BobDev

Member
FSN v1.088 is out - we are using websocket for internal bot and paypal communication.

[Impl] Websocket is used in bot and in paypal communication
[Fix] Hopefully I fixed missing paypal donations
[Fix] We will see if Bot connectivity improved (it still might be kicked from channel)
[Fix] Patreon fixes, new banner.png can be replaced to change patreon background

It is something new so if you notice something wrong let me know

[Edit] The way Bot works is that you need to have dashboard open.
My future goal is to allow the bot running permanently on a server.
Now if you leave or close dashboard it will disconnect.
 
Last edited:

SpazMan777

New Member
FSN v1.088 is out - we are using websocket for internal bot and paypal communication.

[Impl] Websocket is used in bot and in paypal communication
[Fix] Hopefully I fixed missing paypal donations
[Fix] We will see if Bot connectivity improved (it still might be kicked from channel)
[Fix] Patreon fixes, new banner.png can be replaced to change patreon background

It is something new so if you notice something wrong let me know

[Edit] The way Bot works is that you need to have dashboard open.
My future goal is to allow the bot running permanently on a server.
Now if you leave or close dashboard it will disconnect.

Hi, Bobdev,

I updated to this latest version and when a donation came through, nothing happened again. It shows under the PayPal tab on the Dashboard, but neither triggered any event nor did it save the details to file.

Is there any type of logging I can reference to help isolate the issue? (BTW, just in case you ask, I am using Firefox to ensure the Java applet works; as a reminder there were alerts working before using Java in the version just prior to this one)
 

BobDev

Member
Hi, Bobdev,

I updated to this latest version and when a donation came through, nothing happened again. It shows under the PayPal tab on the Dashboard, but neither triggered any event nor did it save the details to file.

Is there any type of logging I can reference to help isolate the issue? (BTW, just in case you ask, I am using Firefox to ensure the Java applet works; as a reminder there were alerts working before using Java in the version just prior to this one)
That is weird

So how this works now is that allInOne will get direct notification about the donation.
If it is saved in database then it should be shown.

Was the notification show in dashboard, was it in the list (the list where all notifications are shown)?
I assume it wasnt saved to file?

I have sent you email, lets fix this asap.
 

BobDev

Member
Sorry guys, I screwed up during yesterday release, one very bad error snicked in - paypal is not working at all.

I prepared fx already and it can be downloaded now.

FSN v1.089 is out
 

BobDev

Member
One thing that is VERY important that I didnt mention - If you are running FSN on a private server make sure to run FSN on a port that supports Web Socket - if you do not do it then obviously you wont see any notifications.

For openshift everything is done automatically.
For local PC any port should work.
For custom servers - you need to ask for port supporting websocket or read server information (they should have port for that)
 

BobDev

Member
Is it still ok to upgrade from several versions older than current? In my case from1.084 to 1.089? :)
As long as you didn't change javascript loadSubs function or loadPaypal you are good to go.
The css didn't change.

Make backup, just to be sure.
 

Bamse

Member
Sweet, haven't done any changes other than css so I'll give it a shot .... with a backup ofc. Thanks again!
 

BobDev

Member
FSN v1.09
[Fix] Patreon fix - new way of using it

Because Patreon beefed up its security (they had hacker attacks) we no longer can log in to patreon remotely, that means I needed to figure out new way of loging in.
This is a new way of having patreon notifications
 
I don't know why I didn't think of this sooner, but would it be possible to have a drop-down menu under sounds for easy sound clip changes?

Just a quality of life update of sorts.
 

BobDev

Member
I don't know why I didn't think of this sooner, but would it be possible to have a drop-down menu under sounds for easy sound clip changes?

Just a quality of life update of sorts.
Do you mean drop down with all the files (names) in the audio folder?
 

Hotsammysliz

New Member
Hey bud I think your tool is great but I cant seem to find a way to change notification sounds. I extracted the jar into a normal folder structer and found the location but since your tool runs off of the single packaged jar i cant just add another sound in the folder structure and repackage it using somthing like 7zip. I am specifically trying to use the patreon notification in your tool and change that sound. Thanks again for making a great tool.
 

Bamse

Member
Just open up the jar with 7zip, don't extract it. Then just add (drag'n'drop) the audio files from where-ever to the audio folder and you're basically done. Just specify the audio file in the configuration wizard and test it out.
I do this every upgrade and it works like a charm :)
 
Top