Page 1 of 1

s2Member and Authorize.Net level issue

PostPosted: May 26th, 2011, 11:44 am
by amim1987
I have an issue with s2Member Pro working with Authroize.Net. I am testing the sign up page by filling out the Authroize.Net form generated by S2Member Pro. When I submit my sign up information it sends me a confirmation email, however, it always signs me up as a "subscriber" and not the level that I signed up for. So I would have to go into "users" and change their role from "subscriber" to "s2 Member Level 1" manually. Why does it not set the role automatically when I sign up to level 1. I am using the code generated by the Authroize.Net level 1 pro form that was provided to me.

Re: s2Member and Authorize.Net level issue

PostPosted: May 26th, 2011, 4:21 pm
by Cristián Lávaque
Could you share the shortcode you're using for your pro-form, please?

Re: s2Member and Authorize.Net level issue

PostPosted: May 26th, 2011, 4:34 pm
by Jason Caldwell
I just received an email regarding this topic.
Please provide your Shortcode sample so we can take a closer look for you.

Re: s2Member and Authorize.Net level issue

PostPosted: May 27th, 2011, 11:31 am
by amim1987
This is the shortcode sample for my S2 Member Pro Level 1 sign up for Authorize.net

Code: Select all
[s2Member-Pro-AuthNet-Form level="1" ccaps="" desc="$295 USD / One Time ( for lifetime access, non-recurring, no trial )" cc="USD" custom="etfstocks.com" ta="0" tp="0" tt="D" ra="295" rp="1" rt="L" rr="BN" accept="visa,mastercard,amex,discover" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]

Re: s2Member and Authorize.Net level issue

PostPosted: May 27th, 2011, 2:25 pm
by Jason Caldwell
OK. Thank you. This looks good.
Now, please submit a list of all the other plugins that you're running in concert with s2Member. From what I understand thus far, it sounds like something is interfering with s2Member's ability to handle Role changes dynamically during registration/checkout. If you can provide a list of other plugins that you're running, we can probably help you out in this regard. Either that, or you might just try testing this for yourself, by disabling one plugin at a time until s2Member is able to handle things properly.

Re: s2Member and Authorize.Net level issue

PostPosted: May 29th, 2011, 4:06 pm
by amim1987
Here is the list of all the active plugins for the website. Can't seem to pinpoint which of these plugins could be interfering with s2Member's Role changes if that is the issue.

Akismet
Calendar
Contact Form 7
Fast Secure Contact Form
FeedWordPress
My FTP
Page Restrict
s2Member
Single Post Template
Ultimate Google Analytics
W3 Total Cache
WordPress SEO
WP Sales Engine 2.0
WP Show IDs

Re: s2Member and Authorize.Net level issue

PostPosted: May 31st, 2011, 6:29 am
by Jason Caldwell
Sorry, nothing jumping right out at me yet. I would try deactivating "W3 Total Cache", or looking over your configuration of this plugin. If nothing gives, please send me a Dashboard login ( and FTP access ) through this private contact form. I'll be happy to take a look for you.

Re: s2Member and Authorize.Net level issue

PostPosted: June 1st, 2011, 12:56 am
by Jason Caldwell
Thank you. I'll investigate this asap.

Re: s2Member and Authorize.Net level issue

PostPosted: June 3rd, 2011, 1:33 am
by Jason Caldwell
Investigation completed.
I was able to reproduce this problem on your end, thank you! I'ts not really a "bug" causing this ( at least not in the full sense of the word ), it's more of an unexpected behavior on the part of Authorize.Net. I'm marking this thread though, so we can update s2Member in a future release to deal with this.

The problem.
You're running s2Member Pro against a live Authorize.Net account, in TEST MODE. s2Member can be tested with Authorize.Net Sandbox mode, against an Authorize.Net Sandbox/Test account, but when you attempt to run test transactions against a live account like this, Authorize.Net returns a big fat `0` for all transaction IDs, and s2Member does not deal with this.

Solution. Switch to LIVE mode, or put s2Member into Sandbox mode, and run your tests against an Authorize.Net Sandbox/Test account. You can get one here: https://developer.authorize.net/testaccount/ You'll find further details regarding Authorize.Net Test Acccounts, in your Dashboard, under: s2Member -> Authorize.Net Options.
100% Problem found

@TODO: Update s2Member to deal with TEST MODE against a live account with `0` transaction IDs.