Buy Now button help

RiceX1055
Contributor
Contributor

Okay, so I have a server and website for a game. On the website I want the players to be able to buy in game items with real money. A donation as some games call them. My problems is, I don't know how to tell if they actually paid with paypal, or if they just ran the script on my website. How can I make it so the script that credits them with the items, checks to see if the transaction was actually made?

 

Thanks,

-----RiceX1055

Login to Me Too
2 REPLIES 2

skier
Advisor
Advisor

One method would be implement PayPal's IPN feature.  You can learn more here.

 

Regards,

 

skier

Login to Me Too

RiceX1055
Contributor
Contributor

Well I had tried to use an IPN listener using java. However I couldn't figure out how to make it listen for the IPN that paypal would send, seeing how it sends the IPN to an URL, rather than an IP Adress and port.

 

---RiceX1055

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.