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.

AuthNet & EOT demote probs for manual entries

Home Forums Community Forum AuthNet & EOT demote probs for manual entries

This topic contains 4 replies, has 2 voices. Last updated by  Jason (Lead Developer) 3 years, 11 months ago.

Topic Author Topic
Posted: Monday Jan 14th, 2013 at 11:21 am #37413

Thanks so much for the awesome work you guys have done! Great plugin.

Here’s our issue.

We had switched over from our old site and imported a bunch of members.

We manually created ARB subscriptions through authorize.net for all of the members that were imported and updated the wordpress profile fields as follows:
– Paid Subscr. ID accordingly with the ARB subscriber ID from auth.net
– gateway set to auth.net
– “Role” is set to s2Member Level 2

OUR ISSUE(S)
When these manually created users/ARB subscriptions are declined from Authorize.net, S2 is not demoting them to subscriber level. We are seeing the following conditions under a user who was declined.
– Paid Subsc ID is set to the ARB subscription we manually created above
– Gateway is set to auth.net
– Role is still s2Member Level 2

ADDITIONAL INFO
We are assuming that the s2 is demoting users correctly who had registered on our site without us manually entering them in because we are seeing that there are users who were recently declined from ARB with the following conditions being displayed on wordpress
– blank Paid Subscr ID
– blank Paid Subscr Gateway
– access level is Subscriber and not one of the S2 Member Paid Levels

Any help you can provide would be greatly appreciated.

Thanks Guys!

List Of Topic Replies

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Monday Jan 14th, 2013 at 2:11 pm #37503
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

Yea, this gets a bit hairy when you’re trying to synchronize manual imports with s2Member. What you’ve done so far is great. That’s necessary, and it sounds like you’ve already got a pretty good handle on this. Just one missing component here that needs to be given to s2Member please.

You will need to set a WordPress option value for each customer that did NOT actually checkout using the s2Member software (i.e. those you imported and want to synchronize with ARB).

$user_id = 123; // A User's ID in WordPress, for this example.

$ipn_signup_vars = array (
	'subscr_id' => '00823420234', // ARB Subscription ID (same as Paid Subscr. ID in Dashboard).
	'custom' => 'example.com', // Your WordPress installation domain. If your site uses the www. prefix, make SURE you use that here. Whatever you run WordPress with please.
	'period1' => '0 D', // Set this to the number of days (if any) you gave as a free trial period. Example: 0 D = zero days, 1 W = one week, 1 M = 1 month, 1 Y = 1 year.
	'period3' => '0 D', // Set this to the recurring interval associated with the ARB subscription (i.e. it bills every X days/weeks/etc). Example: 0 D = zero days, 1 W = one week, 1 M = 1 month, 1 Y = 1 year.
	'payer_email' => 'user@example.com', // Billing email address (i.e. customer's email address is fine).
	'first_name' => 'John', // Customer's first name.
	'last_name' => 'Doe', // Customer's last name.
	'item_number' => '2', // A value of 2 indicates Membership Level #2.
	'item_name' => 'Membership', // A product description (i.e. what was purchased).
);

update_user_option($user_id, 's2member_ipn_signup_vars', $ipn_signup_vars);

// Repeat this for each of the Users you've imported into WordPress, that you want to synchronize with Authorize.Net ARB subscriptions.
// This function may come in handy for iterating many users at once. See: http://codex.wordpress.org/Function_Reference/get_users

You’ll want to show this to a developer. If there are questions, please let us know :-)

Also, be sure that you’ve enabled s2Member’s Auto EOT System here:
Dashboard -› s2Member® -› Authorize.Net® Options -› Automatic EOT Behavior

Posted: Monday Jan 14th, 2013 at 2:19 pm #37505

OK on it – and thanks so much will report back – :)

Posted: Wednesday Jan 16th, 2013 at 8:06 am #37715

awesome!

that seemed to work. We ran a few tests and after about <24 hours after authnet declined them, they were converted to subscriber level.

Now we only need help with one more issue (for now) that is preventing members from updating their billing info.

https://www.s2member.com/forums/topic/update-billing-phone-authorize-net/

Thanks Jason!

Posted: Thursday Jan 17th, 2013 at 12:54 pm #37895
Staff Member

Excellent work! I’m closing this thread and we’ll pick it up in this one now.
https://www.s2member.com/forums/topic/update-billing-phone-authorize-net/#post-37877

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