<th width="300"><?php _e('Merchant Email', WPI); ?></th>
                <td><?php echo WPI_UI::draw_inputfield('wp_invoice_gateway_merchant_email', get_option('wp_invoice_gateway_merchant_email')); ?></td>
            </tr>
            <tr class="gateway_info payment_info">
                <th width="300"><a class="wp_invoice_tooltip" title="<?php _e('Your credit card processor will provide you with a gateway username.', WPI); ?>"><?php _e('Gateway Username', WPI); ?></a></th>
                <td><?php echo WPI_UI::draw_inputfield('wp_invoice_gateway_username', get_option('wp_invoice_gateway_username'), ' AUTOCOMPLETE="off"  '); ?>
                </td>
            </tr>
            <tr class="gateway_info payment_info">
                <th width="300"><a class="wp_invoice_tooltip" title="<?php _e("You will be able to generate this in your credit card processor's control panel.", WPI); ?>"><?php _e('Gateway Transaction Key', WPI); ?></a></th>
                <td><?php echo WPI_UI::draw_inputfield('wp_invoice_gateway_tran_key', get_option('wp_invoice_gateway_tran_key'), ' AUTOCOMPLETE="off"  '); ?></td>
            </tr>
            <tr class="gateway_info payment_info">
                <th width="300"><a class="wp_invoice_tooltip"  title="<?php _e('This is the URL provided to you by your credit card processing company.', WPI); ?>"><?php _e('Gateway URL', WPI); ?></a></th>
                <td><?php echo WPI_UI::draw_inputfield('wp_invoice_gateway_url', get_option('wp_invoice_gateway_url')); ?><br />
                    <span class="wp_invoice_click_me" onclick="jQuery('#wp_invoice_gateway_url').val('https://gateway.merchantplus.com/cgi-bin/PAWebClient.cgi');">MerchantPlus</span> |
                    <span class="wp_invoice_click_me" onclick="jQuery('#wp_invoice_gateway_url').val('https://secure.authorize.net/gateway/transact.dll');">Authorize.Net</span> |
                    <span class="wp_invoice_click_me" onclick="jQuery('#wp_invoice_gateway_url').val('https://test.authorize.net/gateway/transact.dll');">Authorize.Net Developer</span>
                </td>
            </tr>
            <tr class="gateway_info payment_info">
                <th width="300"><a class="wp_invoice_tooltip"  title="<?php _e('Recurring billing gateway URL is most likely different from the Gateway URL, and will almost always be with Authorize.net. Be advised - test credit card numbers will be declined even when in test mode.', WPI); ?>"><?php _e('Recurring Billing Gateway URL', WPI); ?></a></th>
                <td><?php echo WPI_UI::draw_inputfield('wp_invoice_recurring_gateway_url', get_option('wp_invoice_recurring_gateway_url')); ?><br />
                    <span class="wp_invoice_click_me" onclick="jQuery('#wp_invoice_recurring_gateway_url').val('https://api.authorize.net/xml/v1/request.api');">Authorize.net ARB</span> |
                    <span class="wp_invoice_click_me" onclick="jQuery('#wp_invoice_recurring_gateway_url').val('https://apitest.authorize.net/xml/v1/request.api');">Authorize.Net ARB Testing</span>
                </td>
            </tr>
        </table>
    </div>
</div>
示例#2
0
                    <th width="300"><?php 
_e('Customer Receipt Email Header', WPI);
?>
</th>
                    <td><?php 
echo WPI_UI::draw_inputfield('wp_invoice_gateway_header_email_receipt', $wp_invoice_gateway_header_email_receipt);
?>
</td>
            </tr>
            <tr class="advanced_gateway_info">
                    <th width="300"><?php 
_e('Security: MD5 Hash', WPI);
?>
</th>
                    <td><?php 
echo WPI_UI::draw_inputfield('wp_invoice_gateway_MD5Hash', $wp_invoice_gateway_MD5Hash);
?>
</td>
            </tr>
            <tr class="advanced_gateway_info">
                    <th><?php 
_e('Delim Data:', WPI);
?>
</th>
                    <td><?php 
echo WPI_UI::draw_select('wp_invoice_gateway_delim_data', array("TRUE" => __("True", WPI), "FALSE" => __("False", WPI)), $wp_invoice_gateway_delim_data);
?>
</td>
            </tr>
            <tr class="">
                    <th width="300">&nbsp;</th>
                    <th width="300"><a class="wp_invoice_tooltip" title="<?php _e('Authorize.net default is blank. Otherwise, get this from your credit card processor. If the transactions are going through, but getting strange responses, this character is most likely wrong.', WPI); ?>"><?php _e('Encapsulation Character', WPI); ?></a></th>
                    <td><?php echo WPI_UI::draw_inputfield('wp_invoice_gateway_encap_char',$wp_invoice_gateway_encap_char); ?></td>
            </tr>
            <tr class="advanced_gateway_info">
                    <th width="300"><?php _e('Merchant Email', WPI); ?></th>
                    <td><?php echo WPI_UI::draw_inputfield('wp_invoice_gateway_merchant_email',$wp_invoice_gateway_merchant_email); ?></td>
            </tr>
            <tr class="advanced_gateway_info">
                    <th><?php _e('Email Customer (on success):', WPI); ?></th>
                    <td><?php echo WPI_UI::draw_select('wp_invoice_gateway_email_customer',array("TRUE" => __("Yes", WPI),"FALSE" => __("No", WPI)), $wp_invoice_gateway_test_mode); ?></td>
            </tr>
            <tr class="advanced_gateway_info">
                    <th width="300"><?php _e('Customer Receipt Email Header', WPI); ?></th>
                    <td><?php echo WPI_UI::draw_inputfield('wp_invoice_gateway_header_email_receipt',$wp_invoice_gateway_header_email_receipt); ?></td>
            </tr>
            <tr class="advanced_gateway_info">
                    <th width="300"><?php _e('Security: MD5 Hash', WPI); ?></th>
                    <td><?php echo WPI_UI::draw_inputfield('wp_invoice_gateway_MD5Hash',$wp_invoice_gateway_MD5Hash); ?></td>
            </tr>
            <tr class="advanced_gateway_info">
                    <th><?php _e('Delim Data:', WPI); ?></th>
                    <td><?php echo WPI_UI::draw_select('wp_invoice_gateway_delim_data',array("TRUE" => __("True", WPI),"FALSE" => __("False", WPI)), $wp_invoice_gateway_delim_data); ?></td>
            </tr>
            <tr class="">
                    <th width="300">&nbsp;</th>
                    <td><span class="wp_invoice_click_me" onClick="jQuery('.advanced_gateway_info').toggle();"><?php _e('Toggle Advanced Options', WPI); ?></span></td>
            </tr>
        </table>
    </div>
</div>