Hai,
I have finally returned to coding after I have been working hard on my server. I decided to finally release LuaPay since it was sitting on my desktop. I have the first release. The database has been cleaned. This is just a fun idea. Let me start off by saying, currently it isn't 1 account per IP. Its as many. Yes, that means you can generate credits. I do not mind so much but in the future I may fix this and even include an email confirm feature.
computer
The security of LuaPay is really high. All $_POST or $_GET variables are treated for any special characters, this stops MySQL injection and a whole list off other possible hacks. Every password is hashed is SHA-512 meaning that a password that was once ~10 characters is now 64 and completely encoded. Currently, there is no decoder for SHA-512. This makes all passwords 99.99% safe. Well what about the other 00.01%? Well that would be the smallest chance of a SHA-512 decoder to be made and then to get into the database. Thats not going to happen….
Ok heres the good stuff :)/>
You can grab the API by simply pasting the following into your computer.
pastebin get fj1iQQdH luapay
http://pastebin.com/fj1iQQdH
The HTTP API needs to be enabled for the use of this API.
API Functions
Spoiler
Yea, currently there isn't a ton of functions but it will do for a AppStorelogin(username, password)
returns true if the login details are correct.
Useful for a simple login.
changepass(user, pass, newpass)
returns true if the login details are correct and if the password changed.
Used to change a users password
pay(user, pass, touser, amount)
returns true the amount transfered (false if the account didnt have enough money)
Useful to pay an account.
balance(user, pass)
returns the current balance of the login.
Useful for a balance checker