I wish to run the java IPN Listener for PayPal locally. I cant find the ipnListener.jar nor the configuration file in version 1.062 as described in PaypalNotificationsHowTo.pdf on your page.
Also i dont want to use the included paypal_button.html and prefer people to go directly to the paypal donation page.
Please let me know how to accomplish this.
Thank you.
The old way of running IPN listener is obsolete as are those documents - I specifically pointed that out in the document - I might remove it altogether to avoid confusion.
From document you are referring to
!WARNING!
Instruction below are partially obsolete, html files described below still can be accessed in new FSN notification Dashboard.
Details in my youtube and in ibs forum.
Running FSN locally is not complicated but having paypal notification while running it locally is.
I would recommend to use openshift, paypal setup is easier, user friendly and it takes 5-10 minute to set up
https://www.youtube.com/watch?v=K-GbVlxQWdo
How to run FSN.jar locally:
If you still want to run it locally then follow this (assuming you will use default port 8080):
- FSN is running on your PC
- Enable port forwarding in your router, you need to be able to access your computer using IP:8080 or DNSNAME:8080
- Log in to dashboard and go to wizard and fill paypal config according to comments
- If you want to use DNS name instead of your IP use services like DuckDNS or NoIP or FreeDNS - well if you have dynamic IP you will need to use one of those to compensate for IP change. If you use those services you will need to go back to config and change some of the links (that have your IP in it) to new DNS URL, follow the comments
- If you dont want to use FSN paypal form then it is possible to use only paypal button link but you would need to provide additional parameters to the link or you would need to set IPN listener URL directly in paypals IPN config (IP:PORT):
The additional parameter is:
- redirect url
- and I dont remember if you need anything else. I would need to take a look at the code to give you the needed fields but you can find it somewhere in documentation
One thing is for sure, if you do it like this then you wont be able to have comments and you wont have a nick name.
I think last person who successfully did set it up on local computer was, if I remember correctly BullHorn, but I convinced him that it is easier to just host it on a server.
FSN started as local application, originally only supporting twitch, then I added IPNListener.jar but paypal was complicated to set up.
Since then FSN evolved the IPNListener is actually integrated now into FSN.jar and there is configuration wizard (that you access after you start the FSN.jar), but paypal is still too complicated to run locally - it is possible but the struggle you will have to correctly configure it is to much, just ask BullHorn.
To sum my long rant:
- I recommend to host the app on the server
- If you dont want to use custom paypal form thats fine (you wont have comment and twitch name in the notification)
- If not using paypal form you will need to set IPN listener URL in Paypal's IPN config page on paypal.com or you will need to add one parameter to the button url
- The IPN URL that should be used by paypal can be fond in configuration wizard - or you will add that redirect_url to button link