Hard Coded Payment Method
Example provided by Leslie Kirk
Authorize.net Payment Gateway and Emporium Plus PayPal Payment Module payment methods are used in this example.
<mvt:comment>Hard Coded Payment Methods</mvt:comment>
<mvt:if expr = "ISNULL g.PaymentMethod">
<label>
<input type="radio" name="PaymentMethod" value="authnet:Visa" checked="checked" />
<img src="visa-icon.gif" alt="Visa" /> Visa
</label>
<mvt:elseif expr = "g.PaymentMethod EQ 'authnet:Visa'">
<label>
<input type="radio" name="PaymentMethod" value="authnet:Visa" checked="checked" />
<img src="visa-icon.gif" alt="Visa" /> Visa
</label>
<mvt:else>
<label>
<input type="radio" name="PaymentMethod" value="authnet:Visa" />
<img src="visa-icon.gif" alt="Visa" /> Visa
</label>
</mvt:if>
<mvt:if expr = "g.PaymentMethod EQ 'authnet:MasterCard'">
<label>
<input type="radio" name="PaymentMethod" value="authnet:MasterCard" checked="checked" />
<img src="mastercard-icon.gif" alt="MasterCard" /> MasterCard
</label>
<mvt:else>
<label>
<input type="radio" name="PaymentMethod" value="authnet:MasterCard" />
<img src="mastercard-icon.gif" alt="MasterCard" /> MasterCard
</label>
</mvt:if>
<mvt:if expr = "g.PaymentMethod EQ 'authnet:AmerExp'">
<label>
<input type="radio" name="PaymentMethod" value="authnet:AmerExp" checked="checked" />
<img src="amex-icon.gif" alt="American Express" /> American Express
</label>
<mvt:else>
<label>
<input type="radio" name="PaymentMethod" value="authnet:AmerExp" />
<img src="amex-icon.gif" alt="America Express" /> American Express
</label>
</mvt:if>
<mvt:if expr = "g.PaymentMethod EQ 'authnet:Discover'">
<label>
<input type="radio" name="PaymentMethod" value="authnet:Discover" checked="checked" />
<img src="discover-icon.gif" alt="Discover" /> Discover
</label>
<mvt:else>
<label>
<input type="radio" name="PaymentMethod" value="authnet:Discover" />
<img src="discover-icon.gif" alt="Discover" /> Discover
</label>
</mvt:if>
<mvt:if expr = "g.PaymentMethod EQ 'paypalr:paypalr'">
<label>
<input type="radio" name="PaymentMethod" value="paypalr:paypalr" checked="checked" />
<img src="paypal-icon.gif" alt="PayPal" /> PayPal
</label>
<mvt:else>
<label>
<input type="radio" name="PaymentMethod" value="paypalr:paypalr" />
<img src="paypal-icon.gif" alt="PayPal" /> PayPal
</label>
</mvt:if>
For professional integration, please contact us via our Online Sales & Support Desk.
Comments & Ratings
Hours - Standard Rates - Partners - Pay Invoice - Privacy Policy - Terms of Service - Anti-Spam Policy
©Copyright 2011 Kemper Strategic E-Business Consulting, All Rights Reserved
