//if ($REQUEST_METHOD == "POST") {
if (isset($_POST[submit])) {
// Just to be on the safe side - I'll strip out HTML tags
// (scripting code may mess with some email clients)
//$firstname = strip_tags($firstname);
//$lastname = strip_tags($lastname);
//$email = strip_tags($email);
// setup variables
$mailheaders = "From: FEF SECURE Donations \n";
$mailheaders .= "Reply-To: $_POST[email]";
$sendto = "priv_webdonations@christtown.com";
$sendtous = "$_POST[email],webdonations@christtown.com";
$fourdigits = substr($_POST[cc_number], -4);
$subject = "$_POST[firstname] made a secure online donation on the FEF Web Site";
$message = "Personal Information:\n
First Name: \t$_POST[firstname]
Last Name: \t$_POST[lastname]
Email Address: \t$_POST[email]
Primary Phone: \t$_POST[phone]
Primary Address:
Street: \t$_POST[cc_street]
City/Province: \t$_POST[cc_city]
State: \t$_POST[cc_state]
Zip/Postal Code: \t$_POST[cc_zipcode]
Country: \t$_POST[cc_country]
Credit Card:\n
Type: \t$_POST[cc_type]
Owner: \t$_POST[cc_owner]
Number: \t$_POST[cc_number]
Expiration Month: \t$_POST[cc_month]
Expiration Year: \t$_POST[cc_year]
Verification Number: \t$_POST[cc_cvv]
Donation Amount: \t$_POST[cc_amount]
Offering Type: \t$_POST[offertype]
Prayer Request: \t$_POST[prayer]
Join Our Mailing List: \t$_POST[mailinglist]";
// Last Name: \t$_POST[lastname]
// Wants Email Updates: \t$_POST[yestoupdates]
// \n\nPlease verify all info and send user a separate Thank you email without any of the above information included.";
// send email
mail($sendto, $subject, $message, $mailheaders);
mail($sendtous, "FEF_ONLINE_DONATIONS: $_POST[firstname] $_POST[lastname] donated $_POST[cc_amount] for $_POST[offertype].", "Dear $_POST[firstname],\n\nThanks for joining us and supporting the vision of Faith Exchange.
For your records:
Donation amount: $_POST[cc_amount]
Using Credit Card Type: $_POST[cc_type]
Last 4 Digits: $fourdigits
Expiration Month: \t$_POST[cc_month]
Expiration Year: \t$_POST[cc_year]
We stand in agreement with you for the 100-fold return on every seed sown so far and this seed of $_POST[cc_amount] dollars, and expect that our Yahweh will take care of all your need according to His riches in glory by Yahshua Ha’Moschiach! You have sown into rich ground and we pray the blessing over you and your family. Pastors Dan and Ann Stratton love you and look forward to serving your needs.
If you gave a seed toward Haiti Earthquake Relief, your money will go directly towards helping the Haitian people.
Please join our Daily Prayer Calls – Schedule found here: www.faithexchange.org/prayer.html.
Ahava,
Pierre
www.faithexchange.org
P.S. Please keep/print a copy of this email for your records, and look forward to more online improvements including the ability to securely track all of your online donations to Faith Exchange.", "From: FEF_DONATIONS_Reply ");
}
?>
|
Your Donation was processed
, thank you for taking the time to give to Faith Exchange. We'll be sending you an email receipt for your records.
Thank you.
Have you seen our new BLOG yet?
Have you yet registered on our Mailing Lists?
Feel free to continue browsing our site.
|
|
|