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.

Creating a new member is it possible this way

Home Forums Community Forum Creating a new member is it possible this way

This topic contains 3 replies, has 2 voices. Last updated by  Raam Dev 4 years, 7 months ago.

Topic Author Topic
Posted: Tuesday May 15th, 2012 at 4:29 am #13479
mark mansfield
Username: markm

Hi there I am looking at s2member for a client and they wish to use their 3rd party affiliate system in conjunction with a membership site in wordpress.

The client does not wish to use paypal at all for fear of being shut down, there is an MLM component relating to the membership levels in his business model.

The site needs to sell membership products that can be tracked through the 3rd party system , and for the membership payments to made through the 3rd party system also.

This sounds simple but it raises some questions….

So the user would create a free account as step 1, then login and choose a package to upgrade or downgrade their membership to ( levels 1-4)

This membership is a virtual product that will reside within the 3rd party affiliate system.

Is there a way that upon purchase of a level 1-4 membership package, and then being re-directed to a custom thank you page, I can then use hooks and filters on that thankyou.php page to modify the users free membership level in database , and add the product to the users account in the database also?

Also what would be involved with downgrading a membership level in and cancelling a membership in the same fashion?

Thanks again for all your great documentation on this product. I think it is really the most comprehensive.

Look forward to hearing your reply.

Mark

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Wednesday May 16th, 2012 at 10:32 pm #13713
Raam Dev
Username: Raam
Staff Member

Hi Mark,

All of this is certainly possible. Upgrading/downgrading a membership level programmatically involves simply changing the user role from s2member_level0 (free) to a membership level (e.g., s2member_level1). You can read more about doing that here.

As per our support policy, custom programming and special modifications to s2Member is outside the scope of what we support (see s2Member® » Support Policy » Outside Scope). However, all the documentation you need to make this work can be found in the s2Member Codex.

Posted: Wednesday May 16th, 2012 at 10:53 pm #13714
mark mansfield
Username: markm

Hi Raam

Thank you for the info. Can you tell me if I am able to programatically create a new member of any level type programatically also?

Thanks again..

Posted: Thursday May 17th, 2012 at 3:59 am #13741
Raam Dev
Username: Raam
Staff Member

Hi Mark,

s2Member Pro comes with a Pro API, which can be used to create users of any level. Please see Dashboard -› s2Member® -› API / Scripting -› Remote Operations API.

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