Man, work has kept me busy these past few weeks. Now that I'm back, I have a question. Is it possible to run FSN locally while hosting the PayPal donations on an external site?
Short answer - kind off, let me explain how this works:
The ipn listener (instant paypal notification - actual paypal name, every notification app out there needs to implement something like this) is implemented in FSN.jar
Paypal is "talking" with the listener when
- there is new activity on your paypal account
- and it was triggered by donation page
The donation page can be hosted in different server but in the end it will need to have IP or DNS name in it, pointing paypal to our FSN.jar (when people donate to you paypal will be notified and in response it will notify our FSN.jar when the transaction will be approved/rejected/completed)
So you can save the donation page (html, css) to somewhere else and link that "somewhere else" URL into your twitch panel but, as I said in the end it works the same way as if you would link it directly to your PC IP, you still need to:
- have ports opened/redirected, firewall need to allow access,
- users that want to know what is your IP will know it (with little work, even if you hide it behind DNS name with something like: dyndns, duckdns hidemyip or something else), there is always that 1% of idiots that will try to ddos you, I'm not saying it will happen but there is a risk
- you cant access the app from localhost, you would need to run it like this http://100.20.21.20/dashboard (or DNS instead of IP), you would need to register such url in twitch, to have correct twitch redirection url and client id (as in dashboard login page)
- it is a lot of work to set this up (probably not all would be able to set it up on their own)
Now I was successfully able to set paypal locally (open ports, DNS instead of localhost, replacing the original cliend id) but if you are not PC savvy person and you don't know the half of what I wrote above I wouldn't recommend it.
It is way, way easier to run it from a server (openshift but really any server with java support, linux or windows) and not worry about anything that I just described.
Again short answer is yes but it is not worth the effort you need to put into it