latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

S2member not recording the purchase

Home Forums Community Forum S2member not recording the purchase

This topic contains 9 replies, has 2 voices. Last updated by  Cristián Lávaque 3 years, 9 months ago.

Topic Author Topic
Posted: Saturday Mar 30th, 2013 at 3:49 pm #46159

I had tested my site before, and everything was working.
For some reason it isn’t working anymore, I received a purchase through that landing page, but nothing happened in S2member (no emails, no mailchimp integration actions, no user, nothing).

The paypal “return link” isn’t working, this is the url it sends me to, but it is broken and I don’t know if this has to do with the problem.

http://yogaparalaespalda.com/?s2member_paypal_return=1&s2member_paypal_return_tra=fnIyOm5LeTh3dzk2RldyQ2RBc2xKSkhiTVdNbm50QmhLZWxxOjE0MjBmOWIxOWQ4OTk5NjhiNWJmMzI1NmU2MWRkOWJhfOVJgwfcqI6xYd4YGoKIormZ7Pl2-QOTVslKL3iz7K96RbtG4KdmHJdbHcPPk7juLt1XPPG0LY5x03ITRvWKYaDqi_GHmRHg6H7L-WU3thalcdpHRw-4PHdT2XRwQ2w9MblLxJv6f4yO8sB0KdNTJv1ZcJHRI4SjFsT5WQ7fd8hJsiw2Qn4EgVgk_QxnCSoSytyaLmnVGOJEGrRFBcQkbLRKzFWeIiHgz_rYYttMCMzslZvb6RaYdK86MDgfvKkQwgXXej5_AupCb1XXyx8sq8RMiIhkAhb7VddwUgSRdHcfYcXAnaZhOFsqLLIxkGCOKgC1uXdD2z43ivmWoFZp2l3w4xt-MMkmQhrF0woxNdz2y8lU7GjlAzRkdzT82m7cNA&tx=1278028621936071D&st=Completed&amt=27.00&cc=USD&cm=yogaparalaespalda%2ecom&item_number=1

One more thing: I installed a new plugin, popUpDominator, and I wonder if this could be the issue?
Thanks for your help!
Mijael

List Of Topic Replies

Viewing 9 replies - 1 through 9 (of 9 total)
Author Replies
Author Replies
Posted: Sunday Mar 31st, 2013 at 8:59 am #46199

Hi Mijael.

Make sure you have logging enabled, so the transactions get logged and we can review them to see if there is a problem and what it is. [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration[/hilite]

Also try the tips in this article. Knowledge Base » Common Troubleshooting Tips

And you can do test live purchases of 1 cent to see if it works after the changes.

Posted: Monday Apr 1st, 2013 at 5:19 pm #46317

Thanks Cristián!

I admit I didn’t de-activate every single plugin, nor did I test with a clean installation of WP (I tried but I’m a rookie when it comes to IT, and I couldn’t finish it without finding hurdles I couldn’t surmount). The theme hasn’t really changed.

I did de-activate the one plugin that wasn’t there before S2Member “broke”.
By the way, it broke in more ways than I expected: today I sent someone to the membership site, expecting that the redirect would take her automatically to the sign-in page -but it didn’t.

This on top of the redirection problem with Paypal, and the fact that Google Buttons don’t work at all.

Logging was enabled, but not the “full” one that allows debugging within WP itself. I did that now. However I wouldn’t be able to tell what on earth is happening by looking at the log.

Any help would be greatly appreciated.
Thanks in advance,
Mijael

Posted: Tuesday Apr 2nd, 2013 at 12:17 am #46338

By the way, it broke in more ways than I expected: today I sent someone to the membership site, expecting that the redirect would take her automatically to the sign-in page -but it didn’t.

Not sure what redirection you mean. When the user tries to view a restricted page and gets sent to the Membership Options page?

I admit I didn’t de-activate every single plugin, nor did I test with a clean installation of WP (I tried but I’m a rookie when it comes to IT, and I couldn’t finish it without finding hurdles I couldn’t surmount). The theme hasn’t really changed.

I did de-activate the one plugin that wasn’t there before S2Member “broke”.

I see. Well, to really rule out a conflict causing your problem, you’ll need to deactivate plugins and have the default theme… Since this is not always possible in a live site, that’s why it’s good to just install a clean WP in a separate folder to test and try to reproduce the problem.

This on top of the redirection problem with Paypal, and the fact that Google Buttons don’t work at all.

So you’ve integrated with PayPal and Google for payments? And are you using the s2Member shortcodes for their buttons?

Logging was enabled, but not the “full” one that allows debugging within WP itself. I did that now. However I wouldn’t be able to tell what on earth is happening by looking at the log.

You can submit your site’s info so I take a look at them. Please include the name of the page where you have the buttons too. Let me know when you sent it. Thanks! s2Member® » Private Contact Form

Posted: Tuesday Apr 2nd, 2013 at 10:42 am #46388

I sent a private message, and to respond specifically:

“By the way, it broke in more ways than I expected: today I sent someone to the membership site, expecting that the redirect would take her automatically to the sign-in page -but it didn’t. ”

Not sure what redirection you mean. When the user tries to view a restricted page and gets sent to the Membership Options page?

Yes, that’s it.

“I admit I didn’t de-activate every single plugin, nor did I test with a clean installation of WP (I tried but I’m a rookie when it comes to IT, and I couldn’t finish it without finding hurdles I couldn’t surmount). The theme hasn’t really changed. I did de-activate the one plugin that wasn’t there before S2Member “broke”. ”

I see. Well, to really rule out a conflict causing your problem, you’ll need to deactivate plugins and have the default theme… Since this is not always possible in a live site, that’s why it’s good to just install a clean WP in a separate folder to test and try to reproduce the problem.

I totally get that. Unfortunately I couldn’t set up the mirror WP installation by myself. Having said that, if it did work, then I might still be at a loss as to how to fix the current installation…

“This on top of the redirection problem with Paypal, and the fact that Google Buttons don’t work at all. ”

So you’ve integrated with PayPal and Google for payments? And are you using the s2Member shortcodes for their buttons?


Yes I am -the page is http://yogaparalaespalda.com/programa-holistico-no-mas-dolor-de-espalda-dl/

Thanks again!

Posted: Thursday Apr 4th, 2013 at 6:32 am #46579

Thanks.

By the way, it broke in more ways than I expected: today I sent someone to the membership site, expecting that the redirect would take her automatically to the sign-in page -but it didn’t.

Okay, I tested this and it worked. I made sure I was logged out before I tried to load a page protected at Level 0. I redirected me to the Membership Options page correctly.

The page was blank, though. So I checked and saw that it was returning a 414 error, about the URI being too long. When I removed some of the vars from it, the page loaded correctly. You’ll have to ask your webhost to adjust this setting to allow for the longer URLs. http://www.checkupdown.com/status/E414.html

I totally get that. Unfortunately I couldn’t set up the mirror WP installation by myself. Having said that, if it did work, then I might still be at a loss as to how to fix the current installation…

Once you confirm it works correctly in the clean installation, you start adding the other stuff you have in the site (other plugins, theme), one by one, checking after each if the problem starts. If it does, you’ll know it’s the last thing you added which introduced it.

Yes I am -the page is http://yogaparalaespalda.com/programa-holistico-no-mas-dolor-de-espalda-dl/

It took me a while to find where you had the copy, but finally found it in a theme template. The shortcodes look okay.

I wonder if there’s a problem with having both buttons in the same page, although it should be fine. Could you test with just one button in the page and see if it works?

The paypal “return link” isn’t working, this is the url it sends me to, but it is broken and I don’t know if this has to do with the problem.

Maybe it’s the 414 error there too? Try the test purchase again after fixing the URL length limit in your server.

Posted: Thursday Apr 4th, 2013 at 1:21 pm #46625

Trying to figure things out, here’s where I am.

From your page http://www.s2member.com/kb/common-troubleshooting-tips/

[…] Please download the Server Check Tool, extract the PHP file, and upload it to your WordPress directory via FTP. Then open the file in your browser.

Where? in the root? In the WP-content/theme/MyTheme folder?
I tried both and it didn’t work…

Another test to determine if the problem is related to the server is to install another copy of WordPress on the same server, add s2Member and see if you can reproduce the problem there.

I did install a fresh WP. My original is in the root, the test one I setup was in root.com/blog
But should I create a different key? Or use the same one?
I used the same one, but when I login to root.com/blog/wp-content it now takes me to the original installation in the root. Clearer information here would be helpful.

Posted: Thursday Apr 4th, 2013 at 5:13 pm #46632

In regards to the 414 error:

The hosting company couldn’t change the character length of the URL because I’m on shared hosting. However, they did suggest something they found (I guess on your forum), and I changed the mo-page-in.inc so that it wouldn’t parse the same variables. It’s working, but I guess I can’t have Membership Options page variables with this “hack”.

Waiting on your reply about the other testing questions posted before.
Thanks in advance for your kind help!

Posted: Friday Apr 5th, 2013 at 9:25 am #46696

Where? in the root? In the WP-content/theme/MyTheme folder?
I tried both and it didn’t work…

In the directory where you have wp-config.php. Knowledge Base » s2Member® Server Scanner

but when I login to root.com/blog/wp-content it now takes me to the original installation

Did you mean to say /blog/wp-login.php?

Well, installing a second WP in the same site shouldn’t be a problem… http://codex.wordpress.org/Installing_Multiple_Blogs

However, they did suggest something they found (I guess on your forum), and I changed the mo-page-in.inc so that it wouldn’t parse the same variables. It’s working, but I guess I can’t have Membership Options page variables with this “hack”.

I think I know what hack that is, one I suggested some months ago to someone that didn’t want the MOP vars in the URL. If you don’t use the vars in your Membership Options page, that’s not an issue.

The 414, though, may be affecting your transaction too, as I said earlier. Look at how long the URL you mention having trouble with is: http://www.s2member.com/forums/topic/s2member-not-recording-the-purchase/#lead-topic-46159

The paypal “return link” isn’t working, this is the url it sends me to, but it is broken and I don’t know if this has to do with the problem.

Posted: Friday Apr 5th, 2013 at 9:26 am #46697

Yep, just tested it and it does return a 414.

Viewing 9 replies - 1 through 9 (of 9 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.