I have an html order form partially done. It is for one product. There is a form field where the user can change the quantity. A little javascript changes the subtotal to match the quantity.
I need someone to add scripting so it uses that quantity to calculate shipping, possibly tax, and the total. I need it to display the total, and be able to pass it later to the payment gateway.
Please keep it well commented, so I can use it on other order forms. This will be a sample form.
Please also give me a time frame.
Thank You.
I had many bids asking the same questions:
The first use of this will be integrated with yourpay. They use hidden variables to pass it, but I would like to be able to reuse it for other gateways too:
### How to Bypass the Payment Form
You bypass the payment form by including all the required fields in your order form. No data will be collected by the gateway if you post all the required fields.
Use a value of
***Submit*** if you are posting cardnumber, expmonth and expyear to the gateway. In this case, no data is collected by the Gateway-it simply processes the transaction data posted to it. For example:
| <input type="hidden" name="cardnumber" value="4111111111111111">
<input type="hidden" name="expmonth" value="01">
<input type="hidden" name="expyear" value="03">
<input type="hidden" name="storename" value="123456">
<input type="hidden" name="chargetotal" value="99.99">
<input type="hidden" name="2000" value="***Submit***"> |
I was avoiding a database because he is not keeping the payment info. Emailing him with the basic info is good enough. He can manually check the payments by signing on to yourpay. It is not completely out of the question if absolutely neccessary, but we want this as simple as possible. There will always be only one product, so it doesn't need to be expandable.
Sales tax will be for only PA residents.
Shipping will be flat, with 3 options... 1 day, 2 day, and ground.
## Deliverables
* * *This broadcast message was sent to all bidders on Monday Jun 30, 2008 3:40:10 PM:
I had many bids asking the same questions, so here goes. The part of the form is complete.
The first use of this will be integrated with yourpay. They use hidden variables to pass it, but I would like to be able to reuse it for other gateways too:
How to Bypass the Payment Form
You bypass the payment form by including all the required fields in your order form. No data will be collected by the gateway if you post all the required fields.
Use a value of Submit if you are posting cardnumber, expmonth and expyear to the gateway. In this case, no data is collected by the Gateway-it simply processes the transaction data posted to it. For example:
hidden" name="cardnumber" value="4111111111111111">
hidden" name="expmonth" value="01">
hidden" name="expyear" value="03">
hidden" name="storename" value="123456">
hidden" name="chargetotal" value="99.99">
hidden" name="2000" value="Submit">
I was avoiding a database because he is not keeping the payment info. Emailing him with the basic info is good enough. He can manually check the payments by signing on to yourpay. It is not completely out of the question if absolutely neccessary, but we want this as simple as possible. There will always be only one product, so it doesn't need to be expandable.
Sales tax will be for only PA residents.
Shipping will be flat, with 3 options... 1 day, 2 day, and ground.