[Question] WebShop Check if the person donated.

🚫
Exiled
Joined
Apr 18, 2009
Messages
12
Reaction score
0
Hello,
I`m making a WebShop, Which is working 100%.
Everything which is left is to check if the person really donated so he can gain the 'Credits' to buy things in the shop =]
Hmm..It should be very simple, But I`ve NO IDEA how to make it to check..

When I`m done with it,
I`ll design it and etc.. and I`ll release it to public.

Thank you,
iLan.
 
Create a new field in the account table called Donation and just edit it yourself every time someone donates then make the checks you need to make in the webshop.
 
Here is what you do. But note that I take no part in getting you burned by Aeonsoft. Anyway,

You need to make a table called donations with accountname, donation amount, and date donated.

There are two ways you can do this. One is you can get the log sheet from paypal on your account to see who donated what. Its not very reliable but you never know it may work for you.

The other thing you can do is go and get OSCommerce. Its an open source shopping cart system built on PHP.

Now Listen carefully.

Look in the checkout files and search around for the PayPal stuff. There is a check everytime a PayPal payment goes through it comes back as successful or not and how much the amount was for.

Its a lot more complicated and more work but you can have it totally automated if you go this route.

The choice is yours. Oh, and look into the PayPal api functions and the DLL file.
 
GalphanKing, Thank you very much for this AWESOME post.
I`m going to check the PHP cary system built 'OSCommerece'..
I`ve made a new row which is 'Credits' in the characters..
One more question,
Do you know how to make the Cash shop work in the game? When I open the Cash Shop it's just a clean window.. I have the Cash Shop images, etc..
 
Back