Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sale_amt = "{affiliates_ordertotal}";
- $unique_transaction_id = "{affiliates_orderid}";
- $email = "{affiliates_useremail}";
- $referrer = $_COOKIE['ap_id'];
- do_action('wp_affiliate_process_cart_commission', array("referrer" => $referrer, "sale_amt" => $sale_amt, "txn_id" => $unique_transaction_id, "buyer_email" => $email));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement