Home › Forums › Community Forum › How to s2Members,PayPal and iDevAffiliate
This topic contains 24 replies, has 4 voices. Last updated by Bruce 3 years, 11 months ago.
Topic Author | Topic |
---|---|
Posted: Sunday Dec 30th, 2012 at 12:26 am #35770 | |
|
|
I’m having a huge headache trying to set up s2Members and iDevAffiliate. Please help. My site is very straight forward: I’m setting up iDevAffiliate on the site and what I want to happen are: What I’m hoping for is step by step instructions how to set this up. I’ve gone through the videos and probably missed something.
This is what I currently have. API Notification >> Payment Notification
PayPal Button
Which one? %%cv1%% or %%user_ip%% to track customer ip? |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Sunday Dec 30th, 2012 at 12:22 pm #35810 | |
![]() |
|
Hello there, You would use %%user_ip%%, which would return the user’s IP during the payment. – Eduan |
|
Posted: Sunday Dec 30th, 2012 at 5:40 pm #35824 | |
|
|
Right now it’s not even recording the sale. I did couple of test purchases and only the clicks were recorded. |
|
Posted: Sunday Dec 30th, 2012 at 7:21 pm #35829 | |
![]() |
|
Could you try out these troubleshooting tips?: Also, could you please paste the PayPal logs here inside <code></code> tags, you can find them under /wp-content/plugins/s2member-logs. – Eduan |
|
Posted: Monday Dec 31st, 2012 at 2:49 am #35840 | |
|
|
there’s only a .htaccess file and nothing else there. |
|
Posted: Monday Dec 31st, 2012 at 2:15 pm #35862 | |
![]() |
|
I see, then could you please enable logging? You can do that under Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging. Then try another test transaction and see what it gives you. Also, please try these common troubleshooting tips and tell me how it goes: Knowledge Base » Common Troubleshooting Tips – Eduan |
|
Posted: Monday Dec 31st, 2012 at 7:54 pm #35870 | |
|
|
This is the error I received:
I took out the “http://www”, so the button code is:
Submitted another purchase. Still nothing recorded, and this is the message I got:
|
|
Posted: Tuesday Jan 1st, 2013 at 1:21 pm #35900 | |
![]() |
|
OK, so I have two things for you to try: First, make sure that you have a plugin like PHP Execution installed or something similar. Next, when testing this do it from an account that isn’t an admin account, otherwise s2Member will just stop the payment for security measures. – Eduan |
|
Posted: Wednesday Jan 2nd, 2013 at 5:13 am #35955 | |
|
|
Tried 4 different payments and they were recorded but the amount remained as “None”. Currently it is set as “%%mount%%”. I have also tried “%%initial%%” and %%regular%% and none of them worked. Current API Notification is:
|
|
Posted: Wednesday Jan 2nd, 2013 at 5:24 am #35958 | |
|
|
and here’s the log:
|
|
Posted: Thursday Jan 3rd, 2013 at 4:50 am #36087 | |
|
|
Could you try the shortcode without the PHP block you had added for the IP address? It’s missing an echo, so that may be causing trouble, but you don’t need it anyway because now there’s the [hilite mono]%%user_ip%%[/hilite] replacement code available. [hilite pre_code][[s2Member-PayPal-Button level="1" ccaps="" desc="Monthly Subscriber / $2 a month" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="stockmd.net" ta="0" tp="0" tt="D" ra="2" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" success="http://stockmd.net/thank-you/" /]] [/hilite] About the notification, could you enter your email address to get an email with all the variables? That way we can see if the notification fires and what the values of the replacement codes are. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications -> Email[/hilite] |
|
Posted: Thursday Jan 3rd, 2013 at 5:55 am #36092 | |
|
|
I tried two purchases with and without the PHP block. Both times didn’t get recorded at all. Here’s the log for the one with the PHP block with the echo added:
Here’s the log for the button without the PHP block like you asked.
Also, I never got the confirmation emails for either purchases. |
|
Posted: Saturday Jan 5th, 2013 at 4:01 am #36230 | |
|
|
I switched to use image code instead and it seems to record without a problem unlike API notification: However, I don’t think they are registered as “recurring commission”. Can someone point me to the right direction please?
Thank you. |
|
Posted: Saturday Jan 5th, 2013 at 4:14 pm #36328 | |
![]() |
|
Jason posted something in the old forums that explains how this works: http://www.primothemes.com/forums/viewtopic.php?f=4&t=6275&p=14129#p14111 |
|
Posted: Saturday Jan 5th, 2013 at 7:21 pm #36353 | |
|
|
if API Notification worked in the first place, I wouldn’t be here. API TRACKING / recorded but not recurring
API NOTIFICATION / I set up both Sign-Up Notification and Payment Notification. NOT WORKING AT ALL
Sign-up Notification
I sell one subscription product. I also want to pay affiliates recurring commissions. What is one set up that will work? |
|
Posted: Saturday Jan 5th, 2013 at 7:27 pm #36355 | |
|
|
API NOTIFICATION FOR PAYMENT & RECURRING COMISSIONS: Do I need to set up both Sign-Up Notification and Payment Notification or just Payment Notification is sufficient? I don’t sell posts, so I don’t need to set that up. |
|
Posted: Monday Jan 7th, 2013 at 5:58 am #36443 | |
|
|
The signup one would only happen for a paid registration, while the payment one happens then and every recurring payment afterwards. If you only want to pay a commission on the first payment, the signup one would be best, while the payment notification will work if you want to pay a commission on the recurring payments too. |
|
Posted: Monday Jan 7th, 2013 at 8:04 pm #36507 | |
|
|
This is my current set up:
API Signup Notification / I also set this up to capture sign up because Payment noticication does not register initial sign up.
API Payment Notification:
I load this in the following URL bar and it works fine without the “%%user_ip%%”; meaning loading the code alone registers a pending commission in iDevAffiliate, so it’s not iDevAffiliate problem.
It seems to me the communication between PayPal and s2Member is the problem here and I can’t figure out why.
|
|
Posted: Wednesday Jan 9th, 2013 at 5:07 am #36706 | |
|
|
The payment notification would work for paid registrations (signups) too. The payment notification happens every time there’s a payment. [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications[/hilite]
It’s weird that the notification isn’t working… In the log entries you quoted before, the signup notification was logged as processed:
Did you add your email address to it? Did you get the notification email? [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications -> Email[/hilite] Did you happen to install the post-registration auto-login hack? That one’s known to cause the notifications to not happen. |
|
Posted: Wednesday Jan 9th, 2013 at 5:11 am #36707 | |
|
|
there are two things that aren’t happening: When I load this URL into the URL bar, I get the commission notification from iDevAffiliate, so their software is working fine.
|
|
Posted: Wednesday Jan 9th, 2013 at 7:53 am #36738 | |
|
|
So the purchase doesn’t have a problem, everything works great during the transaction, it’s only the notification that’s failing? Did you follow the suggestions in this article? Knowledge Base » Common Troubleshooting Tips And are you using the post-registration auto-login hack? |
|
Posted: Wednesday Jan 9th, 2013 at 8:02 am #36740 | |
|
|
The commissions come in for SignUp Notification which isn’t that much different from Payment Notification. Does that ring a bell? |
|
Posted: Friday Jan 11th, 2013 at 7:47 am #36964 | |
|
|
So the signup notification works, but the payment notification doesn’t? That’s odd, the payment one would fire every time the gateway tells s2Member about a payment. Do the recurring payments show up in your PayPal IPN log? [hilite mono]/wp-content/plugins/s2member-logs/[/hilite] Did you enter your email address in your payment notification to get an email? Did this work? [hilite path]Dashboard -› s2Member® -› API / Notifications -› Payment Notifications -> Email[/hilite] Did you do the troubleshooting tests? Knowledge Base » Common Troubleshooting Tips |
|
Posted: Friday Jan 11th, 2013 at 9:31 pm #37064 | |
|
|
Email field was filled out.
When I load this URL, I get an email from iDevAffiliate installation and not s2Member installation. I have two questions: 1. I have not tried troubleshooting tests. Do you have a list of plugins potentially conflicting with s2Members? 2. For the recurring commission to work, does a sign-up have to register as a user when he/she is taken back to the Payment Confirmation page? Thank you. |
|
Posted: Monday Jan 14th, 2013 at 4:21 pm #37528 | |
![]() |
|
Thanks for the follow-upYou mentioned above that Payment Notifications should fire much more often than Signup Notifications. It’s likely that there’s an invalid IPN setup. Could you please post the logs as Cristián mentioned above? Make sure logging is enabled under Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging, and run a test transaction. Then post the info from /wp-content/plugins/s2member-logs/paypal-ipn.log here. Make sure to xx out any sensitive data.
We do not have a list of incompatible plugins currently. The best way to troubleshoot this is just to disable all plugins and see if that fixes the issue. If it does, then you’ll need to reactivate plugins one by one until you find the culprit.
The commission starting should not be affected by this. The notifications to iDevAffiliate happen at the end of s2Member’s IPN processes, so they should be fired any time s2Member receives data from PayPal / any other gateway that you’re integrated with. To find the issue we will need your log files. If you’re having an issue with this please send us your details in our Private Contact Form so that we may take a look. If you do use the Private Contact Form, please send us an update here letting us know that you have sent these details. |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.