automatic renewal of recurring for OFFLINE

Discussion in 'Payments processing' started by sitewizard, Mar 10, 2011.

  1. sitewizard

    sitewizard New Member

    Joined:
    Nov 29, 2010
    Messages:
    14
    hi,

    we take payment via direct debit (automated bank transfers that we control outside of amember).

    Because we use the affiliate program and pay a % of the monthly fee to our affiliates it is important that we use recurring billing.

    Offline does not allow recurring billing.

    How can we make a simple automation to ensure that amember ASSUMES it has been paid every month on a recurring bill - and we will MANUALLY cancel any account that fails outside of amember.

    I'm happy to hack an existing payment module to spoof a payment arriving.

    This gives us far less administrative overhead (less than 1% failure rate) than trying to create a new monthly subscription manually for each member each month.

    If this is a custom job, please give me a price or drop me an email to discuss.

    Thanks
  2. jackgordon

    jackgordon aMember Pro Customer

    Joined:
    Mar 23, 2009
    Messages:
    269
    We accomplished this by changing amember from monthly recurring to free lifetime accounts. As far as our clients know, they are on a monthly billing system. We never have to touch their accounts unless they cancel or their payments stop coming in.
  3. sitewizard

    sitewizard New Member

    Joined:
    Nov 29, 2010
    Messages:
    14
    Hi, thanks for the reply. How would the free lifetime account handle the monthly affiliate revenue though? I wouldn't have thought it could? Please let me know if you have that part working, because that's the tricky bit....
    Thanks very much
  4. jackgordon

    jackgordon aMember Pro Customer

    Joined:
    Mar 23, 2009
    Messages:
    269
    I manage my affiliates outside of amember. Sorry, haven't solved that problem :)

    If you do come up with a solution, I may be willing to go in on it with you though. Keep me in mind.
  5. sitewizard

    sitewizard New Member

    Joined:
    Nov 29, 2010
    Messages:
    14
    OK - I've got it working - it's quite a long post BUT...
    installed firstpay - then hacked firstpay.inc.php to JUST return a success from cc_bill function - return array(CC_RESULT_SUCCESS, "", 'automatic', $log);

    I found a post on here about stopping signup emails from MANUAL payments - I installed that AND added an extra IF line that also stops the emails from FIRSTPAY payments.

    I then edited the template for the ADMIN subscriptions page and made FIRSTPAY the default (instead of manual).

    Edit your subscription products and select the payment type as FIRSTPAY

    When you add someone to that subscription from ADMIN it will be automatically recurring from then on, and create the invoices and create the affiliate payments (bit of a problem there with it paying a percentage of the TAX total instead of the PRE tax - but I'll fix that tomorrow!)

    Oh, I should point out that I've hard coded the signup page and I've removed a reference to the members.php?add_renew - to stop clients selecting this subscription for themselves (may be other ways of doing that).

    Anyway, it's a lot of customisation but it is very close to doing exactly what I need.

    I'll let you know!
    All the best with yours!
  6. sitewizard

    sitewizard New Member

    Joined:
    Nov 29, 2010
    Messages:
    14
    ps I thought perhaps you'd have to spoof the card details and expiry date - but it doesn't check for them so you can leave them blank

Share This Page