Support » Plugin: Affiliates Manager » Affiliate can earn even the customer still not paid

  • Hello,
    I am using this plugin integrated with jigoshop to create affiliate program. However, when I tested, click referral link our website and click purchase. When it direct to Paypal, I close browser and didn’t pay. However, when I visit affiliate account page, I can see the earning.
    In our website, we can pay for affiliate commission for only the transaction completed. Can you please advice me how can we do?

    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    I got the same problem with woocommerce. Actually, we just pay for affiliate commission when the order was done. So after the order is created, it should be keep “pending” status for affiliate and when it is done the admin will “confirm” the commission for that order. If the order is canceled then the commission for that order is also “cenceled”.

    But when I test with this plugin, it always pays commission without approve from admin and without any modifications for admin. Is there any way to make it work for me, could you advice ?


    Plugin Author affmngr


    @kopatheme, Have you enabled debug in the affiliates manager settings? If not please enable it and do a transaction. You will be able to see if the commission is getting calculated for new a jigoshop order.

    @david_pham, Affiliates manager only processes a WooCommerce order if the status is set to “completed” or “processing”. It does not award commission for a pending order. You can enable debug to check it.

    @affmngr, Thanks, I debugged and saw that. But when i cancel the order on backend nothing happen. Also the credit field in list table like below. Anyway if this plugin provide admin the right to modify status of commission is better for me.
    3 credit 01/01/1970 confirmed Credit for sale of 199000 VND (PURCHASE LOG ID = 3533) 3533 ₫19,900.00 ₫80,200.00
    4 credit 01/01/1970 confirmed Credit for sale of 205000 VND (PURCHASE LOG ID = 3534) 3534 ₫20,500.00 ₫60,300.00
    5 credit 01/01/1970 confirmed Credit for sale of 398000 VND (PURCHASE LOG ID = 3532) 3532 ₫39,800.00 ₫39,800.0

    The date is wrong. I looked the code and see

    $data = array();
    $data['dateCreated'] = time(); //Maybe this caused the wrong date
    $data['referenceId'] = $txn_id;
    $data['affiliateId'] = $affiliate->affiliateId;
    $data['type'] = 'credit';
    $data['description'] = $description;
    $data['amount'] = $creditAmount;
    $wpdb->insert( $table, $data);

    @affmngr: I installed your plugin, most of things is good. But there are some drawbacks when translate and view transactions in Affiliate Home.

    1) Not commpletely translate the text in *.po file
    For example some text:
    Credit for sale of… PURCHASE LOG ID
    to (in Date Range)
    In DatabaseInstaller.php (some text recorded directly in to database when install the plugin)
    Insert into database – 1,’base’,’First Name‘,50,’string’,1,’firstName’,1,0) …

    2) Don’t have pagination in transaction table so if affiliate open this tab it will show all transactions

    That are some reviews on my point.

    Thanks for your excellent plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Affiliate can earn even the customer still not paid’ is closed to new replies.