I have created an order for that will be used to process the order using the authorize.net gateway. I need it to work and I am new to php can anyone help me write the code?
The form code is below:
<form METHOD="POST" ACTION="https://certification.authorize.net/gateway/transact.dll">
<blockquote>
<p><font color="#0000FF" size="5" face="Arial"><b> Signed Copies!</b></font></p>
<p><font color="#0000FF" size="5" face="Arial"><b><img alt="Book Cover" width="155" height="218" hspace="12" align="left" v:shapes="_x0000_s1027"></b></font><font color="#0000FF" face="Arial">How would you like me to sign your
book? Please, one or two lines in the box below.</font></p>
<p><font color="#0000FF" face="Arial">Are you ordering more than one book
and would like a number of them signed?</font></p>
<p><font color="#0000FF" face="Arial">Simply tell me what you would like.
Use the box below: </font></p>
<p><textarea NAME="How-should-I-sign-your-book?" ROWS="5" COLS="35"></textarea> </p>
<p> </p>
<p><font color="#0000FF" face="Arial">How many would you like? Where would
you like me to send them?</font></p>
<table cellpadding="0" cellspacing="0">
<tr>
<td><strong><font color="#339933">QTY</font></strong></td>
<td><strong><font color="#FF00FF">DESCRIPTION</font></strong></td>
</tr>
<tr>
<td><input NAME="x_Amount" TYPE="TEXT" size="5">
<font size="1" color="#339933">$15.95
ea</font></td>
<td>
<p align="center"><input NAME="x_Description" SIZE="70" value="What Every Woman Should Know About Fertility And Her Biological Clock "></p>
</td>
</tr>
<tr>
<td></td>
<td><strong><font color="#FF00FF">SHIPPING</font> </strong><font color="#0000FF" size="3">will
ship next business day.</font></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#0000FF">Name</font></em></td>
<td><input NAME="x_first_name" id="x_first_name" SIZE="70"></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#0000FF">Street Address</font></em></td>
<td><input NAME="x_Address" id="x_Address" SIZE="70"></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#0000FF">Address (cont.)</font></em></td>
<td><input NAME="x_address" id="x_address" SIZE="70"></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#0000FF">City</font></em></td>
<td><input NAME="x_city" id="x_city" SIZE="70"></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#0000FF">State/Province</font></em></td>
<td><input NAME="x_state" id="x_state" SIZE="35"></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#0000FF">Zip/Postal Code</font></em></td>
<td><input NAME="x_zip" id="x_zip" SIZE="15" MAXLENGTH="12"></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#0000FF">Email Address </font></em></td>
<td><input NAME="x_email" id="x_email" SIZE="15" MAXLENGTH="12"></td>
</tr>
<tr>
<td></td>
<td>
<p><strong><font color="#FF00FF">BILLING</font></strong></p>
</td>
</tr>
<tr>
<td>
<p align="right"><em><font color="#008000">Credit Card</font></em></p>
</td>
<td><select NAME="x_method" size="1" id="x_method">
<option SELECTED>VISA
<option>MasterCard
</select></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#008000">Card Number</font></em></td>
<td><input NAME="x_card_num" TYPE="TEXT" id="x_card_num" SIZE="35"></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#008000">Expiration Date</font></em></td>
<td><input NAME="x_exp_date" TYPE="TEXT" id="x_exp_date" SIZE="5" MAXLENGTH="5"></td>
</tr>
<tr>
<td ALIGN="right"><em><font color="#008000">Card Code</font></em></td>
<td><input NAME="x_card_code" TYPE="TEXT" id="x_card_code" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right"></td>
<td></td>
</tr>
</table>
</blockquote>
<input name="Submit" TYPE="submit" VALUE="Submit Order">
<input name="Reset" TYPE="reset" VALUE="Reset">
</form>
[code=php]