$eshopemailbus = $eshopoptions['business']; if (isset($eshopoptions['business_sec']) && $eshopoptions['business_sec'] != '') { $eshopemailbus = $eshopoptions['business_sec']; $_POST['business'] = $eshopemailbus; } $checkid = md5($eshopemailbus . $token . number_format($pvalue, 2)); //affiliates if (isset($_COOKIE['ap_id'])) { $_POST['affiliate'] = $_COOKIE['ap_id']; } orderhandle($_POST, $checkid); if (isset($_COOKIE['ap_id'])) { unset($_POST['affiliate']); } $_POST['custom'] = $token; $p = new eshop_paypal_class(); if ($eshopoptions['status'] == 'live') { $p->paypal_url = 'https://www.paypal.com/cgi-bin/webscr'; // paypal url } else { $p->paypal_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr'; // testing paypal url } if ('no' == $eshopoptions['paypal_noemail']) { unset($_POST['email']); } $echoit .= $p->eshop_submit_paypal_post($_POST); //$p->dump_fields(); // for debugging, output a table of all the fields break; case 'process': // Process and order...