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 always sets users role to subscriber

Home Forums Community Forum S2Member always sets users role to subscriber

This topic contains 7 replies, has 2 voices. Last updated by  Joanna Medin 3 years, 8 months ago.

Topic Author Topic
Posted: Monday Apr 29th, 2013 at 6:42 pm #48674

I installed S2Memeber Pro using PayPal Payments Pro and and running it on WordPress 3.5.1 and am using the Payments form. For some reason the payments are accepted and everything works, but my user is always getting set to “Subscriber”. I am using the following shortcode for a typical form:

[s2Member-Pro-PayPal-Form level="1" ccaps="" desc="1 Penny Test Form" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.businessgrowthexperience.net" ta="0" tp="0" tt="D" ra="0.02" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

Thanks,

Keith

List Of Topic Replies

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Tuesday Apr 30th, 2013 at 8:27 pm #48846
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

Do you have logging enabled? If not, please enable it here:

Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration

Then send us a Dashboard Login here so we can take a look, please:

s2Member® » Private Contact Form

Posted: Wednesday May 1st, 2013 at 11:00 am #48920

I am not sure I put the correct WordPress username in the form. It is “user”.

In case you run into credentials problems – you can reach me at 650-279-3284.

Posted: Thursday May 2nd, 2013 at 6:25 pm #49048
Bruce
Username: Bruce
Staff Member

Details Received. Thank you.

I’m taking a look now.

Posted: Thursday May 2nd, 2013 at 6:36 pm #49052
Bruce
Username: Bruce
Staff Member

I took a look at your logs and in all of your IPN entries you’re getting this error:

2 => 'Unable to verify `$_SERVER["HTTP_HOST"]`. Please check the `custom` value in your Button Code. It MUST start with your domain name.',

Your custom attribute is returning empty. I went to check your Pro Forms and they all have their custom attributes correct. So there is only one answer to why this is happening, which is Object Caching. Sure enough I checked and you have Object Caching enabled with W3 Total Cache.

You’ll want to turn off object caching in your W3 Total Cache settings, and try again. If problems persist let us know.

Posted: Thursday May 2nd, 2013 at 7:10 pm #49064

OK. I emptied all caches – same response. I turned the cache off – worked first try. It turns out I have not really been using the cache because I was not at the performance optimization phase. It also turns out that because this is a US focused site I don’t really need W3TotalCache at all. But I do lot’s of international facing sites and like push things out to edge servers.

But for the moment I am just happy to turn off W3TotaCache and live to fight that battle another day. Would love to hear about other experiences with various WordPress Caching and the IPN callback mechanism if somebody else stumbles across this issue.

Posted: Thursday May 2nd, 2013 at 7:12 pm #49065
Bruce
Username: Bruce
Staff Member

But for the moment I am just happy to turn off W3TotaCache and live to fight that battle another day. Would love to hear about other experiences with various WordPress Caching and the IPN callback mechanism if somebody else stumbles across this issue.

You might try Quick Cache. It’s made by WebSharks (us), and we know it works right with s2Member.

See: http://wordpress.org/extend/plugins/quick-cache/

Posted: Thursday May 2nd, 2013 at 7:21 pm #49067

Hey I will check it out. Mostly looking for easy ways to deploy web sites that are customer managed and work well in Brazil and Australia. I will check the specs out and see if it will meet my needs, then I will use it when I need to integrate e-commerce with an international Site.

Thanks so much for your help.

Viewing 7 replies - 1 through 7 (of 7 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.