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.

S2member Database Tables

Home Forums Community Forum S2member Database Tables

This topic contains 1 reply, has 2 voices. Last updated by  Raam Dev 4 years, 6 months ago.

Topic Author Topic
Posted: Friday Jun 29th, 2012 at 2:38 pm #17878
julian
Username: julian

Hello,

We are looking to integrate S2member into our wordpress installation to accept payments for digital content. Our PHP web app needs to the ability to read the wp database and tell if a member has purchased a subscription. What tables can we read to attain this information from S2member?

Thank you

Julian

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Saturday Jun 30th, 2012 at 6:25 am #17934
Raam Dev
Username: Raam
Staff Member

Hi Julian,

That information is currently stored in the user_meta table. If you do a search WHERE meta_key LIKE ‘%s2member%’ you should find the necessary data.

Based on what you’re trying to do, it might be easier to use the s2Member hooks and write some code that stores the information you need in a separate lookup table. From a coding standpoint, this would be simple using the s2Member hooks for PayPal (for recording new subscriptions) and for the Auto EOT System (for recording cancellations, end of terms, etc.).

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