Commission Payouts and [affiliate-name] token

Posted in

I am combining two issues into one ticket.

Issue #1: Commission Payouts

I am using Affiliates Pro 4.9.0, Woocommerce Subscriptions w/ just three variable subscription products and PayPal Standard. I created a 20% and 25% rates for the WooCommerce objects as illustrated here: https://nimbus-screenshots.s3.amazonaws.com/s/cc8d2fec88774595bc0babf0ea9d4101.jpg

I then created an active affiliate user, used their affiliate link as a dummy user and completely purchased a subscription using a debit card. Woocommerce Subscriptions reflected the successful transaction (putting the order in Pending status) and Affiliates Pro correctly identified the new customer as a referral by the affiliate. However, the affiliate’s pending payout total is still $0. There’s no where in the system that shows a 30% commission of $7.50. Why isn’t the rate correctly reflected from the transaction?

Side note: Woocommerce Subscriptions is oddly showing a “Staging” label although all changes were made on the live site.

You previously indicated that the payouts are reflected until the orders considered pending or processed. We manually processed the order to show that it is completed, but we still do not see the payout. To be clear, we processed a live transaction via WooCommerce and PayPal and the payment was taken. It was marked as pending and then we manually changed the order to completed.

Issue #2: Malfunctioning [affiliate-name] Token

I am using Affiliates Pro 4.9.0. According to your documentation, [affiliate_name] is a valid token that outputs the affiliate’s name in all notifications. Unfortunately, this token is not working. Instead, all emails simply output the actual token itself, “[affiliate_name]” instead of the affiliate’s name. How can we correct this?

Thanks for your help!

Ref: https://www.itthinx.com/plugins/affiliates-pro/comment-page-10/#comment-1107385)

9 Responses to Commission Payouts and [affiliate-name] token

  1. George May 11, 2021 at 8:26 am #

    Hi Tone,

    Normally you shouldn’t need to use a general rate since there are product-specific rates set covering the products sold. This is exactly the reason why I have already taken a note to check whether this occurs in general or in your installation only.

    The token was also misspelled in the notification template. After changing the notification admin email in order to receive admin notifications to my own address I noticed the wrong usage and afterwards I corrected the token.
    This is the notification using your token
    https://ibb.co/fNp4497

    This is the notification using the correct token
    https://ibb.co/gRB2kng

    Kind regards,
    George

  2. Tone Love May 10, 2021 at 5:27 pm #

    Thank you for the update. I guess I do not understand why there needs to be a general rate if there’s already object-based rates? (Do I need to have a general rate, although it’s never used?)

    As far as the token, I misspelled it in this support ticket, but we correctly pasted the actual token in the Notifications tab. It doesn’t work.

  3. George May 10, 2021 at 1:39 pm #

    Hi Tone, many thanks for your cooperation.

    As it appeared you where missing a general rate for the referred subscriptions to be calculated properly. If you notice now the referral commissions on my test subscriptions are correct.
    Regarding the notification token there was a syntax error where instead of [affiliate_name] you used [affiliate-name] and for that reason the token didn’t render the correct value.
    FYI, during my tests I used the product link directly because the buttons you use on your frontend https://nationonetv.com/service-plans-and-renewals/?token=1BU33995AS5961830 would go straight ahead to live PayPal instead of Sandbox.
    Please have a look on both and let me know if further assistance is needed.

    Kind regards,
    George

  4. George May 10, 2021 at 8:32 am #

    Hi Tone,

    Yes the Sandbox mode in PayPal can be enabled with a checkbox but in this case you also need to have a developer account and create Sandbox API credentials.
    https://ibb.co/YQYzVwS

    Please proceed and create the necessary credentials and let me know in order to proceed.

    Kind regards,
    George

    • Tone Love May 10, 2021 at 12:04 pm #

      Thanks. I added the Sandbox credentials per your request.

  5. Tone Love May 8, 2021 at 5:02 pm #

    Thanks for the reply. I have corrected the staging site issue but the commission issue still persists Please advise.

  6. George May 8, 2021 at 8:46 am #

    Hi Tone, you’re welcome.

    Your setup seems to be in order and normally you should see the correct amount for the recorded referrals.
    This is most probably related to Subscriptions running on staging mode at the moment and I’m not sure whether the transactions actually complete or not.
    https://docs.woocommerce.com/document/subscriptions-handles-staging-sites/
    I would recommend you to switch your PayPal to sandbox so that we can test and make some referrals on your existing or some new subscription products.
    Furthermore and if there is anything logged in your debug.log please forward a copy of the file to my email address for further examination.

    Kind regards,
    George

  7. Tone Love May 7, 2021 at 2:56 pm #

    Thank you. I have created an Admin user for you and there’s a custom login URL; it’s not /wp-admin. I’ve emailed the custom URL to you. Thanks so much!

  8. George May 7, 2021 at 2:35 pm #

    Hi there,

    Welcome to our support forum and many thanks for using our affiliate marketing tool on your shop.
    Can you please provide temp admin access to your site and enable WP debugging during our support session? I would like to review your setup and check the referral recorded when a subscription sale is referred. For the temp account you may also use my personal email, george at itthinx dot com and to enable WP debugging edit your wp-config.php file and replace
    this line: 

    define( ‘WP_DEBUG’, false );

    with these lines:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    Kind regards,
    George

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