The Transact e-commerce includes a very flexible system for calculating shipping costs. The total shipping price is calculated based upon:
Shipping_Price for each item in the shopping cartHandling_Charge for each product class included in the purchase (see Class Wizard).Handling_Charge specified in the Configuration Wizard .Shipping_Charge from the Purchase form.Overseas_Shipping cost from the Config WizardFor complex calculations of shipping costs, you should use multiple form elements with the name
Shipping_Charge. These will be added together by the Transact e-commerce engine,
and stored as a single value.
<select name="Shipping_Charge"> <option value="5">USPS</option> <option value="8">FedEx</option> </select> <select name="Shipping_Charge"> <option value="0">Normal Delivery</option> <option value="20">Overnight Delivery</option> </select>
The contents of the form elements will be added together for the total. For example totalling 28 dollars if they select Fedex overnight delivery.
If the merchant will not ship the product within 24 hours, they are legally required to perform the credit authorization as an Authorization Only transaction. When the product ships, the merchant can use the Admin Tool to mark the transaction finalized, and the customer's credit card will be debited.
To perform an Auth Only transaction, define the form variable Auth_Type as Authorization Only in the purchase submission. Any other value will perform a normal Auth combined with Capture operation.
<input type="hidden" name="Auth_Type" value="Authorization Only">