cancel
Showing results for 
Search instead for 
Did you mean: 

Linking Authorize.net to Costumer Form

B"H

 

Hello, 

I have a basic form that takes user info in addition to credit card information and the total amount of payment.

When I click "Submit", it says "no total amount specified". 

What does Authorize.net need in order to take payment?

Thank you

Shoshana0030
Member
3 REPLIES 3
RaynorC1emen7
Expert

 

B"H

 

Thank you for your reply.  Now that I took care of that, it said I can not process my submission because the expiry date is missing.  

 

Would you be able to look at my code below and see what I need to change?

 

Thank you very much!

 


<tr>
<td class="h3" height="19" width="189">First Name/s:</td>
<td height="19" width="355"><input class="h3" tabindex="1" size="36" required="" name="First Name" type="text" /></td>
</tr>
<tr>
<td class="h3" height="19" width="189">Last Name:</td>
<td height="19" width="355"><input class="h3" tabindex="2" size="36" required="" name="Last Name" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">Address 1:</td>
<td height="22"><input class="h3" tabindex="3" size="36" required="" name="Address" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">Address 2 (cont.):</td>
<td height="22" width="355"><input class="h3" tabindex="4" size="36" required="" name="Address 2" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">City:</td>
<td height="22" width="355"><input class="h3" tabindex="5" size="36" required="" name="City" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">State:</td>
<td height="22" width="355"><input class="h3" tabindex="6" size="10" required="" style="width: 66px; height: 20px" name="State" type="text" />&nbsp;Zip: <input class="h3" tabindex="7" size="17" required="" style="width: 118px; height: 20px" name="Zip" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">Country:</td>
<td height="22" width="355"><input id="country" class="h3" tabindex="8" size="36" required="" name="Country" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">Email:</td>
<td height="22" valign="top" width="355" align="left"><input class="h3" tabindex="9" size="36" required="" name="x_email" type="text" /></td>
</tr>
<tr>
<td height="22" colspan="2"><strong>Cost: &nbsp;Only $4.00/baker | Door price: $5.00/baker</strong></td>
</tr>
<tr>
<td height="22" width="189">
<p>Number of Children Attending:&nbsp;</p>
</td>
<td height="22" valign="top" width="355" align="left"><input id="x_card_num" class="h3" tabindex="17" size="36" required="" name="x_card_num" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">
<p>In addition, I would like to donate the following amount</p>
</td>
<td height="22" valign="top" width="355" align="left"><input id="x_donation" class="h3" tabindex="17" size="36" required="" name="x_donation" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">
<p>Please charge my credit card for the full amount of:&nbsp;</p>
</td>
<td height="22" valign="top" width="355" align="left"><input id="x_amount" class="h3" tabindex="17" size="36" required="" name="x_amount" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">Card Number</td>
<td height="22" valign="top" width="355" align="left"><input id="x_card_num" class="h3" tabindex="17" size="36" required="" name="x_card_num" type="text" /></td>
</tr>
<tr>
<td height="22" width="189">&nbsp;</td>
<td height="22" valign="top" width="355" align="left">&nbsp;</td>
</tr>
<tr>
<td height="22" valign="middle" style="text-align: left;">Expiry Date:</td>
<td colspan="2" align="left"><select name="CCExpiresMonth">
<option value="" selected="selected">--Month--</option>
<option value="01">January (01)</option>
<option value="02">February (02)</option>
<option value="03">March (03)</option>
<option value="04">April (04)</option>
<option value="05">May (05)</option>
<option value="06">June (06)</option>
<option value="07">July (07)</option>
<option value="08">August (08)</option>
<option value="09">September (09)</option>
<option value="10">October (10)</option>
<option value="11">November (11)</option>
<option value="12">December (12)</option>
</select> / <select name="CCExpiresYear">
<option value="" selected="selected">--Year--</option>
<option value="04">2014</option>
<option value="05">2015</option>
<option value="06">2016</option>
<option value="07">2017</option>
<option value="08">2018</option>
<option value="09">2019</option>
<option value="10">2020</option>
<option value="11">2021</option>
<option value="12">2022</option>
<option value="13">2023</option>
<option value="14">2024</option>
<option value="15">2025</option>
</select></td>
</tr>
<tr>
<td height="22" width="189">CVV&nbsp;Code</td>
<td height="22" valign="top" width="355" align="left"><input id="x_card_code" class="h3" tabindex="19" required="" name="x_card_code" type="text" /></td>
</tr>
<tr>
<td height="22" width="189"><strong>Additional Information</strong></td>
<td height="22" valign="top" width="355" align="left">&nbsp;</td>
</tr>
<tr>
<td height="22" width="189">Use this notes field to specify any additional information: <br />
&nbsp;</td>
<td height="22" valign="top" width="355" align="left"><textarea tabindex="16" cols="22" rows="3" required="" style="width: 216px; height: 56px" name="Additional Info"></textarea></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>

Look like you are using the DPM, you can see the list of fields name in doc.

http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=B_APIFields.html

x_exp_date Format: MMYY, MM/YY, MM-YY, MMYYYY, MM/YYYY, MM-YYYY