Continuing on from the Facebook integration (http://www.scirra.com/forum/facebook-online-highscore-table_topic60731.html?KW=) I have now attempted to integrate PayPal into a game and I would like someone to test it out and possibly find any errors I have overlooked. Don't worry, it won't cost you anything as it is in sandbox mode and I wall give you ?1500 to play with, please feel free to have as many goes as you like.
What the program should now do and not do is as follows:
Allow users to play the game unless they are both members and logged in
Only allow logged in members that have paid via PayPal to play the Game
Not allow players to hit refresh, F5 or back back-page in browser
Take a fee off members and redirect them to the game
If either not a member, not logged in or not paid get redirected away from game
If a user tried to hit F5, refresh or back-page they get Kicked off the game and their score isn't counted - helps to prevent cheating
It is easy to follow, just login with Facebook, hit the Pay & Play button, get sent to PayPal sandbox, put in the details below and get redirected to the game. Please feel free to try and break the system and let me know what is needed, and don't forget to pass this on to anyone you think may be interested.