WordPress Shopping Cart: Redirect/Hosted Payment Gateway step 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WordPress Shopping Cart: Redirect/Hosted Payment Gateway step 5 | |
// http://tribulant.com/docs/wordpress-shopping-cart-plugin/7190 | |
<!-- Gateway Settings --> | |
<table class="form-table"> | |
<tbody> | |
<tr> | |
<th><label for="gateway_title"><?php _e('Title', $this -> plugin_name); ?></label></th> | |
<td> | |
<input type="text" name="gateway_title" value="<?php echo wpco_get_option('gateway_title'); ?>" id="gateway_title" class="widefat" /> | |
</td> | |
</tr> | |
<tr> | |
<th><label for="gateway_merchantid"><?php _e('Merchant ID', $this -> plugin_name); ?></label></th> | |
<td> | |
<input type="text" name="gateway_merchantid" value="<?php echo wpco_get_option('gateway_merchantid'); ?>" id="gateway_merchantid" class="widefat" /> | |
</td> | |
</tr> | |
<tr> | |
<th><label for="gateway_mode_test"><?php _e('Mode', $this -> plugin_name); ?></label></th> | |
<td> | |
<label><input <?php echo (wpco_get_option('gateway_mode') == "test") ? 'checked="checked"' : ''; ?> type="radio" name="gateway_mode" value="test" id="gateway_mode_test" /> <?php _e('Test', $this -> plugin_name); ?></label> | |
<label><input <?php echo (wpco_get_option('gateway_mode') == "live") ? 'checked="checked"' : ''; ?> type="radio" name="gateway_mode" value="live" id="gateway_mode_live" /> <?php _e('Live', $this -> plugin_name); ?></label> | |
</td> | |
</tr> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment