Project Detail

Php bug in auction script. The code is located in 2 files, one works and other doesn't work  

Php bug in auction script. The code is located in 2 files, one works and other doesn't work is project number 437833
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status: Cancelled

Selected Providers: -

Budget: $30-250

Created: 05/20/2009 at 6:00 EDT

Bid Count: 18

Average Bid:
N/A

05/30/2009 at 6:00 EDT

Project Creator: sonyroid
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (3 reviews)

Bid On This Project
 

Description

Hello,



I have a customer auction script and it has a bug.



The script has got 3 types of selling ways:



- Traditional Auction: 1 item to sale.

- Dutch auction: +1 items to sale.

- Buy it now: 1 or more items to sale.



When the people win the dutch auction the fee is charged to the seller account properly. It is a percentage set on admin panel.

For example percentage of final value is 5%. If the seller sold 5 items in 100$ the total final value will be 500$, the fee is up to 25$. It is added to invoice table and all run perfectly.



When the people buy through buy it now method the fee is charged to the seller account properly. It is a percentage set on admin panel too. Same process as above (Dutch Auction)



When the people win an item through Traditional Auction (only 1 item) there is a bug. The fee is charged but with a wrong value, always 0.00$. There is something wrong in that code, seems to be a bad multiplication of quantity requested x0 instead of x1 or missing code. I don't know.



I located the code in both files (Buy it Now process and auctions (traditional and dutch work in the same file). But i don't understand it.



I have the files involved in all process but I haven't got access to server or ftp because they didn't give me owing to the fact that the bug is small.



Thank you very much.

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

Bids are hidden by the project creator. Log in as the project creator or as one of the bidders to view bids. You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


    Bid on this Project