Reply
Highlighted
Member
Posts: 1
Registered: ‎06-08-2016

How to capture a customers transaction and put it on hold

[ Edited ]

Hello,

 

I have a really simple form to take deposit from a customer and that form is dynamically populated with some simple php code. Right now all the transactions are being processed right away. I would like to change the transaction type so that all funds recieved are place on hold and I can go into my authorize.net account and realse them manually. My code is below can anyone tell me how to change the transaction type? Thank you in advance. I been looking on the site and could not find any answers. All the code I see is new and I am using a simple html form.

 

require_once 'anet_php_sdk/AuthorizeNet.php';
$api_login_id = ' ';
$transaction_key = ' ';
$amount = "1000.00";
$fp_timestamp = time();
$fp_sequence = "123" . time(); 
$fingerprint = AuthorizeNetSIM_Form::getFingerprint($api_login_id, $transaction_key, $amount, $fp_sequence, $fp_timestamp)

<form method='post' action="https://secure.authorize.net/gateway/transact.dll" target="_blank">
 <input type=hidden name="x_header2_html_payment_form" value=""> 
 <input type=hidden name="x_header_html_payment_form" value="">
 <input type=hidden name="x_description" value="<?php echo $year?> <?php echo $make?> <?php echo $model?> <?php echo $Submodel?>">
 <input type=hidden name="x_invoice_num" value="<?php echo $id?>">
 <input type='hidden' name="x_login" value="<?php echo $api_login_id?>" />
 <input type='hidden' name="x_fp_hash" value="<?php echo $fingerprint?>" />
 <input type='hidden' name="x_amount" value="<?php echo $amount?>" />
 <input type='hidden' name="x_fp_timestamp" value="<?php echo $fp_timestamp?>" />
 <input type='hidden' name="x_fp_sequence" value="<?php echo $fp_sequence?>" />
 <input type='hidden' name="x_version" value="3.1">
 <input type='hidden' name="x_show_form" value="payment_form"> 
 <input type='hidden' name="x_test_request" value="false" />
 <input type='hidden' name="x_method" value="cc">
 <input type="image" class="btn btn-success" name="submit" value="Secure Payment" >
</form>
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: How to capture a customers transaction and put it on hold