renlok / WeBid

The official WeBid github fork
http://www.webidsupport.com
114 stars 125 forks source link

setup fee issue #510

Closed pani100 closed 5 years ago

pani100 commented 6 years ago

https://github.com/renlok/WeBid/blob/1a73eb9fc1e677dac3ab69b055ee28b1b22a1d20/includes/functions_sell.php#L401 This line has got an error and does not calculate any setup fees. The column 'setup' does not exist in the fees table, it actually needs to be 'setup_fee' if ($minimum_bid >= $row['fee_from'] && $minimum_bid <= $row['fee_to'] && $row['type'] == 'setup_fee') {

pani100 commented 6 years ago

Just seen another issue posted by KBzee, which relates to the same problem

KBzee commented 6 years ago

Ah, yes, I think I saw something similar and added that as well -- I'll check this line too :) thx

KBzee commented 6 years ago

ok, checked that line (403 on mine) - I set that one, but still has problems when it gets to the next page (to confirm listing). A small percentage gets 'lost' - ie. Listing fee is first calculated as $1.49 - on the next page it shows as $0.99. There must be another line with an error somewhere. I had tried so many possible 'fixes' - I may have applied one of the 'fixes' in relation to another earlier error (another user had) where refreshing page/going back to edit listing was double charging/calculating fees. I'll have a look at that.