Grab the feed

School is a twelve-year jail sentence where bad habits are the only curriculum truly learned.

John Taylor Gatto

Recent comments

what about 15 day trial on a 3 month occurrence ARB?

Hi i need to offer 15 day trial for an ARB that will be charged every 3 months. so here is how i set it up:
$arb->setParameter('interval_length', 3); ----------> put 3
$arb->setParameter('interval_unit', 'months');--------------> put months
$arb->setParameter('startDate', date("Y-m-d"));
$arb->setParameter('totalOccurrences', 1200);
$arb->setParameter('trialOccurrences', 1);----------------> i put 1 here but i know it is wrong
$arb->setParameter('trialAmount', 0.00);
$arb->setParameter('amount', 59.97);
$arb->setParameter('refId', '1');
$arb->setParameter('cardNumber', $_POST['number']);
$arb->setParameter('expirationDate', $expdate);

can someone help ? thanks!

Add your comment