JSPT Docs > Case Studies > Paid Membership: AEC Integration

Paid Membership: AEC Integration

If you want to offer paid membership through AEC on your JomSocial based community website then you can use  AEC with JSPT. Learn how to configure AEC.

If AEC is used with JSPT then user's profile type can be automatically forced as per plan selected. In such a case user will not be able to select his profile type, however when he selects AEC Plan, ProfileType is automatically applied to him according to the plan.

Configuring AEC
  1. Install latest version of AEC. You will get a installation manual with the extension, so go through that carefully and perform all the steps as mentioned there.
  2. After Performing first step, install latest JSPT version.
  3. Now go to Components -» AEC -» Micro-Integrations
  4. Make sure Jomsocial-Jspt micro-integration exists
  5. Now create micro-integrations for every profile type
  6. Now click on Components -» AEC -» plans
  7. Create membership plans and attach these with related micro-integration.
  8. With every plan you can set the payment preferences as you require (see AEC manual).
  9. In global settings, carefully set below mentioned settings -
    • Require Subscription - YES
    • Plans First - YES
    • Integrate Registration - YES
Setting up AEC with JSPT
  1. Verify that in AEC micro integration list, JSPT-JomSocial Micro Integration should exist for every profiletype.
  2. This way, when user subscribe to a plan, you can ensure what profile type is assigned to them.
  3. This will also ensure that once the plan expires, what profile type will be assigned to user after expiration. 
    • Select Profile Type Name: Select which profile type will be assigned if user subscribes to plan.
    • Expiration profile type: When user's subscription expires, this profile type will be applied to him.
  4. Go to JSPT->Settings, carefully set below mentioned settings -
    • Integrate Registration - YES
    • Integration Subscription - YES
    • Integrate With - AEC
  5. In JSPT settings, assign free subscription profile type as default profile type, because JSPT assigns default Profiletype if no profile type is attached with a plan.(Important)
Important Note
  1. You should create a MicroIntegration(MI) of JSPT_JOMSOCIAL type for every profile type.
  2. Now, In AEC plan attach one of MI from above MI's.
  3. This way you can ensure user always have proper profile type as per his plan.
  4. AEC will control features on your website while JSPT will control the features in JomSocial.
  5. If no MI is attached with AEC plan then all user selecting that plan will have Default Profile Type specified in your configuration.
Registration Flow

Registration flow at front end will be as follow:

  1. Click on 'Create an Account' link.
  2. Select the Plans which you want to assign.
  3. After that Registration flow works.
  4. Profiletype will be assigned to user on activation of subscription if respective app would exist.

Flowchart of Registration flow is showing here.


  • Monday, 31 May 2010

Comments (0)

Leave a comment

You are commenting as guest.