Hey i wanted some thing like this for paypal
Basically in this a client can enter the amount of things he wants and there is already a pre defined value for one product so if the client wants 30 things alert pay automatically calculates the total cost for those 30 products
PHP:
<form action="https://www.alertpay.com/PayProcess.aspx" method="post"/>
Quantity:
<br/>
<input type='text' name='ap_quantity' value=' '/>
<br/>
<br/>
<input type="hidden" name="ap_purchasetype" value="item-goods"/>
<input type="hidden" name="ap_merchant" value="example@example.com"/>
<input type="hidden" name="ap_itemname" value="The Name"/>
<input type="hidden" name="ap_amount" value="11.23"/>
<input type="hidden" name="ap_currency" value="USD"/>
<input type="image" name="ap_image" src="https://www.alertpay.com//PayNow/4F59239578EA46C1AD168BA6E9BD2067g.gif" />
</form >
Basically in this a client can enter the amount of things he wants and there is already a pre defined value for one product so if the client wants 30 things alert pay automatically calculates the total cost for those 30 products