[Dev Version] Cannot buy items / not reading funds #161


  • New
  • Defect
Open
Assigned to _ForgeUser4509640
  • _ForgeUser7441696 created this issue Feb 12, 2012

    It seems the dev version doesnt do the iConomy link properly when trying to buy something.

    http://i.imgur.com/zqIdm.png

    I should be able to buy one of the iron, or ten, but no matter what I enter I get the 'inusfficient funds' message.

    (using iConomy link)

  • _ForgeUser7441696 added the tags New Defect Feb 12, 2012
  • _ForgeUser7441696 posted a comment Feb 16, 2012

    I know that the issue is somewhere here http://pastie.org/private/utyhw4ewwkvzschxqyp81a

    but I simply cant pinpoint it.

    This line checks for available money if ($user_data->money >= ($auction_info[0]->price * $quant)){

    so something is wrong - but what?

  • _ForgeUser7441696 posted a comment Feb 16, 2012

    Solved it!

    Had to change the line into if ($iconomy_data->balance >= ($auction_info[0]->price * $quant)){ instead of $user_data->money

    Can be closed.


To post a comment, please login or register a new account.