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.

Please help with this integration

Home Forums Community Forum Please help with this integration

This topic contains 1 reply, has 2 voices. Last updated by  Cristián Lávaque 4 years ago.

Topic Author Topic
Posted: Wednesday Dec 19th, 2012 at 7:07 am #35015
Ben Foux
Username: 51Options

Hi,

I needed some help with s2Member Pro integration with our website. I am a programmer myself, so I can use your guidance on different scripts.

We need to implement the following work flow:

Page A: This page contains a signup form. When customers submit this form, we need to add him as a “free member” in WordPress, and pass his new “user_id” to ClickBank.

Page B: It is the “Thank-you” page. At this page, we collect the “user_id” data back from ClickBank and upgrade his membership to s2Member Level 1.

Please suggest me how to integrate the above two steps. If you suggest me any code or script, perhaps I will be able to do that; I am a WordPress programmer and I am familiar with its hooks, filters, and functions.

Thanks

  • This topic was modified 4 years ago by  Ben Foux.
  • This topic was modified 4 years ago by  Ben Foux.
  • This topic was modified 4 years ago by  Ben Foux.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Dec 20th, 2012 at 8:24 am #35143

Hi Ben.

You can take a look at the s2Member button for ClickBank. If the user is logged in, it’ll reference him by ID. You could look at the code behind it and see if you can use that same variable. [hilite path]Dashboard -› s2Member® -› ClickBank® Buttons -› Membership Level # Buttons[/hilite]

http://www.s2member.com/codex/stable/s2member/clickbank/package-summary/

Keep in mind that the payment gateways in s2Member Pro use some of the processing routines in the framework, and they’re named after PayPal since it was the first one supported when that code was written. Just letting you know so it doesn’t confuse you when you study the code.

I hope that helps. :)

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.