<?php while (wpsc_have_gateways()) { wpsc_the_gateway(); ?> <input name='custom_gateway' value='<?php echo wpsc_gateway_internal_name(); ?> ' type='hidden' /> <?php if (wpsc_gateway_form_fields()) { ?> <table> <?php echo wpsc_gateway_form_fields(); ?> </table> <?php } ?> <?php } ?> <?php } ?>
function _wpsc_filter_merchant_v2_after_gateway_hidden_field() { if (wpsc_have_gateways()) { wpsc_the_gateway(); if (wpsc_gateway_form_fields()) { ?> <table class='wpsc_checkout_table <?php echo wpsc_gateway_form_field_style(); ?> '> <?php echo wpsc_gateway_form_fields(); ?> </table> <?php } } }