latest stable versions: v130513 (changelog)

s2Member® Forums

The Customers Forum is only for paying customers.
~ We also have a free/open Community Forum.

Troubleshooting Tips

Customer support for products by s2Member® is available only through your account at s2Member.com, which grants you access to our Customers Forum. We also have public Community Forum available to all site owners (no purchase required). For further details, please read our Support Policy, which includes a list of things that we will support, and also some things that we will NOT support. Please read this before posting.

We ask that you submit all pre-sale and/or technical support questions through the appropriate support forum at s2Member.com. If you are a paid customer, an s2Member® support representative will gladly address your question/concern within 24-48 hours; excluding all major holidays. Thank you!

For troubleshooting assistance, please read this article.

1 month recurring billing instead of 30 days

Home Forums Customers Forum 1 month recurring billing instead of 30 days

This topic contains 6 replies, has 4 voices.
Last updated by  Jason (Lead Developer) 5 months, 2 weeks ago.

Topic Author Topic
Posted: Tuesday Oct 16th, 2012 @ 4:37 pm #28589
Peter Hall
s2Member® Pro (Paid Customer)
Paid Customer

Hello,

I am using Authnet Pro Forms. I have new users posted into my membership with a trial period. I use the upgrade Pro Form to allow people to pay for continued access on a one month recurring basis.

I have two problems:

1. I want the billing to actually be 1 month. However, it appears that members are billed on day earlier every month. I don’t know if this is due to signing up in a 31 day month or if there is some other issue. We’ve had numerous complains from members that they keep getting billed a day earlier every month. Has anyone else noted this and how can I solve it?

2. When members are posted in, they get an EOT time X days from signup. If they upgrade before X days are up, they are still billed the day of the upgrade. How can I prevent this so they get the entire X days and then are billed?

Thanks

List Of Topic Replies

Viewing 6 replies - 1 through 6 (of 6 total)
Author Replies
Author Replies
Posted: Wednesday Oct 17th, 2012 @ 8:44 am #28674
Cristián
Official s2Member® Support Rep
Support Rep
HelpfulExperiencedCertified

Hi Peter.

1. I want the billing to actually be 1 month. However, it appears that members are billed on day earlier every month. I don’t know if this is due to signing up in a 31 day month or if there is some other issue. We’ve had numerous complains from members that they keep getting billed a day earlier every month. Has anyone else noted this and how can I solve it?

This would be something you need to ask Authorize.Net. s2Member doesn’t manage the recurring payments, the payment gateway does that.

2. When members are posted in, they get an EOT time X days from signup. If they upgrade before X days are up, they are still billed the day of the upgrade. How can I prevent this so they get the entire X days and then are billed?

You’d need to figure out the days left in their trial and add that to your pro-form as a free initial term to the subscription, so that the first regular payment happens after that. http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604

I hope that helps. :)

Posted: Saturday Oct 27th, 2012 @ 4:54 am #29900
Peter Hall
s2Member® Pro (Paid Customer)
Paid Customer

Hello,

Regarding #2 above:

I have figured out how to “print” the days left in the EOT into the shortcode. For anyone that runs into this in the future, this is what was used and seems to work:

[s2Member-Pro-AuthNet-Form modify="1" level="1" ccaps="" desc="$24.95 USD / Monthly (recurring charge, for ongoing access)" cc="USD" custom="www.domain.com" ta="0" tp="<?php
       if ($days = get_user_option('s2member_auto_eot_time'))
    {
        $days = ceil(($days - time()) / 86400);

        if ($days > 1)
            echo $days ;
    }
?>" tt="D" ra="24.95" rp="1" rt="M" rr="1" rrt="" accept="visa,mastercard" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]

Regarding #1 above:

I am still left with the issue of days in the month. Authorize.net DOES allow true monthly billing where if I sign up on the 27th of October, I will be billed on the 27th of November, 27th of December, and even the 27th of February and March.

However, S2Member sends 30 days to Authorize.net instead of of true monthly billing. I have just tested this with 1 month recurring and in Authorize.net I see:

Subscription Interval
Payments occur every 30 days.
Subscription Duration
Start Date: 10/30/2012
End Date: No End Date (ongoing subscription)

Is there something wrong with the form or does S2 really send 30 days as the time for a month rather than “1 month”

We manually changed some memberships in Authorize.net directly and they look like this:

Subscription Interval
Payments occur on day 15 of every month.
Subscription Duration
Start Date: 10/15/2012
End Date: No End Date (ongoing subscription)

Please let me know if there is a way to fix this.

Thanks

  • This reply was modified 6 months, 4 weeks ago by  Peter Hall.
Posted: Monday Oct 29th, 2012 @ 1:39 pm #30040
Raam (Support Rep)
Official s2Member® Support Rep
Support Rep
HelpfulExperiencedCertified

Hi Peter,

I’ll need to consult with the lead developer to get clarification on that and get back to you. Thank you for your patience.

Posted: Friday Nov 2nd, 2012 @ 6:45 am #30420
Jason (Lead Developer)
Official s2Member® Support Rep
Support Rep
HelpfulExperiencedCertified

Thanks for the heads up on this thread.

@ Peter Hall

You are correct. s2Member converts all date calculations on the s2Member side of things, into days for it’s integration with Authorize.Net. Therefore, a monthly charge becomes “once every 30 days” according to s2Member Pro. I’m going to have this updated in the next maintenance release, to accomodate true monthly billing as mentioned in the context of this thread. Until then, you may unzip and upload the attached file, allowing it to override your existing copy of /s2member-pro/includes/classes/gateways/authnet/authnet-utilities.inc.php

http://www.s2member.com/wp-content/uploads/authnet-utilities.inc_.php_1.zip

Posted: Wednesday Nov 7th, 2012 @ 2:19 am #30855
Peter Hall
s2Member® Pro (Paid Customer)
Paid Customer

Thanks Jason. I was finally able to apply the patch tonight. I will have someone test this tomorrow or when the next person upgrades I will check Authnet and update here with the results.

Posted: Saturday Dec 8th, 2012 @ 3:12 am #33963
Jason (Lead Developer)
Official s2Member® Support Rep
Support Rep
HelpfulExperiencedCertified
The patch discussed previously was added to the official release of s2Member Pro v121201+. No need to continue to apply that patch file with the most recent versions of s2Member Pro.
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘1 month recurring billing instead of 30 days’ is closed to new replies.

If you're a paying customer, please use our Customers Forum. We also have a public Community Forum available to all site owners (no purchase required). You can register here (it's free). For further details, please read through our Support Policy.