[Question] WebShop Check if the person donated.

Results 1 to 7 of 7
  1. #1
    Newbie anarhist94 is offline
    MemberRank
    Apr 2009 Join Date
    14Posts

    [Question] WebShop Check if the person donated.

    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.


  2. #2
    Elite Member MatreX is offline
    Member +Rank
    Sep 2004 Join Date
    U.s.ALocation
    236Posts

    Re: [Question] WebShop Check if the person donated.

    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.

  3. #3
    Newbie anarhist94 is offline
    MemberRank
    Apr 2009 Join Date
    14Posts

    Re: [Question] WebShop Check if the person donated.

    That's what i`m doing but I want it to be automatic =[

  4. #4
    Grand Master GlaphanKing is offline
    Grand MasterRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,593Posts

    Re: [Question] WebShop Check if the person donated.

    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.

  5. #5
    Newbie anarhist94 is offline
    MemberRank
    Apr 2009 Join Date
    14Posts

    Re: [Question] WebShop Check if the person donated.

    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..

  6. #6
    Elite Member ClownOfValetine is offline
    Member +Rank
    Apr 2009 Join Date
    135Posts

    Re: [Question] WebShop Check if the person donated.

    in theory you could make somthing like red chips as donation points but dont know if that can be automated

  7. #7
    Sorcerer Supreme AccountDeleted is offline
    Member +Rank
    Jul 2008 Join Date
    296Posts

    Re: [Question] WebShop Check if the person donated.

    Look up how to code with paypal's IPN



Advertisement