dashed-slug.net › Forums › WooCommerce Cryptocurrency Payment Gateway extension support › Getting the following error when paying out WCMP Commissions › Reply To: Getting the following error when paying out WCMP Commissions
May 8, 2020 at 3:32 am
#8279
Participant
The problems seems to lay in the wcmp_transaction_update_meta_data method of WCMP it looks like.
classes\class-wcmp-ledger.php
When setting the balance key in the $data array… it can be fixed by changing the line to this:
'balance' => isset($unpaid_commission_total['total'])?$unpaid_commission_total['total']:0,
Should I forward that on to WCMP you think? Or am I not digging into it enough?