WordPress Affiliate Manager › Forums › Affiliate Manager Plugin › Duplicating Commission Transactions?
- This topic has 12 replies, 2 voices, and was last updated 4 years, 4 months ago by
techiechic.
-
AuthorPosts
-
August 3, 2021 at 7:28 pm #7479
techiechic
ParticipantI’m using WP Affiliate Manager in conjunction with Paid Memberships Pro. As I go through my commissions data I’m seeing that nearly every order is showing up twice in my dashboard – once with a Transaction ID like – 5BBD6C845C and then again with a Transaction ID like – 5BBD6C845C_2021-08-03 . This is really messing up my program since that indicates that my affiliates should be paid twice for each sale (especially since I give my affiliates half of the overall purchase price of the membership – I can’t give them the whole sale!)
I’m also wondering if there’s any possibility of support being given to only grant a commission on the initial purchase and not on subsequent renewals? I had assumed that was how this was set up when I first configured it and it is what I would prefer. My users would also like to be able to see the names on the orders for who has signed up using their referral link. Is there any chance of either of these features being added in?
August 4, 2021 at 5:04 am #7480Shadow Labs
Keymaster@techiechic, Do you have the debug option enabled in the affiliates manager settings? If not please enable debug and make a test purchase so we can check the log.
October 6, 2021 at 10:33 pm #7563techiechic
ParticipantSorry a few other things were higher priorities for a little bit but I’m back to looking at my affiliate program. I have the debug log enabled, where can I send a link to that log for assistance figuring out what’s causing the duplicates?
October 16, 2021 at 11:05 pm #7579techiechic
ParticipantHere’s an example of one of the log entries that’s coming up for a single sale –
[10/14/2021 12:27 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_add_order() function, affiliate id: 24, order id: D55C358BEE
[10/14/2021 12:27 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_add_order() function, awarding commission for txn_id: D55C358BEE, amount: 10.00
[10/14/2021 12:27 PM] – NOTICE : Buyer email data is missing so the plugin cannot check for own referrals
[10/14/2021 12:27 PM] – SUCCESS : Sending a commission notification to affiliate email *******@gmail.com
[10/14/2021 12:27 PM] – SUCCESS : Email was sent successfully by WordPress
[10/14/2021 12:27 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[10/14/2021 12:27 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: PayPal Express, status: success, txn_id: D55C358BEE_2021-10-14, amount: 10.00
[10/14/2021 12:27 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is present. Tracking value: 24
[10/14/2021 12:27 PM] – SUCCESS : Paid Membership Pro Integration – Awarding commission for txn_id: D55C358BEE_2021-10-14, amount: 10.00
[10/14/2021 12:27 PM] – NOTICE : Buyer email data is missing so the plugin cannot check for own referrals
[10/14/2021 12:27 PM] – SUCCESS : Sending a commission notification to affiliate email *******@gmail.com
[10/14/2021 12:27 PM] – SUCCESS : Email was sent successfully by WordPress
[10/14/2021 12:27 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_added_order() function, saving affiliate id: 24 with order id: D55C358BEEYou can see that this one sale is logged twice, but with slightly different transaction IDs and the commission is awarded twice.
October 18, 2021 at 7:56 am #7583Shadow Labs
Keymaster@techiechic, Thanks. Is this a subscription payment?
October 18, 2021 at 11:20 pm #7585techiechic
ParticipantYes, through Paid Memberships Pro
October 29, 2021 at 5:40 am #7613techiechic
ParticipantIt appears that the duplicated commissions are occurring on the renewal transactions but not the original transactions (i.e. when someone signs up it processes the commission just once, like it should, but the next month it duplicates it). Any ideas on why that might be happening?
October 31, 2021 at 4:48 am #7615Shadow Labs
Keymaster@techiechic, Can you please share the debug log for the first payment of the subscription? What happens if it’s just a one-time payment (no subscription)?
November 8, 2021 at 10:39 pm #7622techiechic
ParticipantThe only product we sell is a subscription so there are no one time payments. Here is an example debug log from a first time subscriber –
[11/04/2021 6:24 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_add_order() function, affiliate id: , order id: 71E31EB62F
[11/04/2021 6:25 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[11/04/2021 6:25 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: PayPal Express, status: review, txn_id: 71E31EB62F_2021-11-04, amount: 10
[11/04/2021 6:25 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is not present. This is not an affiliate sale
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: PayPal Express, status: success, txn_id: 71E31EB62F_2021-11-04, amount: 10
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is not present. This is not an affiliate sale
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: PayPal Express, status: success, txn_id: 71E31EB62F_2021-11-04, amount: 10
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is not present. This is not an affiliate sale
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_after_checkout() function, user id: 407 and affiliate id: 36
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_after_checkout() function, saving affiliate id: 36 with order id: 71E31EB62F, amount: 10
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: PayPal Express, status: success, txn_id: 71E31EB62F_2021-11-04, amount: 10
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is present. Tracking value: 36
[11/04/2021 6:26 PM] – SUCCESS : Paid Membership Pro Integration – Awarding commission for txn_id: 71E31EB62F_2021-11-04, amount: 10
[11/04/2021 6:26 PM] – NOTICE : Buyer email data is missing so the plugin cannot check for own referrals
[11/04/2021 6:26 PM] – SUCCESS : Sending a commission notification to affiliate email *******@gmail.com
[11/04/2021 6:26 PM] – SUCCESS : Email was sent successfully by WordPressNovember 11, 2021 at 5:59 am #7624Shadow Labs
Keymaster@techiechic, Thanks. Is it possible for you to make a one-time payment with a test product? We want to make sure that it works before making any new changes.
November 15, 2021 at 9:22 pm #7626techiechic
ParticipantI created a non-recurring subscription for testing purposes, here is the log from some sample transactions. The first two I selected “pay by check” and the affiliate didn’t register at all, which I think might be a completely separate issue. I used the same link that included an affiliate code for all 3 transactions.
[11/15/2021 9:08 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_add_order() function, affiliate id: , order id: 0C48E3C1A5
[11/15/2021 9:08 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_after_checkout() function, user id: 418 and affiliate id: 7
[11/15/2021 9:08 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_after_checkout() function, saving affiliate id: 7 with order id: , amount:
[11/15/2021 9:08 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_add_order() function, affiliate id: , order id: 22FB660836
[11/15/2021 9:10 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_add_order() function, affiliate id: , order id: D7602ECA6C
[11/15/2021 9:10 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_after_checkout() function, user id: 419 and affiliate id: 7
[11/15/2021 9:10 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_after_checkout() function, saving affiliate id: 7 with order id: , amount:
[11/15/2021 9:10 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_add_order() function, affiliate id: , order id: C6595DCF5C
[11/15/2021 9:11 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[11/15/2021 9:11 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: Check, status: success, txn_id: D7602ECA6C_2021-11-15, amount: 5
[11/15/2021 9:11 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is not present. This is not an affiliate sale
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_add_order() function, affiliate id: , order id: 9560D546DA
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: PayPal Express, status: review, txn_id: 9560D546DA_2021-11-15, amount: 5
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is not present. This is not an affiliate sale
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: PayPal Express, status: success, txn_id: 9560D546DA_2021-11-15, amount: 5
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is not present. This is not an affiliate sale
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: PayPal Express, status: success, txn_id: 9560D546DA_2021-11-15, amount: 5
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is not present. This is not an affiliate sale
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_after_checkout() function, user id: 420 and affiliate id: 7
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – wpam_pmpro_after_checkout() function, saving affiliate id: 7 with order id: 9560D546DA, amount: 5
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – handling pmpro_updated_order hook
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – payment_type: PayPal Express, status: success, txn_id: 9560D546DA_2021-11-15, amount: 5
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – Tracking data is present. Tracking value: 7
[11/15/2021 9:12 PM] – SUCCESS : Paid Membership Pro Integration – Awarding commission for txn_id: 9560D546DA_2021-11-15, amount: 5
[11/15/2021 9:12 PM] – NOTICE : Buyer email data is missing so the plugin cannot check for own referrals
[11/15/2021 9:12 PM] – SUCCESS : Sending a commission notification to affiliate email ***@gmail.com
[11/15/2021 9:12 PM] – SUCCESS : Email was sent successfully by WordPressNovember 23, 2021 at 10:35 am #7628Shadow Labs
Keymaster@techiechic, We have just released an update for it. Can you please update the paid memberships pro integration addon to see if it fixes the duplicate commission issue?
November 27, 2021 at 10:58 pm #7635techiechic
ParticipantHooray! That seems to have fixed it, thank you 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.