Forum Replies Created
-
AuthorPosts
-
techiechic
ParticipantHooray! That seems to have fixed it, thank you 🙂
techiechic
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 WordPresstechiechic
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 WordPresstechiechic
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?
techiechic
ParticipantYes, through Paid Memberships Pro
techiechic
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.
techiechic
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?
July 21, 2021 at 9:55 pm in reply to: Problem with Recurring Subscriptions with Paid MembershipPro #7464techiechic
ParticipantI don’t know about “most users” but I will say that I for sure did not want to reward commissions on recurring payments but only on the first payment. Is there a way to set it up so that only the first payment receives a commission and not subsequent renewals?
techiechic
ParticipantI hadn’t realized that there were two different add ons – one from you and one from Paid Memberships Pro – as well as the two plugins themselves. I installed the second add on and things are working great now. Thanks for your help!
techiechic
ParticipantThe Plugins page is the top screenshot in the image provided above.
techiechic
ParticipantI installed the add on directly through the Paid Memberships Pro add-ons section. I took screenshots of what the settings look like on everything that I think could be relevant –
https://photos.app.goo.gl/s36g5JGTJ6x6n2KK7techiechic
ParticipantI’ve enabled debug mode and made a test affiliate purchase and nothing shows up in the log.
Here’s the purchase link with affiliate code –
https://rrsize.wpsc.site/membership-account/membership-checkout/?level=1&wpam_id=2. You can use discount code WPAM to sign up for free. The site doesn’t look like much right now because I turned everything else off so there were no conflicts, so please ignore the broken shortcodes etc.I’m sorry to be giving such a vague error – I feel like I’m not giving you much to work with and I hate it when clients do that. But I honestly don’t know what else to tell you. I can see in the console that the cookie is set, I can see from the affiliate console that the clicks are being tracked – but nothing gets transferred into Paid Memberships Pro after the sale is made. I even did the first few purchases through PayPal so I could make sure that it wasn’t just not tracking because it was a $0 transaction. I’d appreciate any help you can give! Aside from this one major problem, the rest of your system looks great and I’m really looking forward to being able to implement it!
-
AuthorPosts