Client Invoice Payment Receipt

$_SERVER[\’HTTP_HOST\’] = ‘ . $strHTTP_HOST . “
\n” ); // rennercpa.com
echo( ‘$strHTTP_HOSTLC = ‘ . $strHTTP_HOSTLC . “
\n” ); // rennercpa.com
echo( ‘$_SERVER[\’HTTP_REFERER\’] = ‘ . $strHTTP_Referer . “
\n” ); // Testing: https://globalgatewaye4.firstdata.com/payment/payment_completion?merchant=WSP-RENNE-53d2ggBG6A&order=
// Live: https://globalgatewaye4.firstdata.com/payment/final_receipt?merchant=WSP-RENNE-53d2ggBG6A&servdt5=2
// https://globalgatewaye4.firstdata.com/payment/payment_completion?merchant=WSP-RENNE-53d2ggBG6A&order=
echo( ‘$strFromLC1 = ‘ . $strFromLC1 . “
\n” );
echo( ‘$strHTTP_RefererLC1 = ‘ . $strHTTP_RefererLC1 . “
\n” );
echo( ‘$strFromLC2 = ‘ . $strFromLC2 . “
\n” );
echo( ‘$strHTTP_RefererLC2 = ‘ . $strHTTP_RefererLC2 . “
\n” );
echo( ‘$_SERVER[\’REQUEST_METHOD\’] = ‘ . $strREQUEST_METHOD . “
\n” ); // POST
*/

$strExact_Ctr = str_replace( “\r\n\r\n”, “\r\n”, filter_var($_POST[‘exact_ctr’], 513) );
$strExact_Ctr = str_replace( ‘Transaction not approved ‘. $strBank_Resp_Code, “\r\n” . ‘Transaction not approved ‘ . $strBank_Resp_Code . “\r\n” . $strBank_Message, ” ” . $strExact_Ctr );
//echo( ‘strlen($strExact_Ctr) = ‘ . strlen($strExact_Ctr) . “

\n” );

if ((($strHTTP_RefererLC1 != $strFromLC1) && ($strHTTP_RefererLC2 != $strFromLC2)) || ($strREQUEST_METHOD != “POST”) || (strlen($strExact_Ctr) < 10)) { ?>

Bad Request!!


First Name:   
Last Name:   
Company Name:   


Address:   
City:   
State:   
Zip Code:   
E-mail:   


Invoice Number:   
Client Number:   
Amount:   
Description:   


Billing Address:   
Billing City:   
Billing State:   
Billing Zip: