• Hi Everyone,

    I have installed S2 Member and absolutely love the feature set. I think this will work great with the product I am trying to release as a WSO on the Warrior Forum. The only problem is that they do not offer any type of payment integration for the free version like JVZoo does. My product will be a front end PDF that will be hosted on WSO Pro, and then a video series as a OTO to be hosted on my S2 Membership Site.

    I have a programming background, and was hoping to come up with my own solution. The simplest method I was thinking about was creating a block of WordPress usernames and passwords ahead of time, and then assigning them whenever a WSO purchase is made. I have no experience with WordPress plugins, but I thought I might be able to just create a basic PHP script that could handle the IPN sent from WSO Pro. If I mirror the usernames and passwords in a MySQL table, then I can just send the login info out to the paypal email address that comes in through the IPN. The user wouldn’t be able to customize their login info, but it would save them having to fill out yet another form in the checkout process.

    Does this sound like it would work, or is there a better way to do the integration?

    Thanks in advance,
    -Ben M.

    https://www.ads-software.com/plugins/s2member/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I am absolutely not a programmer, but I am wondering if you could use Easy Digital Downloads and its Warrior Forums Licensing add-on to form a bridge between WSO and your WordPress site.

    You then could set up an MU-plugin to hook into EDD, so that purchase of the WSO also creates the user’s s2Member role on your WP site. Maybe something like this:

    <?php
    function ao_edd_set_customer_role( $payment_id ) {
    	$email = edd_get_payment_user_email( $payment_id );
    	$downloads = edd_get_payment_meta_downloads( $payment_id );
    	$user_id = edd_get_payment_user_id( $payment_id );
    	if( $user_id ) {
    		$user = new WP_User( $user_id );
    		// Add role
    		$user->add_role( 's2member_level1' );
    	}
    }
    add_action( 'edd_complete_purchase', 'ao_edd_set_customer_role', 100 );

    Nice solution, @kts915!

    Ijlal Ahmed

    (@ijlalahmedwebdesk)

    I also want to do something like this with jvzoo. I am creating a membership website https://jvmarketing.org I wan’t my website to create an account automatically when someone buys a membership package and send them their email and password via email.
    Any thoughts on how to achieve that?

    Thanks, @krumch!!

    @ijlalahmedwebdesk, there’s an EDD extension for JVZoo, so you should be able to do much the same thing.

    Ijlal Ahmed

    (@ijlalahmedwebdesk)

    But I wan’t to accept recurring payments.
    Thanks for your fast response time though

    @ijlalahmedwebdesk,

    Then you’ll have to get creative. You could simply present your users with a billing modification form or button to transform them into members with recurring subscriptions.

    Ijlal Ahmed

    (@ijlalahmedwebdesk)

    Okay Thanks !

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How can you automate account creation after WSO Pro payment?’ is closed to new replies.