Located in: Located in: checkout.class.php
Version Introduced: 3.8

Description: This template tag returns the HTML attribute for the input box (checked= ‘checked’ if the gateway is selected or blank if its unselected)

Note: You must use this tag within the gateway loop. This template tag only returns the value so you must echo out the tag.

[php] <?php while (wpsc_have_gateways()) : wpsc_the_gateway(); ?> [/php]

Code Example:
<label><input type="radio" value="<?php echo wpsc_gateway_internal_name();?>" <?php echo wpsc_gateway_is_checked(); ?> name="custom_gateway" class="custom_gateway"/><?php echo wpsc_gateway_name(); ?> </label>[/php]