WeBid Bug Tracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000308WeBidAuctionspublic2011-07-24 11:182012-01-10 15:46
Reporterclaudio2834 
Assigned To 
Priority@0@SeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.0.3 
Target VersionFixed in Version1.0.4 
Summary0000308: paypal problem with Dutch action
DescriptionWhen I win a Dutch auction and pay with paypal the total is related to a single object. For example, I win an auction for 10 objects when I pay with paypal I have the total of a single object.

For me the problem is on page pay.php around line 74

$payvalue = ($data['shipping'] == 1) ? $data['shipping_cost'] + $data['bid'] : $data['bid'];

there isn't the parameter of quantity ( qty )

I have tried to replace them with

$payvalue = $data['bid'] * $data['qty'] + $data['shipping_cost'] ;

but I have not solved the problem. I think I mistyped the code.

How can I solve the problem? thanks ( I have version 0.8.5 but this problem is present also on 1.x versions )
TagsNo tags attached.
import_id310
Thread
Attached Files

- Relationships

-  Notes
(0000785)
renlok (administrator)
2011-07-25 09:26
edited on: 2011-07-25 13:56

wow cant belive this hadden been notice yet, well good find you also need to pull qty from the data base thats why your fix isn't working
heres the changes: http://simpleauction.svn.sourceforge.net/viewvc/simpleauction/WeBid/trunk/pay.php?r1=298&r2=301[/url] [^]
or heres the entire new file with fixes: http://simpleauction.svn.sourceforge.net/viewvc/simpleauction/WeBid/trunk/pay.php?revision=301&content-type=text%2Fplain[/url] [^]
(0000906)
WSTracker (viewer)
2012-01-10 15:46
edited on: 2012-01-10 16:35

Hi Renlok. There is still a problem and I'm using the newest file that you posted above.

When doing a dutch auction of 10 Items (no buy now), the other auction winners total price for there items are equal to the top winners total.

I think proxy bidding controls it so people have to pay top bidders price or not, I'm not sure, so I've tried it with proxy on and proxy off. The total price is always the top bidders price.

I also noticed If I have 10 Dutch Items and 1 user that bid for 3 items at $105, and one other user that bid for 4 items each at $104. Then they only have to pay $315 for 4 items (first winners amount). Instead of having to paying $420 for 4 items.

I figure it has something to do with database pulling winner ammount instead of user amount....
w.qty
                FROM " . $DBPrefix . "auctions a
                LEFT JOIN " . $DBPrefix . "winners w ON (a.id = w.auction)
                LEFT JOIN " . $DBPrefix . "users u ON (u.id = w.seller)
I tried u.qty but that didn't work, since that don't touch the database anyways, so figure it has to do with the DBPrefix section.


Thanks with any help with this.

- Issue History
Date Modified Username Field Change
2015-04-01 13:17 renlok New Issue
2015-04-01 13:17 renlok import_id => 310
2015-04-01 13:17 renlok Date Submitted 2015-04-01 13:17 => 2011-07-24 11:18
2015-04-01 13:17 renlok Last Update 2015-04-01 13:17 => 2012-01-10 15:46


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker