Sign Up Bonus

Posted in

Hi there,
Is it possible to give the affiliates, sign up bonus? [Aff. Pro]

4 Responses to Sign Up Bonus

  1. duckinatub August 17, 2013 at 11:04 am #

    Earnings , : 10 instead of 0

    • antonio August 19, 2013 at 8:36 am #

      Hi,
      you can use “affiliates_added_affiliate” hook, for example:

      add_action( 'affiliates_added_affiliate', 'affiliates_initial_bonus' );
      function affiliates_initial_bonus( $aff_id ) {
      $description = "Initial Bonus";
      $amount = 10;
      $currency_id = "USD";
      if ( class_exists( 'Affiliates_Referral_WordPress' ) ) {
      $r = new Affiliates_Referral_WordPress();
      $r->add_referrals( array( $aff_id ), null, $description, null, null, $amount, $currency_id);
      } else {
      affiliates_add_referral( $aff_id, null, $description, null, $amount, $currency_id);
      }
      }

      cheers

  2. duckinatub August 17, 2013 at 11:02 am #

    I checked the comments. I meant when people sign up automatically they get 10 dollar for example. Is there a way to do that?

  3. antonio August 17, 2013 at 10:22 am #

    Hi,
    please take a look to this plugin.
    cheers

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share