Red Squirrel
No Lifer
I am implementing a new donation system on my game server, where when people donate, they will get points added to their game account.
Basically, they will double click a donation stone in the game, it will generate a random ID tied to their account, and open their browser to the donate page, with that ID embedded in it. They enter the amount they want to donate, and hit submit.
At this point I get an IPN notification, and it will set a flag in the database so that transaction ID is cleared, and the player will get their points.
The problem I am having is, how do I send the generated transaction ID to paypal and how do I make it get included in the IPN message? I can't seem to find anything about that in their documentation.
Or, am I overthinking this, is there a better way of doing this, perhaps some kind of 3rd party credit card handler that has a better API or something?
Basically, they will double click a donation stone in the game, it will generate a random ID tied to their account, and open their browser to the donate page, with that ID embedded in it. They enter the amount they want to donate, and hit submit.
At this point I get an IPN notification, and it will set a flag in the database so that transaction ID is cleared, and the player will get their points.
The problem I am having is, how do I send the generated transaction ID to paypal and how do I make it get included in the IPN message? I can't seem to find anything about that in their documentation.
Or, am I overthinking this, is there a better way of doing this, perhaps some kind of 3rd party credit card handler that has a better API or something?