Earning Payout With Refunds Issue

Thanks, we’ll fix this earnings display issue. In the meantime, I can provide a snippet to hide the Earnings row in the order table, or show where it’s calculated in the code, if you’re familiar with coding or have a developer for custom work - let me know.

Please let me know where it’s calculated in the code (in which php document and line number). I will try too. Thank you

It’s calculated in this function Awesome Screenshot If you want to change this value for display, please follow the suggestions here https://community.hivepress.io/t/custom-fee-affects-order-table-earnings/15137/9

Hope this helps

Hi @ihor, many thanks for your help.
The bug seems come from the line 2358 get_order_profit.
And I see some miskate with the value of ‘hp_commission_fee’ and ‘hp_commission_rate’.
The link https://community.hivepress.io/t/custom-fee-affects-order-table-earnings/15137/9 doesn’t work or is private. Can you resend it please ?

Thanks, we’ll try to debug this further.

Please consider renewing support for access to the forums related to premium products like Marketplace. Here’s a reply from the linked topic, hope this helps Awesome Screenshot