Support » Plugin: WC Marketplace » Incorrect value of $commission_threshold_time in class WCMp_Ajax

  • Resolved Vivek Athalye


    In wcmp_vendor_unpaid_order_vendor_withdrawal_list() of WCMp_Ajax class the value of $commission_threshold_time is always coming as 0, even though I’ve set it to 30 in WCMp Settings.
    Due to this all the recent orders are also getting listed on Vendor Withdrawal page. If vendor selects any of these orders and tries to withdraw commission, it gives an error “Minimum threshold amount to withdrawal commission is ***”. This message is inappropriate because the commission amount for that particular order is more than threshold amount.

    The root cause is that in wcmp_vendor_unpaid_order_vendor_withdrawal_list() you have not declared global $WCMp;. Please add it so that the orders that are under threshold time are not displayed on Vendor Withdrawal page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Marketplace


    Hi @vnathalye, thanks for informing us about this issue. We will fix this, in our next update.

    We will keep you posted.

    Plugin Author WC Marketplace


    Hi @vnathalye, we have fixed this issue, in today’s update (version 3.0.5)

    Please check the same and confirm.

    Hi @dualcube, Yes it’s fixed. Thank you.

    Btw, I had sent a consolidated list of all the issues I’ve reported and their status as on 9th Mar. I did not get any reply on that list.

    I have sent an updated list today with the status as on today (for version 3.0.5). Here is the summary:
    Fixed 7
    Not Fixed 10
    I’ve not verified yet 3
    Partially fixed 2

    If you can take some action on these issues and keep me posted, I’ll be really happy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorrect value of $commission_threshold_time in class WCMp_Ajax’ is closed to new replies.