Commit cf65ba7a authored by jenlampton's avatar jenlampton

Decrease number of transactions in trial period from 1 to 0.

parent e72579d7
......@@ -714,6 +714,7 @@ function _authorizenetwebform_prepare_data($transaction_type, $nid, $field_value
if ($transaction_type == 'ARBCreateSubscriptionRequest') {
$tomorrow = new DateTime('tomorrow');
//$tomorrow = new DateTime('tomorrow + 1day');
$start_date = $tomorrow->format('Y-m-d');
$subscription_data = array(
'name' => 'Recurring donation',
......@@ -724,7 +725,7 @@ function _authorizenetwebform_prepare_data($transaction_type, $nid, $field_value
),
'startDate' => $start_date,
'totalOccurrences' => 9999,
'trialOccurrences' => 1,
'trialOccurrences' => 0,
),
'amount' => $amount,
'trialAmount' => '0.00',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment