Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-02T18:26:36-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16088 2011-12-02T18:26:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54454#p54454 <![CDATA[Re: Fixed Term with AuthNet]]>
Appreciate the help. One of the great selling points of s2member is that the source is available for just this sort of hacking - that's a big reason why I'm getting rid of Wishlist.

Statistics: Posted by biffhardwell — December 2nd, 2011, 6:26 pm


]]>
2011-12-02T03:50:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54379#p54379 <![CDATA[Re: Fixed Term with AuthNet]]> Hey, thanks for the follow-up.
~ and for the KUDOS, much appreciated!

As far as the EOT handling, do you have any suggestions? I was thinking of letting the system downgrade the user upon receiving a notification from Auth.net, but then using the s2member notification API to send myself a message, where I'd then make them a Level1 member again. Does that approach make sense?
I don't see anything wrong with that approach. It's not ideal, but probably the closest you'll get at this time, given the current limitations of Authorize.Net integration in this regard. Your custom API script should be able to handle the promotion back to Level #1 automatically though.

Something like this perhaps.
Code:
<?php
$user_id 
= 123;
$user = new WP_User($user_id);
$user->set_role("s2member_level1");
?>

Statistics: Posted by Jason Caldwell — December 2nd, 2011, 3:50 am


]]>
2011-12-02T02:11:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54371#p54371 <![CDATA[Re: Fixed Term with AuthNet]]>
As far as the EOT handling, do you have any suggestions? I was thinking of letting the system downgrade the user upon receiving a notification from Auth.net, but then using the s2member notification API to send myself a message, where I'd then make them a Level1 member again. Does that approach make sense?

Thanks again for the tip on the fixed term. I'm currently deep into getting the jwplayer working with RTMP on CloudFront - you've done a terrific job on that, lots of non-trivial stuff behind the scenes to make it work!

Statistics: Posted by biffhardwell — December 2nd, 2011, 2:11 am


]]>
2011-12-02T00:46:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54365#p54365 <![CDATA[Re: Fixed Term with AuthNet]]> Thanks for the heads up on this thread.

Yes, that's correct. While Authorize.Net does support this, s2Member does not yet. It is supported by s2Member's PayPal Pro integration, so that might be an option for you. Otherwise, if you'd like to hack this in, you can take a look at this file:
/s2member-pro/includes/classes/gateways/authnet-checkout-in.inc.php

Search for occurrences of: $authnet["x_total_occurrences"], and hard code what you need. Or, perhaps you can come up with something a bit more dynamic. That's the best I can do at this time. The next major release of s2Member Pro ( coming in 2012 ) will resolve this.

Statistics: Posted by Jason Caldwell — December 2nd, 2011, 12:46 am


]]>
2011-11-30T20:29:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54267#p54267 <![CDATA[Re: Fixed Term with AuthNet]]>
I'm loving the rest of the functionality of s2member (I'm converting over from Wishlist, and have also tried to use wpmu's Membership) so I'm really keen on getting over this final hurdle.

Statistics: Posted by biffhardwell — November 30th, 2011, 8:29 pm


]]>
2011-11-30T19:00:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54265#p54265 <![CDATA[Re: Fixed Term with AuthNet]]>
That's right, the Auth.Net implementation doesn't handle fixed number of terms yet. And the EOT has that limitation you mention too. All these should be resolved very soon in a coming release of s2Member, around Feb-Mar 2012.

In the meantime, it's great you're trying to make it work for your model. I'm notifying Jason, the Lead Developer, about your questions so he can give some insight and ideas to try. :)

Statistics: Posted by Cristián Lávaque — November 30th, 2011, 7:00 pm


]]>
2011-11-29T23:17:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54222#p54222 <![CDATA[Re: Fixed Term with AuthNet]]>
One other aspect occurred to me, in addition to the fundamental one of getting Authorize.net to work correctly: The current EOT handling is either downgrade or delete, and I want different behavior (maintain). I want to process the EOT, so I know the user has cancelled and shouldn't get new content, but I want everything else to stay in place.

I'm writing a little plugin to do content protection of the drip-fed content, and this would be simple to implement if I had the timestamp of the EOT event. No EOT = they're still paying, EOT = they're frozen at the level at which that happened.

What's the best way of handling that?

Also, with regards to the ARB question - I'm very open to workarounds too. For example, having the system itself force a cancellation after 6 payments. If that's easier than doing it right, would appreciate pointers for how to do it.

Statistics: Posted by biffhardwell — November 29th, 2011, 11:17 pm


]]>
2011-11-29T22:40:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54221#p54221 <![CDATA[Re: Fixed Term with AuthNet]]> Statistics: Posted by Eduan — November 29th, 2011, 10:40 pm


]]>
2011-11-29T19:20:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54220#p54220 <![CDATA[Re: Fixed Term with AuthNet]]> Statistics: Posted by biffhardwell — November 29th, 2011, 7:20 pm


]]>
2011-11-29T14:09:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54206#p54206 <![CDATA[Re: Fixed Term with AuthNet]]>
* @todo Add support for `rrt=""` Attribute.

Does this mean I can't use s2member for a fixed term subscription?

Statistics: Posted by biffhardwell — November 29th, 2011, 2:09 pm


]]>
2011-11-28T19:21:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54118#p54118 <![CDATA[Re: Fixed Term with AuthNet]]> http://www.authorize.net/support/ARB_guide.pdf, I see on page 11

totalOccurences:

Value: Number of billing occurrences or payments for the subscription Format: Up to 4 digits
Notes: To submit a subscription with no end date (an ongoing subscription), this field must be submitted with a value of “9999.”
If a trial period is specified, this number should include the Trial Occurrences.

This seems to be the right thing on the Authorize.NET side. Is there support on the s2member side for this?

Statistics: Posted by biffhardwell — November 28th, 2011, 7:21 pm


]]>
2011-11-27T21:42:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16088&p=54029#p54029 <![CDATA[Fixed Term with AuthNet]]>
* 2 week free trial. I collect their credit card information and get the ARB stuff set up in the background. "If you like the content, do nothing and you'll automatically be billed for continuing access!"

* 6 payments of $x every 4 weeks. I'll be dripping content to them throughout this time.

* If they cancel, they retain whatever access they had at that time.

* If they complete all 6 payments, they retain access to everything, plus some bonus material.

How can I accomplish this?

Statistics: Posted by biffhardwell — November 27th, 2011, 9:42 pm


]]>