"offering@rolcc.net", "no_shipping" => 2, "item_name" => "Tithe and Offerings", "on0" => "Category", "os0" => $category, "on1" => "Dept-Ignite", "os1" => "" ); if ($method == "onetime") { $form["cmd"] = "_xclick"; $form["amount"] = $amount; } else if ($method == "recurring") { $form["cmd"] = "_xclick-subscriptions"; $form["a3"] = $amount; $form["src"] = 1; $form["sra"] = 1; $form["no_note"] = 1; $form["modify"] = 1; if ($frequency == "monthly") { $form["t3"] = "M"; $form["p3"] = 1; $frequency_days = 30; } else if ($frequency == "bimonthly") { $form["t3"] = "M"; $form["p3"] = 2; $frequency_days = 60; } else if ($frequency == "weekly") { $form["t3"] = "W"; $form["p3"] = 1; $frequency_days = 7; } else if ($frequency == "biweekly") { $form["t3"] = "W"; $form["p3"] = 2; $frequency_days = 14; } else { print "Invalid frequency: $frequency"; exit; } if (!empty($edate)) { $form["srt"] = GetNumberOfPayments($edate, $frequency_days); } } else { print "Invalid offering method!"; exit; } if ($method == "onetime") { $method_str = "One Time"; } else { if ($edate) { $method_str = "Recurring " . FrequencyString($frequency) . " until $edate"; } else { $method_str = "Recurring " . FrequencyString($frequency) . " until I cancel"; } } function GetNumberOfPayments($edate, $frequency_days) { $edate_sec = strtotime($edate); if ($edate_sec < time()) { print "End Date cannot be earlier than Start Date!"; exit; } $ndays = ($edate_sec - time()) / 86400; return intval($ndays / $frequency_days); } function FrequencyString($frequency) { switch($frequency) { case "monthly": return "every month"; case "bimonthly": return "every two months"; case "weekly": return "every week"; case "biweekly": return "every two weeks"; default: print "Invalid frequency: $frequency"; exit; } } function checkAmt($amt) { $arr_amt = str_split($amt); $arr_len = count($arr_amt); $result = ""; for ($i=0; $i < $arr_len; $i++) { $value = $arr_amt[$i]; //echo $value."
"; if( isNum($value) ) { $result .= $value; } elseif ( ($i == $arr_len -3) && ord($value) == 46 ) { $result .= $value; } } if( $result == "" || $result < 1 ) { $result = "100"; } return (float)$result; } function isNum($val) { if( ord($val) > 47 && ord($val) < 58 ) { return TRUE; } else { return FALSE; } } ?>
We are ready to setup the following offering:
To: River Of Life Christian Church
Amount: (USD)
Payment Frequency:
Category:

Your credit card donation will incur a transaction charge, of which church will cover. Your donation receipt(s) shall still reflect the full donation amount.

If the above information is correct, please click on the Payment link below. You may choose either your PayPal account or other Credit or Debit card to finalize the donation. May God bless you abundantly!

 


 

SPACE