Hello everyone.. Im looking to create a form that can post a total amount to Moneris.com and I'm having a bit of an issue creating the form itself.
Basically I need to post the total amount determined by which option they choose from a dropdown list of 1-10 1 = $100.00 2 = $200.00 etc.
Its for a website that we will need to sell tickets for the annual events.
I have spoke to Moneris and have the code to put in the Post... but cant seem to figure out how to program the form to send the total amount.
So far I have:
I have no idea if Im even on the right page
Any help at all would be much appreciated
Bump!!
Basically I need to post the total amount determined by which option they choose from a dropdown list of 1-10 1 = $100.00 2 = $200.00 etc.
Its for a website that we will need to sell tickets for the annual events.
I have spoke to Moneris and have the code to put in the Post... but cant seem to figure out how to program the form to send the total amount.
So far I have:
<? $qty = array("$option1", "$option2", "$option3", "$option4", "$option5");
$option1 = "113.00";
$option2 = "226.00";
$option3 = "339.00";
$option4 = "452.00";
$option5 = "565.00";
?>
<form action="https://esqa.moneris.com/HPPDP/index.php">
<input type="hidden" name="NAME=”ps_store_id” VALUE=”">
<input type="hidden" name="hpp_key” VALUE=”">
<input type="hidden" name="charge_total” VALUE=”$qty">
<select name="qty">
<option value="No" selected>Select one:</option>
<option value="$option1">1</option>
<option value="$option2">2</option>
<option value="$option3">3</option>
<option value="$option4">4</option>
<option value="$option5">5</option>
</select><br>
<input type="submit" name="Submit" align="right" value="Click to proceed to Secure Page">
</form>
I have no idea if Im even on the right page
Any help at all would be much appreciated
Bump!!
Last edited:






