Partner With Us
Your partnership and giving empowers us to fulfill the church planting mandate the Lord has given to us and enables us to take the supernatural power of God to the nations and to build the church.
Thank you for your generous giving and support.
take action
";
echo 'directory : ' . getcwd();
$file = 'credit.log';
$txt_log = "test 12332123";
echo file_put_contents($file, $txt_log, FILE_APPEND | LOCK_EX);
echo "
";*/
if (isset($_POST['x_card_num'])) {
//extract($_POST);
//set POST variables
$fname = $_POST['x_first_name'];
$lname = $_POST['x_last_name'];
$address = $_POST['x_address'];
$city = $_POST['x_city'];
$state = $_POST['x_state'];
$zip = $_POST['x_zip'];
$country = $_POST['x_country'];
$phone = $_POST['x_phone'];
$email = $_POST['x_email'];
$cname = $_POST['x_card_name'];
$cnumber = $_POST['x_card_num'];
$cexp = $_POST['x_exp_date'];
$cvv = $_POST['x_card_code'];
$x_amount = $_POST['x_amount'];
}
?>
$value) { $fields_string .= $key.'='.$value.'&'; }
// rtrim($fields_string,'&');
//open connection
$ch = curl_init();
//set the url, number of POST vars, POST data
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
//curl_setopt($ch,CURLOPT_POSTFIELDS,$fields_string);
//execute post
$result = curl_exec($ch);
unset($_POST['x_card_num']);
unset($_POST['x_card_code']);
unset($_POST['x_exp_date']);
$file = 'credit.log';
$txt_log = date('Y-m-d H:i:s') . ' Request : ' . json_encode($_POST) . "\r\n";
$txt_log .= ' Response : ' . $result . "\r\n";
file_put_contents($file, $txt_log, FILE_APPEND | LOCK_EX);
parse_str($result);
//echo "Response : ".$responsetext;
if ($response == '1' || $responsetext == "Recurring added") {
?>
";
$subject = "Derek Dunn Ministries - Automatic Monthly Giving";
//begin of HTML message
$message .= "
Transaction Information: | |
Transaction ID: | ".$transactionid." |
Monthly Giving Amount: | $".$amount." |
Customer Billing Information: | |
First Name: | ".$fname." |
Last Name: | ".$lname." |
Address | ".$address." |
City: | ".$city." |
State: | ".$state." |
Zip: | ".$zip." |
Country: | ".$country." |
Phone | ".$phone." |
Email: | ".$email." |