Free Trial workaround

Discussion in 'Payments processing' started by komlos, Apr 21, 2004.

  1. komlos

    komlos Guest

    If cc processor doesn't support free trials, then you might want to try what I did (I use php_include protection method):

    1. Create a product in amember e.g:


    Title: Basic Trial (example)
    Price: 0
    Duration: 30 (example)
    Scope: Only Signup
    Recurring Billing: No

    2. Create the same product again with below parameters:


    Title: Basic (example)
    Price: 19.90 (example)
    Duration: 30 (example)
    Scope: Only Members having paid subscriptions
    Recurring Billing: Yes

    Now when you are setting up your pages just give access for both products like this:

    $_product_id = array(1,2);

    This way on the signup form user can choose only the free trial product. When it expires he won't have access to protected pages, only the member page, where he can renew his subscription with the same product with a price at this time.

    You can play around with the scope value.

    Hope this helps
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Nice advice !

    I would recommend also to enable:
    aMember Cp -> Setup : Require Unique E-Mail = YES
  3. komlos

    komlos Guest

    Oh, of course! I forgot that. :)
    And also verify email should be enabled too. With older amember version use "generate password" instead.
  4. dtlevin

    dtlevin New Member

    Joined:
    May 28, 2004
    Messages:
    8
    this might be a dumb question but will this also work if I am using .htpasswd?
  5. dtlevin

    dtlevin New Member

    Joined:
    May 28, 2004
    Messages:
    8
    another dumb question. where does this go
    $_product_id = array(1,2);

    Im a bit of a newbie at php but know enough to tweak things a little
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    When you use aMember CP -> Protect Folders, you have to allows access for BOTH product#1 and product#2.

Share This Page