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.

next bill date

Home Forums Community Forum next bill date

This topic contains 5 replies, has 3 voices. Last updated by  Aaron Rossano 3 years, 11 months ago.

Topic Author Topic
Posted: Wednesday Jan 30th, 2013 at 1:09 am #39969


after someone signs up for a recurring paypal subscription.

is there a way to display when is the next bill date on the site?
and when did the last bill take place too?

or is that information only available within paypal?

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Thursday Jan 31st, 2013 at 3:59 pm #40198
Username: Eduan

Hello Aaron,

I believe that info is stored in PayPal I’m afraid. s2Member doesn’t store any info regarding EOT when it comes to subscriptions I believe.

– Eduan

Posted: Saturday Feb 2nd, 2013 at 7:59 am #40401
Staff Member

Please see my reply here for details about this.

Posted: Monday Feb 4th, 2013 at 1:15 am #40584

hi jason thanks for the response.
that would be helpful with estimating the next bill date by looking at the previous date. thanks.
i’m processing recurring payments with paypal and configured to have options for:
yearly, quarterly, monthly.

how would i create a php function to match the exact configuration for how paypal will set those dates?
monthly = +1 month
quarterly = +3 months
yearly = +12 months
or does paypal look at 1 month as 30 days or something?

is there a similar function to : get_user_field(‘s2member_paid_registration_times’)
to be able to get the recurring duration? e.g monthly / quarterly / yearly?

Posted: Tuesday Feb 5th, 2013 at 3:27 am #40817
Staff Member

Thanks for the follow-up :-)

Nothing in s2Member® that is stored locally and accessible through an API Function, no. In order to retrieve those details you will need to make a call to your payment gateway and retrieve the details I describe here. Using the TERM and PAYPERIOD values you can get the exact information that you need.

Please see this PHP routine:

Are you running a Payflow Edition account? In other words, do you have these details filled in?
Dashboard -› s2Member® -› PayPal® Options -› PayFlow™ Account Details

Posted: Tuesday Feb 5th, 2013 at 7:46 pm #40886

that all worked.
i’m using paypal pro to charge users paypal or credit card.
fantastic. thank you so much.

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