
As a verified authorize.net merchant we accept all major credit cards at no additional charge. For your convenience, we also accept PayPal.
LeConte-Woodmanston Foundation Membership Form
All memberships are tax deductible. We are a 501(c)3 non-profit organization.
Your support is greatly appreciated.
'; } function display_authorize($amount, $category) { //XXX-Enter Login ID- $login = "8q4dvt9LB5"; //XXX-Enter Transaction Key- $transaction = "7N2w5283HV6Y6jp9"; $test = "false"; // By default, this sample code is designed to post to our test server for // developer accounts: https://test.authorize.net/gateway/transact.dll // for real accounts (even in test mode), please make sure that you are // posting to: https://secure.authorize.net/gateway/transact.dll $url = "https://secure.authorize.net/gateway/transact.dll"; // $url = "https://test.authorize.net/gateway/transact.dll"; // an invoice is generated using the date and time $invoice = date(YmdHis); // a sequence number is randomly generated $sequence = rand(1, 1000); // a timestamp is generated $time = time (); // The following lines generate the SIM fingerprint. PHP versions 5.1.2 and // newer have the necessary hmac function built in. For older versions, it // will try to use the mhash library. if( phpversion() >= '5.1.2' ) { $fingerprint = hash_hmac("md5", $login . "^" . $sequence . "^" . $time . "^" . $amount . "^", $transaction); } else { $fingerprint = bin2hex(mhash(MHASH_MD5, $login . "^" . $sequence . "^" . $time . "^" . $amount . "^", $transaction)); } // Create the HTML form containing necessary SIM post values echo ""; } function display_paypal($amount, $category) { echo ""; } if (isset($_POST['process'])) { // if page is not submitted to itself echo the form // $amount = "19.99"; $category = Trim($_POST['x_category']); $split =(explode("$",$category)); $amount = $split[1]; // Print the Amount and Description to the screen. echo "Please confirm your Membership Category:
"; echo "
Category: $category
"; echo "
Amount: $" . number_format($amount,2) . "
"; echo "
Change Membership Category
"; // echo "Description: $category
"; //display_authorize($amount,$category); display_paypal($amount,$category); } else { display_process(""); } echo '
This form will take you to our secure server where you can safely use your credit card to become a member.
'; ?>or