Forums

Authorize.net plugin amount multiplied

kimberlyerin 04 May, 2009
Hi-
I am using the authorize.net plugin for CF and having a problem. Everything works fine except some time it doubles or even triples the amount of the donation. I am hitting the button only once each time. Has anyone else had this problem before? Here is the code for my form:
<h3>To Make a One-Time Contribution </h3>
 <input type="hidden" name=name value="One Time Donation">

 <H1>THIS FORM IS UNDER CONSTRUCTION.  PLEASE COME BACK LATER.</H1>

 
<table border="0" id="table1">
	<tr>
		<td width="502">
 
<p> </p>
		</td>
	</tr>
	</table>
<table border="0" id="table5" width="515">
	<tr>
		<td width="131">First Name:  <font color="#FF0000">*</font></td>
		<td width="374"><input type="text" name="firstName" value="<?php if(isset($_POST['firstName'])) echo $_POST['firstName'];?>"></td>

		
	</tr>
	<tr>
		<td width="131">Last Name:  <font color="#FF0000">*</font></td>
		<td width="374"><input type="text" name="lastName" value="<?php if(isset($_POST['lastName'])) echo $_POST['lastName'];?>"></td>
	</tr>
	<tr>
		<td width="131">Organization:</td>
		<td width="374">
		<input type="text" name="organization" value="<?php if(isset($_POST['organization'])) echo $_POST['organization'];?>" size="20"></td>
	</tr>
	<tr>
		<td width="131">Billing Address:  <font color="#FF0000">*</font></td>
		<td width="374"><input type="text" name="address" value="<?php if(isset($_POST['address'])) echo $_POST['address'];?>"></td>
	</tr>
	<tr>
		<td width="131">City:  <font color="#FF0000">*</font></td>
		<td width="374"><input type="text" name="city" value="<?php if(isset($_POST['city'])) echo $_POST['city'];?>"></td>
	</tr>
	<tr>
		<td width="131">State:  <font color="#FF0000">*</font></td>
		<td width="374"><select name="state" value="<?php if(isset($_POST['state'])) echo $_POST['state'];?>">
	<option value="AL">Alabama</option>
	<option value="AK">Alaska</option>
	<option value="AZ">Arizona</option>
	<option value="AR">Arkansas</option>
	<option value="CA">California</option>
	<option value="CO">Colorado</option>
	<option value="CT">Connecticut</option>
	<option value="DE">Delaware</option>
	<option value="DC">District of Columbia</option>
	<option value="FL">Florida</option>
	<option value="GA">Georgia</option>
	<option value="HI">Hawaii</option>
	<option value="ID">Idaho</option>
	<option value="IL">Illinois</option>
	<option value="IN">Indiana</option>
	<option value="IA">Iowa</option>
	<option value="KS">Kansas</option>
	<option value="KY">Kentucky</option>
	<option value="LA">Louisiana</option>
	<option value="ME">Maine</option>
	<option value="MD">Maryland</option>
	<option value="MA">Massachusetts</option>
	<option value="MI">Michigan</option>
	<option value="MN">Minnesota</option>
	<option value="MS">Mississippi</option>
	<option value="MO">Missouri</option>
	<option value="MT">Montana</option>
	<option value="NE">Nebraska</option>
	<option value="NV">Nevada</option>
	<option value="NH">New Hampshire</option>
	<option value="NJ">New Jersey</option>
	<option value="NM">New Mexico</option>
	<option value="NY">New York</option>
	<option value="NC">North Carolina</option>
	<option value="ND">North Dakota</option>
	<option value="OH">Ohio</option>
	<option value="OK">Oklahoma</option>
	<option value="OR">Oregon</option>
	<option value="PA">Pennsylvania</option>
	<option value="RI">Rhode Island</option>
	<option value="SC">South Carolina</option>
	<option value="SD">South Dakota</option>
	<option value="TN">Tennessee</option>
	<option value="TX">Texas</option>
	<option value="UT">Utah</option>
	<option value="VT">Vermont</option>
	<option value="VA">Virginia</option>
	<option value="WA">Washington</option>
	<option value="WV">West Virginia</option>
	<option value="WI">Wisconsin</option>
	<option value="WY">Wyoming</option>
</select>

		
		
		
		
		</td>
	</tr>
	<tr>
		<td width="131">Zip:  <font color="#FF0000">*</font></td>
		<td width="374">
		<input type="text" name="zip" value="<?php if(isset($_POST['zip'])) echo $_POST['zip'];?>" size="8"></td>
	</tr>
	<tr>
		<td width="131">Country:</td>
		<td width="374"><select name="country" value="<?php if(isset($_POST['country'])) echo $_POST['country'];?>">
			<option selected value="United States">United States</option>
			<option value="Canada">Canada</option>
		</select>
		
		</td>
	</tr>
	</table>
<table border="0" id="table4" width="515">
	<tr>
		<td width="131">Email:  <font color="#FF0000">*</font></td>
		<td width="374"><input type="text" name="email" value="<?php if(isset($_POST['email'])) echo $_POST['email'];?>"></td>
	</tr>
	<tr>
		<td width="131">Phone:  <font color="#FF0000">*</font></td>
		<td width="374"><input type="text" name="phone" value="<?php if(isset($_POST['phone'])) echo $_POST['phone'];?>"></td>
	</tr>
	<tr>
		<td width="131">Donation Amount:  <font color="#FF0000">*</font>   </td>
		
		<td width="374"> $
	<input type="text" name="amount" size="5"></td>
	</tr>
	</table>
<table border="0" id="table9" width="515">
	<tr>
		<td width="131">Comments: </td>
		<td width="374">
		<textarea rows="3" cols="16" name="comments" size="20"><?php if(isset($_POST['comments'])) echo $_POST['comments'];?></textarea></td>
	</tr>
	</table>
<p>PAYMENT INFORMATION:</p>
<table border="0" id="table8">
	<tr>
		<td width="502" colspan="2">Please select the credit card type:</td>
	</tr>
	<tr>
		<td width="251">Credit Card Type:  <font color="#FF0000">*</font></td>
		<td width="251">
		
			<p><input type="radio" value="Visa" name="cardType">Visa<br>
			<input type="radio" value="Discover" name="cardTyple">Discover</br>
			<input type="radio" value="Master Card" name="cardType">Master Card</br>
			<input type="radio" value="American Express" name="cardType">American Express</p></td>
	</tr>
	<tr>
		<td width="251">Credit Card Number:  <font color="#FF0000">*</font></td>
		<td width="251">
		<input type="text" name="cardNumber" value="<?php if(isset($_POST['cardNumber'])) echo $_POST['cardNumber'];?>"><br>
		(xxxxyyyyzzzzaaaa) no spaces or dashes</td>
	</tr>
	<tr>
		<td width="251">Card CVV Code:  <font color="#FF0000">*</font></td>
		<td width="251">
		<input type="text" name="x_card_code" value="<?php if(isset($_POST['x_card_code'])) echo $_POST['x_card_code'];?>" size="6"> 
		3 or 4 digit code</td>
	</tr>
	<tr>
		<td width="251">Expiration Date:  <font color="#FF0000">*</font></td>
		<td width="251">
		<select name="expirationMonth" value="<?php if(isset($_POST['expirationMonth'])) echo $_POST['expirationMonth'];?>" size="1">
<option value="Month">Month</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>	
</select><select name="expirationYear" value="<?php if(isset($_POST['expirationYear'])) echo $_POST['expirationYear'];?>" size="1">
		
<option value="Year">Year</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
</select></td>
	</tr>
	</table>
<table border="0" id="table7" width="515">
	<tr>
		<td>
		<p align="center">
		<input type="submit" name="submit" value="Submit"></td>
	</tr>
</table>

Thank you!
GreyHead 04 May, 2009
Hi kimberlyerin,

From memory there's a randomiser in the free version. I think Max makes a small charge for the un-randomised version but I can't see any mention of that on the site. It may have got lost in the recent changes.

Bob
kimberlyerin 04 May, 2009
Thanks Bob. What should I do? Can I purchase something that will take it the randomizer? Is there some place in the code that i can remove it?
GreyHead 04 May, 2009
Hi kimberlyerin,

Please drop Max a note using the Contact form here. He put a lot of hours in with the new release and may not be checking in here quirte so often for the next few days.

Bob
kimberlyerin 05 May, 2009
Hi Bob-
I figured I had to buy the licensed version, so I did last night but still haven't received it. I am freaking out a little because this site needs to be up and running by this afternoon. I sent a message via contact us this morning but still haven't heard back. I was hoping you or someone else could help me get the licensed files ASAP. Thanks.

Kim
Max_admin 12 May, 2009
Hi Kim,

I have not been checking this forum for a while but just to confirm, I think that I answered as quick as it was morning here!🙂

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.