Fix auction payment flow

Job ID: 33385491

Budget: $250 – $750 USD

Hi I purchased an auction script (Laravel) on codecanyon, but the auction payment flow is fundamentally flawed.
At the moment, when a user places a bid they pay with funds from their wallet. The funds immediately appear in the merchant balance, so if 10 users bid for a product, the merchant receives 10 x bid funds which he can immediately withdraw.

This is wrong. Only the winning bid should be available to the merchant, the losers should have their money refunded to their wallet if their bid is unsuccessful.

The developer is not willing to change the payment flow. Please advise if you can help.
Thanks
Related categories: PHP JavaScript Software Architecture MySQL Laravel