Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Bulk mark multiple commissions as Paid

WCMp Core

Resolved
Viewing 4 reply threads
  • Author
    Posts
    • #141056
      Maxime Mettey
      Participant

      Hi,

      I am trying to bulk edit commissions status, to set them as “paid”, but it does not work, I can only edit their status individually.
      I read in another topic here that it is necessary to define a payment option for each vendor, so I tried to set the direct bank transfer for a vendor, with all informations, but it still does not work when I want to bulk update the commissions statuses of this vendor.

      Is there anything more to do ?

      Thank you for your help.

    • #141074

      Maxime, each vendor must provide their payment mode, only then their commission can be marked as paid.

      If the issue is still there, please let us know. So we can assist you accordingly.

    • #141085
      Maxime Mettey
      Participant

      Hi,

      Thank you for your answer. In my case, every vendor has the bank transfert selected, but the issue was still here.

      After some investigation, I managed to find where the problem was.

      In the class file “class-wcmp-payment-gateway.php”, method “record_transaction()”, a post_title is generated to record the transaction in database, with the current date and time.

      My website being in French language, the current month (August) is written “Août”, but the accent seems to generate an issue.

      I had to change this line :
      ‘post_title’ => sprintf(__(‘Transaction – %s’, ‘dc-woocommerce-multi-vendor’), strftime(_x(‘%B %e, %Y @ %I:%M %p’, ‘Transaction date parsed by strftime’, ‘dc-woocommerce-multi-vendor’), current_time( ‘timestamp’ ))),

      To add some utf8_encode and handle accents :
      ‘post_title’ => sprintf(__(‘Transaction – %s’, ‘dc-woocommerce-multi-vendor’), utf8_encode(strftime(_x(‘%B %e, %Y @ %I:%M %p’, ‘Transaction date parsed by strftime’, ‘dc-woocommerce-multi-vendor’), current_time( ‘timestamp’ ))))

      And everything works fine now.

      Hope this helps for next updates 🙂

      Have a nice day.

    • #141121

      @Maxime Mettey, thanks for reporting this issue.

      Our team will fix this in our next update.

    • #144888

      Hi @Maxime, we haven’t heard back from you for a while.
      So we presume this issue has been fixed. We are closing this for now.

Viewing 4 reply threads

The topic ‘Bulk mark multiple commissions as Paid’ is closed to new replies.