Example #1
0
     }
     orderhandle($_POST, $checkid);
     if (isset($_COOKIE['ap_id'])) {
         unset($_POST['affiliate']);
     }
     $traxid = $p->sTransactionId;
     $_POST['custom'] = $traxid;
     if ($eshopoptions['status'] == 'live') {
         //$p->ideallite_url = 'http://www.google.com/the-real-bank-site.html';     // ideallite url
         $p->ideallite_url = $p->sUrlAquirer;
         //why was it crippled?
     } else {
         $p->ideallite_url = 'https://www.ideal-simulator.nl/lite/';
         // testing ideallite url
     }
     $echoit .= $p->eshop_submit_ideallite_post($_POST);
     //$p->dump_fields();      // for debugging, output a table of all the fields
     break;
 case 'process':
     // Process and order...
     // There should be no output at this point.  To process the POST data,
     // the submit_ideallite_post() function will output all the HTML tags which
     // contains a FORM which is submited instantaneously using the BODY onload
     // attribute.  In other words, don't echo or printf anything when you're
     // going to be calling the submit_ideallite_post() function.
     // This is where you would have your form validation  and all that jazz.
     // You would take your POST vars and load them into the class like below,
     // only using the POST values instead of constant string expressions.
     // For example, after ensureing all the POST variables from your custom
     // order form are valid, you might have:
     //
Example #2
0
     }
     /*
     		//necessary evil fix
     		$_SESSION['orderhandle']=true;
     */
     $traxid = $p->sTransactionId;
     $espost['custom'] = $traxid;
     if ($eshopoptions['status'] == 'live') {
         //$p->ideallite_url = 'http://www.google.com/the-real-bank-site.html';     // ideallite url
         $p->ideallite_url = $p->sUrlAquirer;
         //why was it crippled?
     } else {
         $p->ideallite_url = 'https://www.ideal-simulator.nl/lite/';
         // testing ideallite url
     }
     $echoit .= $p->eshop_submit_ideallite_post($espost);
     //$p->dump_fields();      // for debugging, output a table of all the fields
     break;
 case 'process':
     // Process and order...
     // There should be no output at this point.  To process the POST data,
     // the submit_ideallite_post() function will output all the HTML tags which
     // contains a FORM which is submited instantaneously using the BODY onload
     // attribute.  In other words, don't echo or printf anything when you're
     // going to be calling the submit_ideallite_post() function.
     // This is where you would have your form validation  and all that jazz.
     // You would take your POST vars and load them into the class like below,
     // only using the POST values instead of constant string expressions.
     // For example, after ensureing all the POST variables from your custom
     // order form are valid, you might have:
     //