PluginProbe
Welcart e-Commerce / 2.12.4
Welcart e-Commerce v2.12.4
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
← All changes | includes/admin_settlement.php +78 -1196 1.4.102.12.4 View file →
@@ -1,28 +1,22 @@
1 1 <?php
2 -$status = $this->action_status;
3 -$message = $this->action_message;
4 -$this->action_status = 'none';
5 -$this->action_message = '';
2 +/**
3 + * Admin - Settlement Setting Page.
4 + *
5 + * @package Welcart
6 + */
6 7
7 -$opts = $this->options['acting_settings'];
8 -//20110208ysk start
9 -$openssl = extension_loaded('openssl');
10 -$curl = extension_loaded('curl');
11 -//20110208ysk end
8 +// $opts = $this->options['acting_settings'];
9 +$openssl = extension_loaded( 'openssl' );
10 +$curl = extension_loaded( 'curl' );
11 +$available_settlement = get_option( 'usces_available_settlement', array() );
12 +$settlement_selected = get_option( 'usces_settlement_selected', array() );
13 +$post_data = wp_unslash( $_POST );
12 14 ?>
13 15 <script type="text/javascript">
14 -jQuery(function($){
15 -<?php if($status == 'success'){ ?>
16 - $("#anibox").animate({ backgroundColor: "#ECFFFF" }, 2000);
17 -<?php }else if($status == 'caution'){ ?>
18 - $("#anibox").animate({ backgroundColor: "#FFF5CE" }, 2000);
19 -<?php }else if($status == 'error'){ ?>
20 - $("#anibox").animate({ backgroundColor: "#FFE6E6" }, 2000);
21 -<?php } ?>
22 -
23 - if( $.fn.jquery < "1.10" ) {
24 - $('#uscestabs').tabs({
16 +jQuery( function($) {
17 + if ( $.fn.jquery < "1.10" ) {
18 + $( '#uscestabs_settlement' ).tabs({
25 19 cookie: {
26 20 // store cookie for a day, without, it would be a session cookie
27 21 expires: 1
28 22 }
@@ -27,1204 +21,84 @@
27 21 expires: 1
28 22 }
29 23 });
30 24 } else {
31 - $( "#uscestabs" ).tabs({
32 - active: ($.cookie("uscestabs_settlement")) ? $.cookie("uscestabs_settlement") : 0
33 - , activate: function( event, ui ){
34 - $.cookie("uscestabs_settlement", $(this).tabs("option", "active"));
25 + $( "#uscestabs_settlement" ).tabs({
26 + active: ( $.cookie( "uscestabs_settlement" ) ) ? $.cookie( "uscestabs_settlement" ) : 0
27 + , activate: function( event, ui ) {
28 + $.cookie( "uscestabs_settlement", $( this ).tabs( "option", "active" ) );
35 29 }
36 30 });
37 31 }
38 32
39 - if( '2' == $("input[name='connection']:checked").val() ){
40 - $("#authkey_zeus").css("display", "");
41 - }else{
42 - $("#authkey_zeus").css("display", "none");
43 - $("#3dsecur_zeus_2").attr("checked", "checked");
44 - }
45 - $("input[name='connection']").click(function(){
46 - if( '2' == $("input[name='connection']:checked").val() ){
47 - $("#authkey_zeus").css("display", "");
48 - }else{
49 - $("#authkey_zeus").css("display", "none");
50 - $("#3dsecur_zeus_2").attr("checked", "checked");
51 - }
33 + $( function() {
34 + $( ".settlement-ui-sortable" ).sortable( {
35 + connectWith: ".settlement-ui-sortable",
36 + update: function( e, ui ) {
37 + var updateArray = $( "#settlement-selected" ).sortable( "toArray" ).join( "," );
38 + $( "#settlement-selected-update" ).val( updateArray );
39 + }
40 + });
41 + $( ".settlement-ui-sortable" ).disableSelection();
52 42 });
53 -
54 - if( '1' == $("input[name='3dsecur']:checked").val() ){
55 - $("#connection_zeus_2").attr("checked", "checked");
56 - $("#authkey_zeus").css("display", "");
57 - }
58 - $("input[name='3dsecur']").click(function(){
59 - if( '1' == $("input[name='3dsecur']:checked").val() ){
60 - $("#connection_zeus_2").attr("checked", "checked");
61 - $("#authkey_zeus").css("display", "");
62 - }
63 - });
64 -
65 -// if( '1' == $("input[name='security']:checked").val() ){
66 -// $("input[name='quickcharge']").attr("disabled", "disabled");
67 -// $("#quickcharge_zeus_2").attr("checked", "checked");
68 -// }else{
69 -// $("input[name='quickcharge']").removeAttr("disabled");
70 -// }
71 -// $("input[name='security']").click(function(){
72 -// if( '1' == $("input[name='security']:checked").val() ){
73 -// $("input[name='quickcharge']").attr("disabled", "disabled");
74 -// $("#quickcharge_zeus_2").attr("checked", "checked");
75 -// }else{
76 -// $("input[name='quickcharge']").removeAttr("disabled");
77 -// }
78 -// });
79 -
80 - if( 'on' == $("input[name='set_cartbordercolor']:checked").val() ) {
81 - $("#cartbordercolor").css("display", "");
82 - } else {
83 - $("#cartbordercolor").css("display", "none");
84 - }
85 - $("input[name='set_cartbordercolor']").click(function() {
86 - if( 'on' == $("input[name='set_cartbordercolor']:checked").val() ) {
87 - $("#cartbordercolor").css("display", "");
88 - } else {
89 - $("#cartbordercolor").css("display", "none");
90 - }
91 - });
43 +<?php do_action( 'usces_action_settlement_script' ); ?>
92 44 });
93 -function toggleVisibility(id) {
94 - var e = document.getElementById(id);
95 - if(e.style.display == 'block')
96 - e.style.display = 'none';
97 - else
98 - e.style.display = 'block';
99 -}
100 45 </script>
101 46 <div class="wrap">
102 47 <div class="usces_admin">
103 -<h2><?php _e('Settlement Setting','usces'); ?></h2>
104 -<div id="aniboxStatus" class="<?php echo $status; ?>">
105 - <div id="anibox" class="clearfix">
106 - <img src="<?php echo USCES_PLUGIN_URL; ?>/images/list_message_<?php echo $status; ?>.gif" />
107 - <div class="mes" id="info_massage"><?php echo $message; ?></div>
108 - </div>
109 -</div>
110 -
111 -<div id="poststuff" class="metabox-holder">
112 -<div class="postbox">
113 -<h3 class="hndle"><span><?php _e('Settlement Setting','usces'); ?></span></h3>
114 -<div class="inside">
115 -<div id="uscestabs">
116 -
48 +<h1>Welcart Shop <?php esc_html_e( 'Settlement Setting', 'usces' ); ?></h1>
49 +<?php usces_admin_action_status(); ?>
50 +<div id="uscestabs_settlement" class="uscestabs usces_settlement">
117 51 <ul>
118 - <li><a href="#uscestabs_zeus"><?php _e('ZEUS','usces'); ?></a></li>
119 - <li><a href="#uscestabs_remise"><?php _e('Remise','usces'); ?></a></li>
120 -<!--20101018ysk start-->
121 - <li><a href="#uscestabs_jpayment">J-Payment</a></li>
122 -<!--20101018ysk end-->
123 -<!--20110208ysk start-->
124 - <li><a href="#uscestabs_paypal_ec">PayPal(EC)</a></li>
125 -<!--20110208ysk end-->
126 -<!--20140908ysk start-->
127 - <li><a href="#uscestabs_paypal_wpp">PayPal(WPP)</a></li>
128 -<!--20140908ysk end-->
129 -<!--20120413ysk start-->
130 - <li><a href="#uscestabs_sbps">ソフトバンク・ペイメント</a></li>
131 -<!--20120413ysk end-->
132 -<!--20120618ysk start-->
133 - <li><a href="#uscestabs_telecom">テレコムクレジット</a></li>
134 -<!--20120618ysk end-->
135 -<!--20121206ysk start-->
136 - <li><a href="#uscestabs_digitalcheck">ペイデザイン</a></li>
137 -<!--20121206ysk end-->
138 -<!--20130225ysk start-->
139 - <li><a href="#uscestabs_mizuho">みずほファクター</a></li>
140 -<!--20130225ysk end-->
141 -<!--20131220ysk start-->
142 - <li><a href="#uscestabs_anotherlane">アナザーレーン</a></li>
143 -<!--20131220ysk end-->
144 -<!--20140206ysk start-->
145 - <li><a href="#uscestabs_veritrans">ベリトランス</a></li>
146 -<!--20140206ysk end-->
52 + <li><a href="#uscestabs_settlement_top"><?php esc_html_e( 'Selecting a Settlement Module', 'usces' ); ?></a></li>
53 + <?php do_action( 'usces_action_settlement_tab_title' ); ?>
147 54 </ul>
148 -
149 - <div id="uscestabs_zeus">
150 - <div class="settlement_service"><span class="service_title"><?php _e('ZEUS Japanese Settlement', 'usces'); ?></span></a></div>
151 -
152 - <?php if( isset($_POST['acting']) && 'zeus' == $_POST['acting'] ){ ?>
153 - <?php if( '' != $mes ){ ?>
154 - <div class="error_message"><?php echo $mes; ?></div>
155 - <?php }else if( isset($opts['zeus']['activate']) && 'on' == $opts['zeus']['activate'] ){ ?>
156 - <div class="message">十分にテストを行ってから運用してください。</div>
157 - <?php } ?>
158 - <?php } ?>
159 - <form action="" method="post" name="zeus_form" id="zeus_form">
160 - <table class="settle_table">
161 - <tr>
162 - <th>クレジットカード決済</th>
163 - <td><input name="card_activate" type="radio" id="card_activate_zeus_1" value="on"<?php if( isset($opts['zeus']['card_activate']) && $opts['zeus']['card_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_zeus_1">利用する</label></td>
164 - <td><input name="card_activate" type="radio" id="card_activate_zeus_2" value="off"<?php if( isset($opts['zeus']['card_activate']) && $opts['zeus']['card_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_zeus_2">利用しない</label></td>
165 - <td colspan="2"></td>
166 - </tr>
167 - <tr>
168 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_clid_zeus');"><?php _e('カード決済IPコード', 'usces'); ?></a></th>
169 - <td colspan="4"><input name="clientip" type="text" id="clid_zeus" value="<?php echo esc_html(isset($opts['zeus']['clientip']) ? $opts['zeus']['clientip'] : ''); ?>" size="40" /></td>
170 - <td colspan="2"><div id="ex_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるクレジットカード決済用のIPコード(半角数字)', 'usces'); ?></div></td>
171 - </tr>
172 - <tr>
173 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_connection_zeus');"><?php _e('接続方式', 'usces'); ?></a></th>
174 - <td><input name="connection" type="radio" id="connection_zeus_1" value="1"<?php if( isset($opts['zeus']['connection']) && $opts['zeus']['connection'] == 1 ) echo ' checked="checked"'; ?> /></td><td><label for="connection_zeus_1">Secure Link</label></td>
175 - <td><input name="connection" type="radio" id="connection_zeus_2" value="2"<?php if( isset($opts['zeus']['connection']) && $opts['zeus']['connection'] == 2 ) echo ' checked="checked"'; ?> /></td><td><label for="connection_zeus_2">Secure API</label></td>
176 - <td colspan="2"><div id="ex_connection_zeus" class="explanation"><?php _e('認証接続方法。契約に従って指定する必要があります。', 'usces'); ?></div></td>
177 - </tr>
178 - <tr id="authkey_zeus">
179 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_authkey_zeus');"><?php _e('認証キー', 'usces'); ?></a></th>
180 - <td colspan="4"><input name="authkey" type="text" id="clid_zeus" value="<?php echo esc_html(isset($opts['zeus']['authkey']) ? $opts['zeus']['authkey'] : ''); ?>" size="40" /></td>
181 - <td colspan="2"><div id="ex_authkey_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるSecure API用認証キー(半角数字)', 'usces'); ?></div></td>
182 - </tr>
183 - <tr>
184 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_3dsecur_zeus');"><?php _e('3Dセキュア(※)', 'usces'); ?></a></th>
185 - <td><input name="3dsecur" type="radio" id="3dsecur_zeus_1" value="1"<?php if( isset($opts['zeus']['3dsecur']) && $opts['zeus']['3dsecur'] == 1 ) echo ' checked="checked"'; ?> /></td><td><label for="3dsecur_zeus_1">利用する</label></td>
186 - <td><input name="3dsecur" type="radio" id="3dsecur_zeus_2" value="2"<?php if( isset($opts['zeus']['3dsecur']) && $opts['zeus']['3dsecur'] == 2 ) echo ' checked="checked"'; ?> /></td><td><label for="3dsecur_zeus_2">利用しない</label></td>
187 - <td colspan="2"><div id="ex_3dsecur_zeus" class="explanation"><?php _e('3Dセキュアを利用するにはSecure APIを利用した接続が必要です。契約に従って指定する必要があります。', 'usces'); ?></div></td>
188 - </tr>
189 - <tr>
190 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_security_zeus');"><?php _e('セキュリティーコード(※)', 'usces'); ?></a></th>
191 - <td><input name="security" type="radio" id="security_zeus_1" value="1"<?php if( isset($opts['zeus']['security']) && $opts['zeus']['security'] == 1 ) echo ' checked="checked"'; ?> /></td><td><label for="security_zeus_1">利用する</label></td>
192 - <td><input name="security" type="radio" id="security_zeus_2" value="2"<?php if( isset($opts['zeus']['security']) && $opts['zeus']['security'] == 2 ) echo ' checked="checked"'; ?> /></td><td><label for="security_zeus_2">利用しない</label></td>
193 - <td colspan="2"><div id="ex_security_zeus" class="explanation"><?php _e('セキュリティーコードの入力を必須とするかどうかを指定します。契約に従って指定する必要があります。', 'usces'); ?></div></td>
194 - </tr>
195 - <tr>
196 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_quickcharge_zeus');">クイックチャージ</a></th>
197 - <td><input name="quickcharge" type="radio" id="quickcharge_zeus_1" value="on"<?php if( isset($opts['zeus']['quickcharge']) && $opts['zeus']['quickcharge'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="quickcharge_zeus_1">利用する</label></td>
198 - <td><input name="quickcharge" type="radio" id="quickcharge_zeus_2" value="off"<?php if( isset($opts['zeus']['quickcharge']) && $opts['zeus']['quickcharge'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="quickcharge_zeus_2">利用しない</label></td>
199 - <td colspan="2"><div id="ex_quickcharge_zeus" class="explanation"><?php _e('ログインして一度購入したメンバーは、次の購入時にはカード番号を入力する必要がなくなります。', 'usces'); ?></div></td>
200 - </tr>
201 - <?php if( defined('WCEX_AUTO_DELIVERY') ): ?>
202 - <tr>
203 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_batch_zeus');">バッチ処理</a></th>
204 - <td><input name="batch" type="radio" id="batch_zeus_1" value="on"<?php if( isset($opts['zeus']['batch']) && $opts['zeus']['batch'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="batch_zeus_1">利用する</label></td>
205 - <td><input name="batch" type="radio" id="batch_zeus_2" value="off"<?php if( isset($opts['zeus']['batch']) && $opts['zeus']['batch'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="batch_zeus_2">利用しない</label></td>
206 - <td colspan="2"><div id="ex_batch_zeus" class="explanation"><?php _e('ゼウス決済を定期購入でご利用の場合は、「利用する」にしてください。また、クイックチャージも「利用する」にしてください。', 'usces'); ?></div></td>
207 - </tr>
208 - <?php endif; ?>
209 - <tr>
210 - <th>お客様の支払方法</th>
211 - <td><input name="howpay" type="radio" id="howpay_zeus_1" value="on"<?php if( isset($opts['zeus']['howpay']) && $opts['zeus']['howpay'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="howpay_zeus_1">分割払いに対応する</label></td>
212 - <td><input name="howpay" type="radio" id="howpay_zeus_2" value="off"<?php if( isset($opts['zeus']['howpay']) && $opts['zeus']['howpay'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="howpay_zeus_2">一括払いのみ</label></td>
213 - <td colspan="2"></td>
214 - </tr>
215 - </table>
216 - <table class="settle_table">
217 - <tr>
218 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_zeus');">入金おまかせサービス</a></th>
219 - <td><input name="bank_activate" type="radio" id="bank_activate_zeus_1" value="on"<?php if( isset($opts['zeus']['bank_activate']) && $opts['zeus']['bank_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="bank_activate_zeus_1">利用する</label></td>
220 - <td><input name="bank_activate" type="radio" id="bank_activate_zeus_2" value="off"<?php if( isset($opts['zeus']['bank_activate']) && $opts['zeus']['bank_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="bank_activate_zeus_2">利用しない</label></td>
221 - <td><div id="ex_bank_zeus" class="explanation"><?php _e('銀行振り込み支払いの自動照会機能です。振込みがあった場合、自動的に入金済みになり、入金確認メールが自動送信されます。', 'usces'); ?></div></td>
222 - </tr>
223 - <tr>
224 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_ope_zeus');">稼働環境</a></th>
225 - <td><input name="bank_ope" type="radio" id="bank_ope_zeus_1" value="test"<?php if( isset($opts['zeus']['bank_ope']) && $opts['zeus']['bank_ope'] == 'test' ) echo ' checked="checked"'; ?> /></td><td><label for="bank_ope_zeus_1">テスト環境</label></td>
226 - <td><input name="bank_ope" type="radio" id="bank_ope_zeus_2" value="public"<?php if( isset($opts['zeus']['bank_ope']) && $opts['zeus']['bank_ope'] == 'public' ) echo ' checked="checked"'; ?> /></td><td><label for="bank_ope_zeus_2">本番環境</label></td>
227 - <td><div id="ex_bank_ope_zeus" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
228 - </tr>
229 - <tr>
230 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_clid_zeus');">入金おまかせIPコード</a></th>
231 - <td colspan="4"><input name="clientip_bank" type="text" id="bank_clid_zeus" value="<?php echo esc_html(isset($opts['zeus']['clientip_bank']) ? $opts['zeus']['clientip_bank'] : ''); ?>" size="40" /></td>
232 - <td><div id="ex_bank_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行される入金おまかせサービス用のIPコード(半角数字)', 'usces'); ?></div></td>
233 - </tr>
234 - <tr>
235 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_testid_zeus');">テストID</a></th>
236 - <td colspan="4"><input name="testid_bank" type="text" id="testid_bank_zeus" value="<?php echo esc_html(isset($opts['zeus']['testid_bank']) ? $opts['zeus']['testid_bank'] : ''); ?>" size="40" /></td>
237 - <td><div id="ex_bank_testid_zeus" class="explanation"><?php _e('契約時にゼウスから発行される入金おまかせサービス接続テストで必要なテストID(半角数字)', 'usces'); ?></div></td>
238 - </tr>
239 -
240 - </table>
241 - <table class="settle_table">
242 - <tr>
243 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_zeus');">コンビニ決済サービス</a></th>
244 - <td><input name="conv_activate" type="radio" id="conv_activate_zeus_1" value="on"<?php if( isset($opts['zeus']['conv_activate']) && $opts['zeus']['conv_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_zeus_1">利用する</label></td>
245 - <td><input name="conv_activate" type="radio" id="conv_activate_zeus_2" value="off"<?php if( isset($opts['zeus']['conv_activate']) && $opts['zeus']['conv_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_zeus_2">利用しない</label></td>
246 - <td colspan="2"></td>
247 - <td><div id="ex_conv_zeus" class="explanation"><?php _e('コンビニ支払いができる決済サービスです。払い込みがあった場合、自動的に入金済みになります。', 'usces'); ?></div></td>
248 - </tr>
249 - <tr>
250 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_ope_zeus');">稼働環境</a></th>
251 - <td><input name="conv_ope" type="radio" id="conv_ope_zeus_1" value="test"<?php if( isset($opts['zeus']['conv_ope']) && $opts['zeus']['conv_ope'] == 'test' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_ope_zeus_1">テスト環境</label></td>
252 - <td><input name="conv_ope" type="radio" id="conv_ope_zeus_2" value="public"<?php if( isset($opts['zeus']['conv_ope']) && $opts['zeus']['conv_ope'] == 'public' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_ope_zeus_2">本番環境</label></td>
253 - <td colspan="2"></td>
254 - <td><div id="ex_conv_ope_zeus" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
255 - </tr>
256 - <tr>
257 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_clid_zeus');">コンビニ決済IPコード</a></th>
258 - <td colspan="6"><input name="clientip_conv" type="text" id="conv_clid_zeus" value="<?php echo esc_html(isset($opts['zeus']['clientip_conv']) ? $opts['zeus']['clientip_conv'] : ''); ?>" size="40" /></td>
259 - <td><div id="ex_conv_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるコンビニ決済サービス用のIPコード(半角数字)', 'usces'); ?></div></td>
260 - </tr>
261 - <tr>
262 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testid_zeus');">テストID</a></th>
263 - <td colspan="6"><input name="testid_conv" type="text" id="testid_conv_zeus" value="<?php echo esc_html(isset($opts['zeus']['testid_conv']) ? $opts['zeus']['testid_conv'] : ''); ?>" size="40" /></td>
264 - <td><div id="ex_conv_testid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるコンビニ決済サービス接続テストで必要なテストID(半角数字)', 'usces'); ?></div></td>
265 - </tr>
266 - <tr>
267 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testtype_zeus');">テストタイプ</a></th>
268 - <td><input name="test_type" type="radio" id="conv_testtype_zeus_1" value="0"<?php if( isset($opts['zeus']['test_type_conv']) && WCUtils::is_zero($opts['zeus']['test_type_conv']) ) echo ' checked="checked"'; ?> /></td><td><label for="conv_testtype_zeus_1">入金テスト無し</label></td>
269 - <td><input name="test_type" type="radio" id="conv_testtype_zeus_2" value="1"<?php if( isset($opts['zeus']['test_type_conv']) && $opts['zeus']['test_type_conv'] == 1 ) echo ' checked="checked"'; ?> /></td><td><label for="conv_testtype_zeus_2">売上確定テスト</label></td>
270 - <td><input name="test_type" type="radio" id="conv_testtype_zeus_3" value="2"<?php if( isset($opts['zeus']['test_type_conv']) && $opts['zeus']['test_type_conv'] == 2 ) echo ' checked="checked"'; ?> /></td><td><label for="conv_testtype_zeus_3">売上取消テスト</label></td>
271 - <td><div id="ex_conv_testtype_zeus" class="explanation"><?php _e('テスト環境でのテストタイプを指定します。', 'usces'); ?></div></td>
272 - </tr>
273 - <tr>
274 - <th rowspan="7"><a style="cursor:pointer;" onclick="toggleVisibility('ex_pay_cvs_zeus');">コンビニ種類</a></th>
275 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D001" value="D001"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D001', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D001">セブン-イレブン</label></td>
276 - <td rowspan="7"><div id="ex_pay_cvs_zeus" class="explanation"><?php _e('契約時にご利用のお申込みをいただいたコンビニを選択します。', 'usces'); ?></div></td>
277 - </tr>
278 - <tr>
279 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D002" value="D002"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D002', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D002">ローソン</label></td>
280 - </tr>
281 - <tr>
282 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D030" value="D030"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D030', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D030">ファミリーマート</label></td>
283 - </tr>
284 - <tr>
285 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D040" value="D040"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D040', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D040">サークルKサンクス</label></td>
286 - </tr>
287 - <tr>
288 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D015" value="D015"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D015', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D015">セイコーマート</label></td>
289 - </tr>
290 - <tr>
291 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D050" value="D050"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D050', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D050">ミニストップ</label></td>
292 - </tr>
293 - <tr>
294 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D060" value="D060"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D060', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D060">デイリーヤマザキ</label></td>
295 - </tr>
296 - </table>
297 - <input name="conv_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/cvs.cgi" />
298 - <input name="bank_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/ebank.cgi" />
299 - <input name="card_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure.cgi" />
300 - <input name="card_secureurl" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure/api.cgi" />
301 - <input name="ipaddrs[]" type="hidden" value="210.164.6.67" />
302 - <input name="ipaddrs[]" type="hidden" value="202.221.139.50" />
303 - <input name="acting" type="hidden" value="zeus" />
304 - <input name="usces_option_update" type="submit" class="button" value="ゼウスの設定を更新する" />
305 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
306 - </form>
307 - <div class="settle_exp">
308 - <p><strong><?php _e('ZEUS Japanese Settlement', 'usces'); ?></strong></p>
309 - <a href="http://www.cardservice.co.jp/" target="_blank">ゼウス決済サービスの詳細はこちら 》</a>
310 - <p> </p>
311 - <p>この決済は「埋め込み型」の決済システムです。</p>
312 - <p>「埋め込み型」とは、決済会社のページへは遷移せず、Welcart のページのみで完結する決済システムです。<br />
313 - デザインの統一されたスタイリッシュな決済が可能です。但し、カード番号を扱いますので専用SSLが必須となります。</p>
314 - <p>カード番号はZEUS のシステムに送信されるだけで、Welcart に記録は残しません。</p>
315 - <p> </p>
316 - <p>※ 3Dセキュアとセキュリティーコード </p>
317 - <p>3Dセキュアとおよびセキュリティーコードの利用は、決済サービス契約時に決定します。契約内容に従って指定しないと正常に動作しませんのでご注意ください。<br />
318 - 詳しくは<a href="http://www.cardservice.co.jp/" target="_blank">株式会社ゼウス</a>(代表:03-3498-9030)にお問い合わせください。</p>
319 - <p> </p>
320 - <p><strong>テスト稼動について</strong></p>
321 - <p>入金おまかせ及びコンビニ決済のテストを行なう際は、「稼働環境」で「テスト環境」を選択し、「テストID」の項目にゼウスから発行されるテストIDを入力してください。<br />
322 - また、本稼働の際には、「本番環境」を選択して更新してください。</p>
323 - </div>
324 - </div><!--uscestabs_zeus-->
325 -
326 - <div id="uscestabs_remise">
327 - <div class="settlement_service"><span class="service_title"><?php _e('Remise Japanese Settlement', 'usces'); ?></span></div>
328 -
329 - <?php if( isset($_POST['acting']) && 'remise' == $_POST['acting'] ){ ?>
330 - <?php if( '' != $mes ){ ?>
331 - <div class="error_message"><?php echo $mes; ?></div>
332 - <?php }else if( isset($opts['remise']['activate']) && 'on' == $opts['remise']['activate'] ){ ?>
333 - <div class="message">十分にテストを行ってから運用してください。</div>
334 - <?php } ?>
335 - <?php } ?>
336 - <form action="" method="post" name="remise_form" id="remise_form">
337 - <table class="settle_table">
338 -<!-- <tr>
339 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_plan_remise');"><?php _e('契約プラン', 'usces'); ?></a></th>
340 - <td>
341 - <select name="plan" id="plan_remise">
342 - <option value="0"<?php echo( ( isset($opts['remise']['plan']) && '0' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>-------------------------</option>
343 - <option value="1"<?php echo( ( isset($opts['remise']['plan']) && '1' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>スーパーバリュープラン</option>
344 - <option value="2"<?php echo( ( isset($opts['remise']['plan']) && '2' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>ライトプラン</option>
345 - </select>
346 - </td>
347 - <td><div id="ex_plan_remise" class="explanation"><?php _e('ルミーズと契約したサービスプランを選択してください。<br />契約が変更したい場合はルミーズへお問合せください。', 'usces'); ?></div></td>
348 - </tr>
349 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_SHOPCO_remise');"><?php _e('加盟店コード', 'usces'); ?></a></th>
350 - <td><input name="SHOPCO" type="text" id="SHOPCO_remise" value="<?php echo esc_html(isset($opts['remise']['SHOPCO']) ? $opts['remise']['SHOPCO'] : ''); ?>" size="20" maxlength="8" /></td>
351 - <td><div id="ex_SHOPCO_remise" class="explanation"><?php _e('契約時にルミーズから発行される加盟店コード(半角英数)', 'usces'); ?></div></td>
352 - </tr>
353 - <tr>
354 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_HOSTID_remise');"><?php _e('ホスト番号', 'usces'); ?></a></th>
355 - <td><input name="HOSTID" type="text" id="HOSTID_remise" value="<?php echo esc_html(isset($opts['remise']['HOSTID']) ? $opts['remise']['HOSTID'] : ''); ?>" size="20" maxlength="8" /></td>
356 - <td><div id="ex_HOSTID_remise" class="explanation"><?php _e('契約時にルミーズから割り当てられるホスト番号(半角数字)', 'usces'); ?></div></td>
357 - </tr>
358 - </table>
359 - <table class="settle_table">
360 - <tr>
361 - <th>クレジットカード決済</th>
362 - <td><input name="card_activate" type="radio" id="card_activate_remise_1" value="on"<?php if( isset($opts['remise']['card_activate']) && $opts['remise']['card_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_remise_1">利用する</label></td>
363 - <td><input name="card_activate" type="radio" id="card_activate_remise_2" value="off"<?php if( isset($opts['remise']['card_activate']) && $opts['remise']['card_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_remise_2">利用しない</label></td>
364 - <td><div></div></td>
365 - </tr>
366 - <tr>
367 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_remise');">ジョブコード</a></th>
368 -<!-- <td><input name="card_jb" type="radio" id="card_jb_remise_1" value="CHECK"<?php if( isset($opts['remise']['card_jb']) && $opts['remise']['card_jb'] == 'CHECK' ) echo ' checked'; ?> /></td><td><label for="card_jb_remise_1">有効性チェック</label></td>
369 - <td><input name="card_jb" type="radio" id="card_jb_remise_3" value="CAPTURE"<?php if( isset($opts['remise']['card_jb']) && $opts['remise']['card_jb'] == 'CAPTURE' ) echo ' checked'; ?> /></td><td><label for="card_jb_remise_3">売上処理</label></td>
370 - <td><div id="ex_card_jb_remise" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td>
371 - </tr>
372 - <tr>
373 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payquick_remise');">ペイクイック機能</a></th>
374 - <td><input name="payquick" type="radio" id="payquick_remise_1" value="on"<?php if( isset($opts['remise']['payquick']) && $opts['remise']['payquick'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="payquick_remise_1">利用する</label></td>
375 - <td><input name="payquick" type="radio" id="payquick_remise_2" value="off"<?php if( isset($opts['remise']['payquick']) && $opts['remise']['payquick'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="payquick_remise_2">利用しない</label></td>
376 - <td><div id="ex_payquick_remise" class="explanation"><?php _e('Welcart の会員システムを利用している場合、会員に対して2回目以降の決済の際、クレジットカード番号、有効期限、名義人の入力が不要となります。<br />クレジットカード情報はWelcart では保存せず、「ルミーズ」のデータベースにて安全に保管されます。', 'usces'); ?></div></td>
377 - </tr>
378 - <tr>
379 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_howpay_remise');">お客様の支払方法</a></th>
380 - <td><input name="howpay" type="radio" id="howpay_remise_1" value="on"<?php if( isset($opts['remise']['howpay']) && $opts['remise']['howpay'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="howpay_remise_1">分割払いに対応する</label></td>
381 - <td><input name="howpay" type="radio" id="howpay_remise_2" value="off"<?php if( isset($opts['remise']['howpay']) && $opts['remise']['howpay'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="howpay_remise_2">一括払いのみ</label></td>
382 - <td><div id="ex_howpay_remise" class="explanation"><?php _e('「一括払い」以外をご利用の場合はルミーズ側の設定が必要となります。前もってルミーズにお問合せください。<br >「スーパーバリュープラン」の場合は「一括払いのみ」を選択してください。', 'usces'); ?></div></td>
383 - </tr>
384 - <?php if( defined('WCEX_DLSELLER') ): ?>
385 - <tr>
386 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_remise');">自動継続課金</a></th>
387 - <td><input name="continuation" type="radio" id="continuation_remise_1" value="on"<?php if( isset($opts['remise']['continuation']) && $opts['remise']['continuation'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="continuation_remise_1">利用する</label></td>
388 - <td><input name="continuation" type="radio" id="continuation_remise_2" value="off"<?php if( isset($opts['remise']['continuation']) && $opts['remise']['continuation'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="continuation_remise_2">利用しない</label></td>
389 - <td><div id="ex_continuation_remise" class="explanation"><?php _e('定期的に発生する月会費などの煩わしい課金処理を完全に自動化することができる機能です。<br />詳しくは「ルミーズ」にお問合せください。', 'usces'); ?></div></td>
390 - </tr>
391 - <?php endif; ?>
392 - <tr>
393 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pc_ope_remise');">稼働環境</a></th>
394 - <td><input name="card_pc_ope" type="radio" id="card_pc_ope_remise_1" value="test"<?php if( isset($opts['remise']['card_pc_ope']) && $opts['remise']['card_pc_ope'] == 'test' ) echo ' checked="checked"'; ?> /></td><td><label for="card_pc_ope_remise_1">テスト環境</label></td>
395 - <td><input name="card_pc_ope" type="radio" id="card_pc_ope_remise_2" value="public"<?php if( isset($opts['remise']['card_pc_ope']) && $opts['remise']['card_pc_ope'] == 'public' ) echo ' checked="checked"'; ?> /></td><td><label for="card_pc_ope_remise_2">本番環境</label></td>
396 - <td><div id="ex_card_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
397 - </tr>
398 - <tr>
399 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th>
400 - <td colspan="4"><input name="send_url_pc" type="text" id="send_url_pc_remise" value="<?php echo esc_html(isset($opts['remise']['send_url_pc']) ? $opts['remise']['send_url_pc'] : ''); ?>" size="40" /></td>
401 - <td><div id="ex_send_url_pc_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td>
402 - </tr>
403 - <?php if( defined('WCEX_MOBILE') ): ?>
404 - <tr>
405 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
406 - <td colspan="4"><input name="send_url_mbl" type="text" id="send_url_mbl_remise" value="<?php echo esc_html(isset($opts['remise']['send_url_mbl']) ? $opts['remise']['send_url_mbl'] : ''); ?>" size="40" /></td>
407 - <td><div id="ex_send_url_mbl_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td>
408 - </tr>
409 - <?php endif; ?>
410 - </table>
411 - <table class="settle_table">
412 - <tr>
413 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_remise');">コンビニ・電子マネー決済</a></th>
414 - <td><input name="conv_activate" type="radio" id="conv_activate_remise_1" value="on"<?php if( isset($opts['remise']['conv_activate']) && $opts['remise']['conv_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_remise_1">利用する</label></td>
415 - <td><input name="conv_activate" type="radio" id="conv_activate_remise_2" value="off"<?php if( isset($opts['remise']['conv_activate']) && $opts['remise']['conv_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_remise_2">利用しない</label></td>
416 - <td><div id="ex_conv_remise" class="explanation"><?php _e('コンビニ・電子マネー決済を利用するかどうか', 'usces'); ?></div></td>
417 - </tr>
418 - <tr>
419 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_paydate_remise');"><?php _e('支払期限', 'usces'); ?></a></th>
420 - <td colspan="4"><input name="S_PAYDATE" type="text" id="S_PAYDATE_remise" value="<?php echo esc_html(isset($opts['remise']['S_PAYDATE']) ? $opts['remise']['S_PAYDATE'] : ''); ?>" size="5" maxlength="3" />日</td>
421 - <td><div id="ex_paydate_remise" class="explanation"><?php _e('日数を設定します。(半角数字)', 'usces'); ?></div></td>
422 - </tr>
423 - <tr>
424 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_pc_ope_remise');">稼働環境</a></th>
425 - <td><input name="conv_pc_ope" type="radio" id="conv_pc_ope_remise_1" value="test"<?php if( isset($opts['remise']['conv_pc_ope']) && $opts['remise']['conv_pc_ope'] == 'test' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_pc_ope_remise_1">テスト環境</label></td>
426 - <td><input name="conv_pc_ope" type="radio" id="conv_pc_ope_remise_2" value="public"<?php if( isset($opts['remise']['conv_pc_ope']) && $opts['remise']['conv_pc_ope'] == 'public' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_pc_ope_remise_2">本番環境</label></td>
427 - <td><div id="ex_conv_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
428 - </tr>
429 - <tr>
430 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th>
431 - <td colspan="4"><input name="send_url_cvs_pc" type="text" id="send_url_cvs_pc_remise" value="<?php echo esc_html(isset($opts['remise']['send_url_cvs_pc']) ? $opts['remise']['send_url_cvs_pc'] : ''); ?>" size="40" /></td>
432 - <td><div id="ex_send_url_cvs_pc_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td>
433 - </tr>
434 - <?php if( defined('WCEX_MOBILE') ): ?>
435 - <tr>
436 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
437 - <td colspan="4"><input name="send_url_cvs_mbl" type="text" id="send_url_cvs_mbl_remise" value="<?php echo esc_html(isset($opts['remise']['send_url_cvs_mbl']) ? $opts['remise']['send_url_cvs_mbl'] : ''); ?>" size="40" /></td>
438 - <td><div id="ex_send_url_cvs_mbl_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td>
439 - </tr>
440 - <?php endif; ?>
441 - </table>
442 - <input name="send_url_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/card/paycard.aspx" />
443 - <input name="send_url_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/card/paycard.aspx" />
444 - <input name="send_url_cvs_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/cvs/paycvs.aspx" />
445 - <input name="send_url_cvs_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/cvs/paycvs.aspx" />
446 - <input name="REMARKS3" type="hidden" value="A0000875" />
447 - <input name="acting" type="hidden" value="remise" />
448 - <input name="usces_option_update" type="submit" class="button" value="ルミーズの設定を更新する" />
449 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
450 - </form>
451 - <div class="settle_exp">
452 - <p><strong><?php _e('Remise Japanese Settlement', 'usces'); ?></strong></p>
453 - <a href="http://www.remise.jp/" target="_blank">ルミーズ決済サービスの詳細はこちら 》</a>
454 - <p> </p>
455 - <p>この決済は「外部リンク型」の決済システムです。</p>
456 - <p>「外部リンク型」とは、決済会社のページへは遷移してカード情報を入力する決済システムです。</p>
457 - <p>「自動継続課金」を利用するには「DL Seller」拡張プラグインのインストールが必要です。</p>
458 - </div>
459 - </div><!--uscestabs_remise-->
460 -
461 -<!--20101018ysk start-->
462 - <div id="uscestabs_jpayment">
463 - <div class="settlement_service"><span class="service_title"><?php _e('J-Payment Japanese Settlement', 'usces'); ?></span></div>
464 -
465 - <?php if( isset($_POST['acting']) && 'jpayment' == $_POST['acting'] ){ ?>
466 - <?php if( '' != $mes ){ ?>
467 - <div class="error_message"><?php echo $mes; ?></div>
468 - <?php }else if( isset($opts['jpayment']['activate']) && 'on' == $opts['jpayment']['activate'] ){ ?>
469 - <div class="message">十分にテストを行ってから運用してください。</div>
470 - <?php } ?>
471 - <?php } ?>
472 - <form action="" method="post" name="jpayment_form" id="jpayment_form">
473 - <table class="settle_table">
474 - <tr>
475 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_aid_jpayment');"><?php _e('店舗ID', 'usces'); ?></a></th>
476 - <td><input name="aid" type="text" id="aid_jpayment" value="<?php echo esc_html(isset($opts['jpayment']['aid']) ? $opts['jpayment']['aid'] : ''); ?>" size="20" maxlength="6" /></td>
477 - <td><div id="ex_aid_jpayment" class="explanation"><?php _e('契約時にJ-Paymentから発行される店舗ID(半角数字)', 'usces'); ?></div></td>
478 - </tr>
479 - </table>
480 - <table class="settle_table">
481 - <tr>
482 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jpayment');">クレジットカード決済</a></th>
483 - <td><input name="card_activate" type="radio" id="card_activate_jpayment_1" value="on"<?php if( isset($opts['jpayment']['card_activate']) && $opts['jpayment']['card_activate'] == 'on' ) echo ' checked'; ?> /></td><td><label for="card_activate_jpayment_1">利用する</label></td>
484 - <td><input name="card_activate" type="radio" id="card_activate_jpayment_2" value="off"<?php if( isset($opts['jpayment']['card_activate']) && $opts['jpayment']['card_activate'] == 'off' ) echo ' checked'; ?> /></td><td><label for="card_activate_jpayment_2">利用しない</label></td>
485 - <td><div id="ex_card_jpayment" class="explanation"><?php _e('クレジットカード決済を利用するかどうか<br />※自動継続課金には対応していません。', 'usces'); ?></div></td>
486 - </tr>
487 - <tr>
488 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_jpayment');">ジョブタイプ</a></th>
489 -<!-- <td><input name="card_jb" type="radio" id="card_jb_jpayment_1" value="CHECK"<?php if( isset($opts['jpayment']['card_jb']) && $opts['jpayment']['card_jb'] == 'CHECK' ) echo ' checked'; ?> /></td><td><label for="card_jb_jpayment_1">有効性チェック</label></td>
490 - <td><input name="card_jb" type="radio" id="card_jb_jpayment_3" value="CAPTURE"<?php if( isset($opts['jpayment']['card_jb']) && $opts['jpayment']['card_jb'] == 'CAPTURE' ) echo ' checked'; ?> /></td><td><label for="card_jb_jpayment_3">仮実同時売上処理</label></td>
491 - <td><div id="ex_card_jb_jpayment" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td>
492 - </tr>
493 - </table>
494 - <table class="settle_table">
495 - <tr>
496 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_jpayment');">コンビニ決済</a></th>
497 - <td><input name="conv_activate" type="radio" id="conv_activate_jpayment_1" value="on"<?php if( isset($opts['jpayment']['conv_activate']) && $opts['jpayment']['conv_activate'] == 'on' ) echo ' checked'; ?> /></td><td><label for="conv_activate_jpayment_1">利用する</label></td>
498 - <td><input name="conv_activate" type="radio" id="conv_activate_jpayment_2" value="off"<?php if( isset($opts['jpayment']['conv_activate']) && $opts['jpayment']['conv_activate'] == 'off' ) echo ' checked'; ?> /></td><td><label for="conv_activate_jpayment_2">利用しない</label></td>
499 - <td><div id="ex_conv_jpayment" class="explanation"><?php _e('コンビニ(ペーパーレス)決済を利用するかどうか', 'usces'); ?></div></td>
500 - </tr>
501 - </table>
502 -<!--
503 - <table class="settle_table">
504 - <tr>
505 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_webm_jpayment');">WebMoney決済</a></th>
506 - <td><input name="webm_activate" type="radio" id="webm_activate_jpayment_1" value="on"<?php if( isset($opts['jpayment']['webm_activate']) && $opts['jpayment']['webm_activate'] == 'on' ) echo ' checked'; ?> /></td><td><label for="webm_activate_jpayment_1">利用する</label></td>
507 - <td><input name="webm_activate" type="radio" id="webm_activate_jpayment_2" value="off"<?php if( isset($opts['jpayment']['webm_activate']) && $opts['jpayment']['webm_activate'] == 'off' ) echo ' checked'; ?> /></td><td><label for="webm_activate_jpayment_2">利用しない</label></td>
508 - <td><div></div></td><td><div></div></td>
509 - <td><div id="ex_webm_jpayment" class="explanation"><?php _e('電子マネー(WebMoney)決済を利用するかどうか', 'usces'); ?></div></td>
510 - </tr>
511 - </table>
512 - <table class="settle_table">
513 - <tr>
514 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bitc_jpayment');">BitCash決済</a></th>
515 - <td><input name="bitc_activate" type="radio" id="bitc_activate_jpayment_1" value="on"<?php if( isset($opts['jpayment']['bitc_activate']) && $opts['jpayment']['bitc_activate'] == 'on' ) echo ' checked'; ?> /></td><td><label for="bitc_activate_jpayment_1">利用する</label></td>
516 - <td><input name="bitc_activate" type="radio" id="bitc_activate_jpayment_2" value="off"<?php if( isset($opts['jpayment']['bitc_activate']) && $opts['jpayment']['bitc_activate'] == 'off' ) echo ' checked'; ?> /></td><td><label for="bitc_activate_jpayment_2">利用しない</label></td>
517 - <td><div id="ex_bitc_jpayment" class="explanation"><?php _e('電子マネー(BitCash)決済を利用するかどうか', 'usces'); ?></div></td>
518 - </tr>
519 - </table>
520 - <table class="settle_table">
521 - <tr>
522 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_suica_jpayment');">モバイルSuica決済</a></th>
523 - <td><input name="suica_activate" type="radio" id="suica_activate_jpayment_1" value="on"<?php if( isset($opts['jpayment']['suica_activate']) && $opts['jpayment']['suica_activate'] == 'on' ) echo ' checked'; ?> /></td><td><label for="suica_activate_jpayment_1">利用する</label></td>
524 - <td><input name="suica_activate" type="radio" id="suica_activate_jpayment_2" value="off"<?php if( isset($opts['jpayment']['suica_activate']) && $opts['jpayment']['suica_activate'] == 'off' ) echo ' checked'; ?> /></td><td><label for="suica_activate_jpayment_2">利用しない</label></td>
525 - <td><div id="ex_suica_jpayment" class="explanation"><?php _e('電子マネー(モバイルSuica)決済を利用するかどうか', 'usces'); ?></div></td>
526 - </tr>
527 - </table>
528 - <table class="settle_table">
529 - <tr>
530 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_jpayment');">バンクチェック決済</a></th>
531 - <td><input name="bank_activate" type="radio" id="bank_activate_jpayment_1" value="on"<?php if( isset($opts['jpayment']['bank_activate']) && $opts['jpayment']['bank_activate'] == 'on' ) echo ' checked'; ?> /></td><td><label for="bank_activate_jpayment_1">利用する</label></td>
532 - <td><input name="bank_activate" type="radio" id="bank_activate_jpayment_2" value="off"<?php if( isset($opts['jpayment']['bank_activate']) && $opts['jpayment']['bank_activate'] == 'off' ) echo ' checked'; ?> /></td><td><label for="bank_activate_jpayment_2">利用しない</label></td>
533 - <td><div id="ex_bank_jpayment" class="explanation"><?php _e('バンクチェック決済を利用するかどうか', 'usces'); ?></div></td>
534 - </tr>
535 - </table>
536 - <input name="send_url" type="hidden" value="https://credit.j-payment.co.jp/gateway/payform.aspx" />
537 - <input name="acting" type="hidden" value="jpayment" />
538 - <input name="usces_option_update" type="submit" class="button" value="J-Paymentの設定を更新する" />
539 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
540 - </form>
541 - <div class="settle_exp">
542 - <p><strong><?php _e('J-Payment Japanese Settlement', 'usces'); ?></strong></p>
543 - <a href="http://www.j-payment.co.jp/" target="_blank">J-Payment決済サービスの詳細はこちら 》</a>
544 - <p> </p>
545 - <p>この決済は「外部リンク型」の決済システムです。</p>
546 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
547 - </div>
548 - </div><!--uscestabs_jpayment-->
549 -<!--20101018ysk end-->
550 -<!--20110208ysk start-->
551 - <div id="uscestabs_paypal_ec">
552 - <div class="settlement_service"><span class="service_title"><?php _e('PayPal Express Checkout', 'usces'); ?></span></div>
553 -
554 - <?php if( isset($_POST['acting']) && 'paypal' == $_POST['acting'] ){ ?>
555 - <?php if( '' != $mes ){ ?>
556 - <div class="error_message"><?php echo $mes; ?></div>
557 - <?php }else if( isset($opts['paypal']['activate']) && 'on' == $opts['paypal']['activate'] ){ ?>
558 - <div class="message"><?php _e('Test thoroughly before use.', 'usces'); ?></div>
559 - <?php } ?>
560 - <?php } ?>
561 - <form action="" method="post" name="paypal_form" id="paypal_form">
562 - <table class="settle_table">
563 - <tr>
564 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ec_activate_paypal');"><?php _e('PayPal<br />Express Checkout', 'usces'); ?></a></th>
565 - <td><input name="ec_activate" type="radio" id="ec_activate_paypal_1" value="on"<?php if( isset($opts['paypal']['ec_activate']) && $opts['paypal']['ec_activate'] == 'on' ) echo ' checked'; ?> /></td><td><label for="ec_activate_paypal_1"><?php _e('Use', 'usces'); ?></label></td>
566 - <td><input name="ec_activate" type="radio" id="ec_activate_paypal_2" value="off"<?php if( isset($opts['paypal']['ec_activate']) && $opts['paypal']['ec_activate'] == 'off' ) echo ' checked'; ?> /></td><td><label for="ec_activate_paypal_2"><?php _e('Do not Use', 'usces'); ?></label></td>
567 - <td><div id="ex_ec_activate_paypal" class="explanation"><?php _e('Choose if to use PayPal Express Checkout.', 'usces'); ?></div></td>
568 - </tr>
569 - <tr>
570 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sandbox_paypal');"><?php _e('Operation Environment', 'usces'); ?></a></th>
571 - <td><input name="sandbox" type="radio" id="sandbox_paypal_1" value="1"<?php if( isset($opts['paypal']['sandbox']) && $opts['paypal']['sandbox'] == 1 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_1"><?php _e('Test (Sandbox)', 'usces'); ?></label></td>
572 - <td><input name="sandbox" type="radio" id="sandbox_paypal_2" value="2"<?php if( isset($opts['paypal']['sandbox']) && $opts['paypal']['sandbox'] == 2 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_2"><?php _e('Formal Installment', 'usces'); ?></label></td>
573 - <td><div id="ex_sandbox_paypal" class="explanation"><?php _e("Choose 'Test (Sandbox)' when testing payment settlement by Sandbox.", 'usces'); ?></div></td>
574 - </tr>
575 - <tr>
576 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_user_paypal');"><?php _e('API User Name', 'usces'); ?></a></th>
577 - <td colspan="4"><input name="user" type="text" id="user_paypal" value="<?php echo esc_html(isset($opts['paypal']['user']) ? $opts['paypal']['user'] : ''); ?>" size="50" /></td>
578 - <td><div id="ex_user_paypal" class="explanation"><?php _e('Type in the API user name from API credential. User name will be different in the formal installment of Sandbox.', 'usces'); ?></div></td>
579 - </tr>
580 - <tr>
581 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_pwd_paypal');"><?php _e('API Password', 'usces'); ?></a></th>
582 - <td colspan="4"><input name="pwd" type="text" id="pwd_paypal" value="<?php echo esc_html(isset($opts['paypal']['pwd']) ? $opts['paypal']['pwd'] : ''); ?>" size="50" /></td>
583 - <td><div id="ex_pwd_paypal" class="explanation"><?php _e('Type in the API password from API credential. Password will be different in formal installment of Sandbox.', 'usces'); ?></div></td>
584 - </tr>
585 - <tr>
586 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_signature_paypal');"><?php _e('Signature', 'usces'); ?></a></th>
587 - <td colspan="4"><input name="signature" type="text" id="signature_paypal" value="<?php echo esc_html(isset($opts['paypal']['signature']) ? $opts['paypal']['signature'] : ''); ?>" size="80" /></td>
588 - <td><div id="ex_signature_paypal" class="explanation"><?php _e('Type in the signature from API credential. Signature will be different in the formal installment of Sandbox.', 'usces'); ?></div></td>
589 - </tr>
590 -<!--20110412ysk start-->
591 - <?php if( defined('WCEX_DLSELLER') ): ?>
592 - <tr>
593 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_paypal');"><?php _e('Recurring Payment', 'usces'); ?></a></th>
594 - <td><input name="continuation" type="radio" id="continuation_paypal_1" value="on"<?php if( isset($opts['paypal']['continuation']) && $opts['paypal']['continuation'] == 'on' ) echo ' checked'; ?> /></td><td><label for="continuation_paypal_1"><?php _e('Use', 'usces'); ?></label></td>
595 - <td><input name="continuation" type="radio" id="continuation_paypal_2" value="off"<?php if( isset($opts['paypal']['continuation']) && $opts['paypal']['continuation'] == 'off' ) echo ' checked'; ?> /></td><td><label for="continuation_paypal_2"><?php _e('Do not Use', 'usces'); ?></label></td>
596 - <td><div id="ex_continuation_paypal" class="explanation"><?php _e('It is a function that enables the automation of tedious payment settlement such as monthly membership fee that occurs regularly. <br /> For details, contact PayPal.', 'usces'); ?></div></td>
597 - </tr>
598 - <?php endif; ?>
599 -<!--20110412ysk end-->
600 - </table>
601 - <table class="settle_table">
602 - <tr>
603 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_logoimg');"><?php _e('URL for the image of the payment page', 'usces'); ?></a></th>
604 - <td colspan="4"><input name="logoimg" type="text" id="logoimg" value="<?php echo esc_html(isset($opts['paypal']['logoimg']) ? $opts['paypal']['logoimg'] : ''); ?>" size="80" /></td>
605 - <td><div id="ex_logoimg" class="explanation"><?php _e('a URL to an image of your logo. The image has a maximum size of 190 pixels wide by 60 pixels high. The available file format is jpg, png, gif. PayPal recommends that you provide an image that is stored on a secure (https) server. If you do not specify an image, the business name displays.', 'usces'); ?><br /><?php _e('127 single-byte alphanumeric characters', 'usces'); ?></div></td>
606 - </tr>
607 - <tr>
608 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_cartbordercolor');"><?php _e('The background color for the payment page', 'usces'); ?></a></th>
609 - <td><input name="set_cartbordercolor" type="radio" id="set_cartbordercolor_1" value="on"<?php if( isset($opts['paypal']['set_cartbordercolor']) && $opts['paypal']['set_cartbordercolor'] == 'on' ) echo ' checked'; ?> /></td><td><label for="set_cartbordercolor_1"><?php _e('Set', 'usces'); ?></label></td>
610 - <td><input name="set_cartbordercolor" type="radio" id="set_cartbordercolor_2" value="off"<?php if( isset($opts['paypal']['set_cartbordercolor']) && $opts['paypal']['set_cartbordercolor'] == 'off' ) echo ' checked'; ?> /></td><td><label for="set_cartbordercolor_2"><?php _e('Not set', 'usces'); ?></label></td>
611 - <td><div id="ex_cartbordercolor" class="explanation"><?php _e('Your principal identifying color. PayPal blends your color to white in a gradient fill that borders the cart review area.', 'usces'); ?><br /><?php _e('6-character HTML hexadecimal ASCII color code', 'usces'); ?></div></td>
612 - </tr>
613 - <tr id="cartbordercolor">
614 - <th><?php _e('The background color for the payment page', 'usces'); ?></th>
615 - <td colspan="4">#<input name="cartbordercolor" type="text" value="<?php echo esc_html(isset($opts['paypal']['cartbordercolor']) ? $opts['paypal']['cartbordercolor'] : ''); ?>" size="8" class="color" /></td>
616 - <td></td>
617 - </tr>
618 - </table>
619 - <input name="acting" type="hidden" value="paypal" />
620 - <input name="usces_option_update" type="submit" class="button" value="<?php _e('Update PayPal Express Checkout settings', 'usces'); ?>" />
621 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
622 - </form>
623 - <div class="settle_exp">
624 - <p><strong><?php _e('PayPal Express Checkout', 'usces'); ?></strong></p>
625 - <a href="http://www.welcart.com/wc-settlement/paypal_guide/" target="_blank"><?php _e('For the details on PayPal Express Checkout, click here >>', 'usces'); ?></a>
626 - <p> </p>
627 - <p><?php _e("This settlement uses 'Express Checkout'.", 'usces'); ?></p>
628 - <p><?php _e("If the 'OpenSSL' module is not installed in the server you're using, you cannot settle payments by 'ExpressCheckout'.", 'usces'); ?></p>
629 - </div>
630 - </div><!--uscestabs_paypal_ec-->
631 -<!--20110208ysk end-->
632 -<!--20140908ysk start-->
633 - <div id="uscestabs_paypal_wpp">
634 - <div class="settlement_service"><span class="service_title"><?php _e('PayPal Web Payment Plus', 'usces'); ?></span></div>
635 - <?php if( isset($_POST['acting']) && 'paypal_wpp' == $_POST['acting'] ) : ?>
636 - <?php if( '' != $mes ) : ?>
637 - <div class="error_message"><?php echo $mes; ?></div>
638 - <?php elseif( isset($opts['paypal_wpp']['activate']) && 'on' == $opts['paypal_wpp']['activate'] ) : ?>
639 - <div class="message"><?php _e('Test thoroughly before use.', 'usces'); ?></div>
55 + <div id="uscestabs_settlement_top">
56 + <form action="" method="post" id="settlement_top_form">
57 + <div class="settlement-left">
58 + <h2><?php esc_html_e( 'Available settlement modules', 'usces' ); ?></h2>
59 + <div class="settlement-description">
60 + <p class="description"><?php _e( 'Drag the settlement module you want to use to the right. <br />After dragging it, be sure to click the "Update the modules to use" button.', 'usces' ); ?></p>
61 + </div>
62 + <ul class="settlement-ui-sortable" id="available-settlement">
63 + <?php foreach ( (array) $available_settlement as $key => $name ) : ?>
64 + <?php if ( ! in_array( $key, (array) $settlement_selected, true ) ) : ?>
65 + <?php
66 + if ( 'paypal_cp' === $key ) {
67 + $name = __( 'PayPal Commerce Platform', 'usces' );
68 + }
69 + ?>
70 + <li class="ui-available-settlement" id="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $name ); ?></li>
71 + <?php endif; ?>
72 + <?php endforeach; ?>
73 + </ul>
74 + </div>
75 + <div class="settlement-right">
76 + <div class="settlement-selected-header"><?php esc_html_e( 'Settlement modules in use', 'usces' ); ?></div>
77 + <ul class="settlement-ui-sortable" id="settlement-selected">
78 + <?php if ( is_array( $settlement_selected ) ) : ?>
79 + <?php foreach ( (array) $settlement_selected as $key ) : ?>
80 + <?php if ( array_key_exists( $key, (array) $available_settlement ) ) : ?>
81 + <li class="ui-settlement-selected" id="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $available_settlement[ $key ] ); ?></li>
82 + <?php endif; ?>
83 + <?php endforeach; ?>
640 84 <?php endif; ?>
641 - <?php endif; ?>
642 - <form action="" method="post" name="paypal_wpp_form" id="paypal_wpp_form">
643 - <table class="settle_table">
644 - <tr>
645 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_wpp_activate_paypal');"><?php _e('PayPal<br />Web Payment Plus', 'usces'); ?></a></th>
646 - <td><input name="wpp_activate" type="radio" id="wpp_activate_paypal_1" value="on"<?php if( isset($opts['paypal_wpp']['wpp_activate']) && $opts['paypal_wpp']['wpp_activate'] == 'on' ) echo ' checked'; ?> /></td><td><label for="wpp_activate_paypal_1"><?php _e('Use', 'usces'); ?></label></td>
647 - <td><input name="wpp_activate" type="radio" id="wpp_activate_paypal_2" value="off"<?php if( isset($opts['paypal_wpp']['wpp_activate']) && $opts['paypal_wpp']['wpp_activate'] == 'off' ) echo ' checked'; ?> /></td><td><label for="wpp_activate_paypal_2"><?php _e('Do not Use', 'usces'); ?></label></td>
648 - <td><div id="ex_wpp_activate_paypal" class="explanation"><?php _e('Choose if to use PayPal Web Payment Plus.', 'usces'); ?></div></td>
649 - </tr>
650 - <tr>
651 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sandbox_paypal_wpp');"><?php _e('Operation Environment', 'usces'); ?></a></th>
652 - <td><input name="sandbox" type="radio" id="sandbox_paypal_wpp_1" value="1"<?php if( isset($opts['paypal_wpp']['sandbox']) && $opts['paypal_wpp']['sandbox'] == 1 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_wpp_1"><?php _e('Test (Sandbox)', 'usces'); ?></label></td>
653 - <td><input name="sandbox" type="radio" id="sandbox_paypal_wpp_2" value="2"<?php if( isset($opts['paypal_wpp']['sandbox']) && $opts['paypal_wpp']['sandbox'] == 2 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_wpp_2"><?php _e('Formal Installment', 'usces'); ?></label></td>
654 - <td><div id="ex_sandbox_paypal_wpp" class="explanation"><?php _e("Choose 'Test (Sandbox)' when testing payment settlement by Sandbox.", 'usces'); ?></div></td>
655 - </tr>
656 - <tr>
657 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_id_paypal_wpp');"><?php _e('PayPal ID', 'usces'); ?></a></th>
658 - <td colspan="4"><input name="paypal_id" type="text" id="id_paypal_wpp" value="<?php echo esc_html(isset($opts['paypal_wpp']['paypal_id']) ? $opts['paypal_wpp']['paypal_id'] : ''); ?>" size="50" /></td>
659 - <td><div id="ex_id_paypal_wpp" class="explanation"><?php _e('セキュアなマーチャントID(個人設定ページに表示)またはPayPalアカウントに関連付けられているメールアドレス。', 'usces'); ?></div></td>
660 - </tr>
661 - </table>
662 - <input name="acting" type="hidden" value="paypal_wpp" />
663 - <input name="usces_option_update" type="submit" class="button" value="<?php _e('Update PayPal Web Payment Plus settings', 'usces'); ?>" />
664 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
665 - </form>
666 - <div class="settle_exp">
667 - <p><strong><?php _e('PayPal Web Payment Plus', 'usces'); ?></strong></p>
668 - <a href="https://www.paypal.jp/jp/contents/service/web-payment-plus/" target="_blank"><?php _e('For the details on PayPal Web Payment Plus, click here >>', 'usces'); ?></a>
669 - <p> </p>
670 - <p><?php _e("This settlement uses 'Web Payment Plus'.", 'usces'); ?></p>
671 - </div>
672 - </div><!--uscestabs_paypal_wpp-->
673 -<!--20140908ysk end-->
674 -<!--20120413ysk start-->
675 - <div id="uscestabs_sbps">
676 - <div class="settlement_service"><span class="service_title">ソフトバンク・ペイメント・サービス</span></div>
677 -
678 - <?php if( isset($_POST['acting']) && 'sbps' == $_POST['acting'] ){ ?>
679 - <?php if( '' != $mes ){ ?>
680 - <div class="error_message"><?php echo $mes; ?></div>
681 - <?php }else if( isset($opts['sbps']['activate']) && 'on' == $opts['sbps']['activate'] ){ ?>
682 - <div class="message">十分にテストを行ってから運用してください。</div>
683 - <?php } ?>
684 - <?php } ?>
685 - <form action="" method="post" name="sbps_form" id="sbps_form">
686 - <table class="settle_table">
687 - <tr>
688 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchant_id_sbps');">マーチャントID</a></th>
689 - <td colspan="6"><input name="merchant_id" type="text" id="merchant_id_sbps" value="<?php echo esc_html(isset($opts['sbps']['merchant_id']) ? $opts['sbps']['merchant_id'] : ''); ?>" size="20" maxlength="5" /></td>
690 - <td><div id="ex_merchant_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるマーチャントID(半角数字)', 'usces'); ?></div></td>
691 - </tr>
692 - <tr>
693 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_service_id_sbps');">サービスID</a></th>
694 - <td colspan="6"><input name="service_id" type="text" id="service_id_sbps" value="<?php echo esc_html(isset($opts['sbps']['service_id']) ? $opts['sbps']['service_id'] : ''); ?>" size="20" maxlength="3" /></td>
695 - <td><div id="ex_service_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるサービスID(半角数字)', 'usces'); ?></div></td>
696 - </tr>
697 - <tr>
698 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_key_sbps');">Hash KEY</a></th>
699 - <td colspan="6"><input name="hash_key" type="text" id="hash_key_sbps" value="<?php echo esc_html(isset($opts['sbps']['hash_key']) ? $opts['sbps']['hash_key'] : ''); ?>" size="50" maxlength="40" /></td>
700 - <td><div id="ex_hash_key_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行される Hash KEY(半角英数)', 'usces'); ?></div></td>
701 - </tr>
702 - <tr>
703 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_sbps');"><?php _e('Operation Environment', 'usces'); ?></a></th>
704 - <td><input name="ope" type="radio" id="ope_sbps_1" value="check"<?php if( isset($opts['sbps']['ope']) && $opts['sbps']['ope'] == 'check' ) echo ' checked="checked"'; ?> /></td><td><label for="ope_sbps_1">接続支援サイト</label></td>
705 - <td><input name="ope" type="radio" id="ope_sbps_2" value="test"<?php if( isset($opts['sbps']['ope']) && $opts['sbps']['ope'] == 'test' ) echo ' checked="checked"'; ?> /></td><td><label for="ope_sbps_2">テスト環境</label></td>
706 - <td><input name="ope" type="radio" id="ope_sbps_3" value="public"<?php if( isset($opts['sbps']['ope']) && $opts['sbps']['ope'] == 'public' ) echo ' checked="checked"'; ?> /></td><td><label for="ope_sbps_3">本番環境</label></td>
707 - <td><div id="ex_ope_sbps" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
708 - </tr>
709 -<!--
710 - <tr>
711 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_sbps');"><?php _e('本番URL', 'usces'); ?></a></th>
712 - <td colspan="6"><input name="send_url" type="text" id="send_url_sbps" value="<?php echo esc_html(isset($opts['sbps']['send_url']) ? $opts['sbps']['send_url'] : ''); ?>" size="50" /></td>
713 - <td><div id="ex_send_url_sbps" class="explanation"><?php _e('本番環境で接続するURLを設定します。「購入要求(画面遷移要求)」に示されるURLを入力してください。', 'usces'); ?></div></td>
714 - </tr>
715 - <table class="settle_table">
716 - <tr>
717 - <th>クレジットカード決済</th>
718 - <td><input name="card_activate" type="radio" id="card_activate_sbps_1" value="on"<?php if( isset($opts['sbps']['card_activate']) && $opts['sbps']['card_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_sbps_1">利用する</label></td>
719 - <td><input name="card_activate" type="radio" id="card_activate_sbps_2" value="off"<?php if( isset($opts['sbps']['card_activate']) && $opts['sbps']['card_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_sbps_2">利用しない</label></td>
720 - <td></td>
721 - </tr>
722 - <tr>
723 - <th>3Dセキュア</th>
724 - <td><input name="3d_secure" type="radio" id="3d_secure_sbps_1" value="on"<?php if( isset($opts['sbps']['3d_secure']) && $opts['sbps']['3d_secure'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="3d_secure_sbps_1">利用する</label></td>
725 - <td><input name="3d_secure" type="radio" id="3d_secure_sbps_2" value="off"<?php if( isset($opts['sbps']['3d_secure']) && $opts['sbps']['3d_secure'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="3d_secure_sbps_2">利用しない</label></td>
726 - <td></td>
727 - </tr>
728 - <?php if( defined('WCEX_DLSELLER') ): ?>
729 -<!-- <tr>
730 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_sbps');">簡易継続課金</a></th>
731 - <td><input name="continuation" type="radio" id="continuation_sbps_1" value="on"<?php if( isset($opts['sbps']['continuation']) && $opts['sbps']['continuation'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="continuation_sbps_1">利用する</label></td>
732 - <td><input name="continuation" type="radio" id="continuation_sbps_2" value="off"<?php if( isset($opts['sbps']['continuation']) && $opts['sbps']['continuation'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="continuation_sbps_2">利用しない</label></td>
733 - <td><div id="ex_continuation_sbps" class="explanation"><?php _e('定期的に発生する月会費などの煩わしい課金処理を完全に自動化することができる機能です。<br />詳しくはソフトバンク・ペイメント・サービスにお問合せください。', 'usces'); ?></div></td>
734 - </tr>
735 - </table>
736 - <table class="settle_table">
737 - <tr>
738 - <th>WEBコンビニ決済</th>
739 - <td><input name="conv_activate" type="radio" id="conv_activate_sbps_1" value="on"<?php if( isset($opts['sbps']['conv_activate']) && $opts['sbps']['conv_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_sbps_1">利用する</label></td>
740 - <td><input name="conv_activate" type="radio" id="conv_activate_sbps_2" value="off"<?php if( isset($opts['sbps']['conv_activate']) && $opts['sbps']['conv_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_sbps_2">利用しない</label></td>
741 - <td></td>
742 - </tr>
743 - </table>
744 - <table class="settle_table">
745 - <tr>
746 - <th>Pay-easy(ペイジー)決済</th>
747 - <td><input name="payeasy_activate" type="radio" id="payeasy_activate_sbps_1" value="on"<?php if( isset($opts['sbps']['payeasy_activate']) && $opts['sbps']['payeasy_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="payeasy_activate_sbps_1">利用する</label></td>
748 - <td><input name="payeasy_activate" type="radio" id="payeasy_activate_sbps_2" value="off"<?php if( isset($opts['sbps']['payeasy_activate']) && $opts['sbps']['payeasy_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="payeasy_activate_sbps_2">利用しない</label></td>
749 - <td></td>
750 - </tr>
751 - </table>
752 - <table class="settle_table">
753 - <tr>
754 - <th>Yahoo!ウォレット決済</th>
755 - <td><input name="wallet_yahoowallet" type="radio" id="wallet_yahoowallet_sbps_1" value="on"<?php if( isset($opts['sbps']['wallet_yahoowallet']) && $opts['sbps']['wallet_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_yahoowallet_sbps_1">利用する</label></td>
756 - <td><input name="wallet_yahoowallet" type="radio" id="wallet_yahoowallet_sbps_2" value="off"<?php if( isset($opts['sbps']['wallet_yahoowallet']) && $opts['sbps']['wallet_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_yahoowallet_sbps_2">利用しない</label></td>
757 - <td></td>
758 - </tr>
759 - <tr>
760 - <th>楽天あんしん決済</th>
761 - <td><input name="wallet_rakuten" type="radio" id="wallet_rakuten_sbps_1" value="on"<?php if( isset($opts['sbps']['wallet_rakuten']) && $opts['sbps']['wallet_rakuten'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_rakuten_sbps_1">利用する</label></td>
762 - <td><input name="wallet_rakuten" type="radio" id="wallet_rakuten_sbps_2" value="off"<?php if( isset($opts['sbps']['wallet_rakuten']) && $opts['sbps']['wallet_rakuten'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_rakuten_sbps_2">利用しない</label></td>
763 - <td></td>
764 - </tr>
765 - <tr>
766 - <th>PayPal</th>
767 - <td><input name="wallet_paypal" type="radio" id="wallet_paypal_sbps_1" value="on"<?php if( isset($opts['sbps']['wallet_paypal']) && $opts['sbps']['wallet_paypal'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_paypal_sbps_1">利用する</label></td>
768 - <td><input name="wallet_paypal" type="radio" id="wallet_paypal_sbps_2" value="off"<?php if( isset($opts['sbps']['wallet_paypal']) && $opts['sbps']['wallet_paypal'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_paypal_sbps_2">利用しない</label></td>
769 - <td></td>
770 - </tr>
771 - <tr>
772 - <th>ネットマイル</th>
773 - <td><input name="wallet_netmile" type="radio" id="wallet_netmile_sbps_1" value="on"<?php if( isset($opts['sbps']['wallet_netmile']) && $opts['sbps']['wallet_netmile'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_netmile_sbps_1">利用する</label></td>
774 - <td><input name="wallet_netmile" type="radio" id="wallet_netmile_sbps_2" value="off"<?php if( isset($opts['sbps']['wallet_netmile']) && $opts['sbps']['wallet_netmile'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_netmile_sbps_2">利用しない</label></td>
775 - <td></td>
776 - </tr>
777 - <tr>
778 - <th>Alipay国際決済</th>
779 - <td><input name="wallet_alipay" type="radio" id="wallet_alipay_sbps_1" value="on"<?php if( isset($opts['sbps']['wallet_alipay']) && $opts['sbps']['wallet_alipay'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_alipay_sbps_1">利用する</label></td>
780 - <td><input name="wallet_alipay" type="radio" id="wallet_alipay_sbps_2" value="off"<?php if( isset($opts['sbps']['wallet_alipay']) && $opts['sbps']['wallet_alipay'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="wallet_alipay_sbps_2">利用しない</label></td>
781 - <td></td>
782 - </tr>
783 - </table>
784 - <table class="settle_table">
785 - <tr>
786 - <th>ドコモ ケータイ払い</th>
787 - <td><input name="mobile_docomo" type="radio" id="mobile_docomo_sbps_1" value="on"<?php if( isset($opts['sbps']['mobile_docomo']) && $opts['sbps']['mobile_docomo'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_docomo_sbps_1">利用する</label></td>
788 - <td><input name="mobile_docomo" type="radio" id="mobile_docomo_sbps_2" value="off"<?php if( isset($opts['sbps']['mobile_docomo']) && $opts['sbps']['mobile_docomo'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_docomo_sbps_2">利用しない</label></td>
789 - <td></td>
790 - </tr>
791 - <tr>
792 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_softbank_sbps');">S!まとめて支払い</a></th>
793 - <td><input name="mobile_softbank" type="radio" id="mobile_softbank_sbps_1" value="on"<?php if( isset($opts['sbps']['mobile_softbank']) && $opts['sbps']['mobile_softbank'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_softbank_sbps_1">利用する</label></td>
794 - <td><input name="mobile_softbank" type="radio" id="mobile_softbank_sbps_2" value="off"<?php if( isset($opts['sbps']['mobile_softbank']) && $opts['sbps']['mobile_softbank'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_softbank_sbps_2">利用しない</label></td>
795 - <td><div id="ex_mobile_softbank_sbps" class="explanation">Softbank携帯端末(3G対応携帯端末)にて決済を行うサービスです。</div></td>
796 - </tr>
797 - <tr>
798 - <th>auかんたん決済</th>
799 - <td><input name="mobile_auone" type="radio" id="mobile_auone_sbps_1" value="on"<?php if( isset($opts['sbps']['mobile_auone']) && $opts['sbps']['mobile_auone'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_auone_sbps_1">利用する</label></td>
800 - <td><input name="mobile_auone" type="radio" id="mobile_auone_sbps_2" value="off"<?php if( isset($opts['sbps']['mobile_auone']) && $opts['sbps']['mobile_auone'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_auone_sbps_2">利用しない</label></td>
801 - <td></td>
802 - </tr>
803 - <tr>
804 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_mysoftbank_sbps');">ソフトバンク<br />まとめて支払い(A)</a></th>
805 - <td><input name="mobile_mysoftbank" type="radio" id="mobile_mysoftbank_sbps_1" value="on"<?php if( isset($opts['sbps']['mobile_mysoftbank']) && $opts['sbps']['mobile_mysoftbank'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_mysoftbank_sbps_1">利用する</label></td>
806 - <td><input name="mobile_mysoftbank" type="radio" id="mobile_mysoftbank_sbps_2" value="off"<?php if( isset($opts['sbps']['mobile_mysoftbank']) && $opts['sbps']['mobile_mysoftbank'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_mysoftbank_sbps_2">利用しない</label></td>
807 - <td><div id="ex_mobile_mysoftbank_sbps" class="explanation">スマートフォン専用のデジタルコンテンツの決済に利用できるサービスです。物販では利用不可となります。</div></td>
808 - </tr>
809 - <tr>
810 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_softbank2_sbps');">ソフトバンク<br />まとめて支払い(B)</a></th>
811 - <td><input name="mobile_softbank2" type="radio" id="mobile_softbank2_sbps_1" value="on"<?php if( isset($opts['sbps']['mobile_softbank2']) && $opts['sbps']['mobile_softbank2'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_softbank2_sbps_1">利用する</label></td>
812 - <td><input name="mobile_softbank2" type="radio" id="mobile_softbank2_sbps_2" value="off"<?php if( isset($opts['sbps']['mobile_softbank2']) && $opts['sbps']['mobile_softbank2'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="mobile_softbank2_sbps_2">利用しない</label></td>
813 - <td><div id="ex_mobile_softbank2_sbps" class="explanation">物販サイト等で購入した商品の代金の支払いに利用できる決済手段です。</div></td>
814 - </tr>
815 - </table>
816 - <input name="send_url_check" type="hidden" value="https://stbfep.sps-system.com/Extra/BuyRequestAction.do" />
817 - <input name="send_url_test" type="hidden" value="https://stbfep.sps-system.com/f01/FepBuyInfoReceive.do" />
818 - <input name="acting" type="hidden" value="sbps" />
819 - <input name="usces_option_update" type="submit" class="button" value="ソフトバンク・ペイメントの設定を更新する" />
820 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
821 - </form>
822 - <div class="settle_exp">
823 - <p><strong>ソフトバンク・ペイメント・サービス</strong></p>
824 - <a href="http://www.welcart.com/wc-settlement/sbps_guide/" target="_blank">ソフトバンク・ペイメント・サービスの詳細はこちら 》</a>
825 - <p> </p>
826 - <p>この決済は「外部リンク型」の決済システムです。</p>
827 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
828 - <!--<p>「簡易継続課金」を利用するには「DL Seller」拡張プラグインのインストールが必要です。</p>-->
829 - <p>尚、本番環境では、正規SSL証明書のみでのSSL通信となりますのでご注意ください。</p>
830 - </div>
831 - </div><!--uscestabs_sbps-->
832 -<!--20120413ysk end-->
833 -<!--20120618ysk start-->
834 - <div id="uscestabs_telecom">
835 - <div class="settlement_service"><span class="service_title">テレコムクレジット</span></div>
836 - <?php if( isset($_POST['acting']) && 'telecom' == $_POST['acting'] ){ ?>
837 - <?php if( '' != $mes ){ ?>
838 - <div class="error_message"><?php echo $mes; ?></div>
839 - <?php }else if( isset($opts['telecom']['activate']) && 'on' == $opts['telecom']['activate'] ){ ?>
840 - <div class="message">十分にテストを行ってから運用してください。</div>
841 - <?php } ?>
842 - <?php } ?>
843 - <form action="" method="post" name="telecom_form" id="telecom_form">
844 - <table class="settle_table">
845 - <tr>
846 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_clientip_telecom');">クライアントIP</a></th>
847 - <td colspan="6"><input name="clientip" type="text" id="clientip_telecom" value="<?php echo esc_html(isset($opts['telecom']['clientip']) ? $opts['telecom']['clientip'] : ''); ?>" size="20" maxlength="5" /></td>
848 - <td><div id="ex_clientip_telecom" class="explanation"><?php _e('契約時にテレコムクレジットから発行されるクライアントIP(半角数字)', 'usces'); ?></div></td>
849 - </tr>
850 - <tr>
851 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_stype_telecom');">決済タイプ</a></th>
852 - <td colspan="6"><input name="stype" type="text" id="stype_telecom" value="<?php echo esc_html(isset($opts['telecom']['stype']) ? $opts['telecom']['stype'] : ''); ?>" size="20" /></td>
853 - <td><div id="ex_stype_telecom" class="explanation"><?php _e('設定依頼書に記載されている決済タイプ。', 'usces'); ?></div></td>
854 - </tr>
855 - </table>
856 - <table class="settle_table">
857 - <tr>
858 - <th>クレジットカード決済</th>
859 - <td><input name="card_activate" type="radio" id="card_activate_telecom_1" value="on"<?php if( isset($opts['telecom']['card_activate']) && $opts['telecom']['card_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_telecom_1">利用する</label></td>
860 - <td><input name="card_activate" type="radio" id="card_activate_telecom_2" value="off"<?php if( isset($opts['telecom']['card_activate']) && $opts['telecom']['card_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_telecom_2">利用しない</label></td>
861 - <td></td>
862 - </tr>
863 - <tr>
864 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_oneclick_telecom');">スピード決済</a></th>
865 - <td><input name="oneclick" type="radio" id="oneclick_telecom_1" value="on"<?php if( isset($opts['telecom']['oneclick']) && $opts['telecom']['oneclick'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="oneclick_telecom_1">利用する</label></td>
866 - <td><input name="oneclick" type="radio" id="oneclick_telecom_2" value="off"<?php if( isset($opts['telecom']['oneclick']) && $opts['telecom']['oneclick'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="oneclick_telecom_2">利用しない</label></td>
867 - <td><div id="ex_oneclick_telecom" class="explanation"><?php _e('2回目以降の利用はカード番号を入力しなくても決済可能となります。', 'usces'); ?></div></td>
868 - </tr>
869 - </table>
870 -<!--
871 - <table class="settle_table">
872 - <tr>
873 - <th>Edy決済</th>
874 - <td><input name="edy_activate" type="radio" id="edy_activate_telecom_1" value="on"<?php if( isset($opts['telecom']['edy_activate']) && $opts['telecom']['edy_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="edy_activate_telecom_1">利用する</label></td>
875 - <td><input name="edy_activate" type="radio" id="edy_activate_telecom_2" value="off"<?php if( isset($opts['telecom']['edy_activate']) && $opts['telecom']['edy_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="edy_activate_telecom_2">利用しない</label></td>
876 - <td></td>
877 - </tr>
878 - </table>
879 - <input name="acting" type="hidden" value="telecom" />
880 - <input name="usces_option_update" type="submit" class="button" value="テレコムクレジットの設定を更新する" />
881 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
882 - </form>
883 - <div class="settle_exp">
884 - <p><strong>テレコムクレジット</strong></p>
885 - <a href="http://www.telecomcredit.co.jp/" target="_blank">テレコムクレジットの詳細はこちら 》</a>
886 - <p> </p>
887 - <p>この決済は「外部リンク型」の決済システムです。</p>
888 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
889 - </div>
890 - </div><!--uscestabs_telecom-->
891 -<!--20120618ysk end-->
892 -
893 -<!--20121206ysk start-->
894 - <div id="uscestabs_digitalcheck">
895 - <div class="settlement_service"><span class="service_title">ペイデザイン</span></div>
896 - <?php if( isset($_POST['acting']) && 'digitalcheck' == $_POST['acting'] ){ ?>
897 - <?php if( '' != $mes ){ ?>
898 - <div class="error_message"><?php echo $mes; ?></div>
899 - <?php }else if( isset($opts['digitalcheck']['activate']) && 'on' == $opts['digitalcheck']['activate'] ){ ?>
900 - <div class="message">十分にテストを行ってから運用してください。</div>
901 - <?php } ?>
902 - <?php } ?>
903 - <form action="" method="post" name="digitalcheck_form" id="digitalcheck_form">
904 - <table class="settle_table">
905 - <tr>
906 - <th>クレジットカード決済</th>
907 - <td><input name="card_activate" type="radio" id="card_activate_digitalcheck_1" value="on"<?php if( isset($opts['digitalcheck']['card_activate']) && $opts['digitalcheck']['card_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_digitalcheck_1">利用する</label></td>
908 - <td><input name="card_activate" type="radio" id="card_activate_digitalcheck_2" value="off"<?php if( isset($opts['digitalcheck']['card_activate']) && $opts['digitalcheck']['card_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_digitalcheck_2">利用しない</label></td>
909 - <td></td>
910 - </tr>
911 - <tr>
912 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_ip_digitalcheck');">加盟店コード</a></th>
913 - <td colspan="4"><input name="card_ip" type="text" id="card_ip_digitalcheck" value="<?php echo esc_html(isset($opts['digitalcheck']['card_ip']) ? $opts['digitalcheck']['card_ip'] : ''); ?>" size="20" maxlength="10" /></td>
914 - <td><div id="ex_card_ip_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店コード(半角英数字)。', 'usces'); ?></div></td>
915 - </tr>
916 - <tr>
917 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pass_digitalcheck');">加盟店パスワード</a></th>
918 - <td colspan="4"><input name="card_pass" type="text" id="card_pass_digitalcheck" value="<?php echo esc_html(isset($opts['digitalcheck']['card_pass']) ? $opts['digitalcheck']['card_pass'] : ''); ?>" size="20" maxlength="10" /></td>
919 - <td><div id="ex_card_pass_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店パスワード(半角英数字)。<br />ユーザID決済をご利用の場合は、必須となります。', 'usces'); ?></div></td>
920 - </tr>
921 - <tr>
922 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_kakutei');">決済自動確定</a></th>
923 - <td><input name="card_kakutei" type="radio" id="card_kakutei_0" value="0"<?php if( isset($opts['digitalcheck']['card_kakutei']) && $opts['digitalcheck']['card_kakutei'] == '0' ) echo ' checked'; ?> /></td><td><label for="card_kakutei_0">与信のみ</label></td>
924 - <td><input name="card_kakutei" type="radio" id="card_kakutei_1" value="1"<?php if( isset($opts['digitalcheck']['card_kakutei']) && $opts['digitalcheck']['card_kakutei'] == '1' ) echo ' checked'; ?> /></td><td><label for="card_kakutei_1">売上確定</label></td>
925 - <td><div id="ex_card_kakutei" class="explanation"><?php _e('注文の際にクレジットの与信のみを行ないます。<br />実際の売上として計上するには確定処理が必要となります。省略時は「売上確定(確定まで同時に行う)」です。', 'usces'); ?></div></td>
926 - </tr>
927 - <tr>
928 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_user_id');">ユーザID決済</a></th>
929 - <td><input name="card_user_id" type="radio" id="card_user_id_1" value="on"<?php if( isset($opts['digitalcheck']['card_user_id']) && $opts['digitalcheck']['card_user_id'] == 'on' ) echo ' checked'; ?> /></td><td><label for="card_user_id_1">利用する</label></td>
930 - <td><input name="card_user_id" type="radio" id="card_user_id_2" value="off"<?php if( isset($opts['digitalcheck']['card_user_id']) && $opts['digitalcheck']['card_user_id'] == 'off' ) echo ' checked'; ?> /></td><td><label for="card_user_id_2">利用しない</label></td>
931 - <td><div id="ex_card_user_id" class="explanation"><?php _e('過去にクレジットカードでのお取引があるユーザは、次回からカード情報の入力を省略することが可能となります。', 'usces'); ?></div></td>
932 - </tr>
933 - </table>
934 - <table class="settle_table">
935 - <tr>
936 - <th>コンビニ決済</th>
937 - <td><input name="conv_activate" type="radio" id="conv_activate_digitalcheck_1" value="on"<?php if( isset($opts['digitalcheck']['conv_activate']) && $opts['digitalcheck']['conv_activate'] == 'on' ) echo ' checked="checked"' ?> /></td><td><label for="conv_activate_digitalcheck_1">利用する</label></td>
938 - <td><input name="conv_activate" type="radio" id="conv_activate_digitalcheck_2" value="off"<?php if( isset($opts['digitalcheck']['conv_activate']) && $opts['digitalcheck']['conv_activate'] == 'off' ) echo ' checked="checked"' ?> /></td><td><label for="conv_activate_digitalcheck_2">利用しない</label></td>
939 - <td></td>
940 - </tr>
941 - <tr>
942 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_ip_digitalcheck');">加盟店コード</a></th>
943 - <td colspan="4"><input name="conv_ip" type="text" id="conv_ip_digitalcheck" value="<?php echo esc_html(isset($opts['digitalcheck']['conv_ip']) ? $opts['digitalcheck']['conv_ip'] : ''); ?>" size="20" maxlength="10" /></td>
944 - <td><div id="ex_conv_ip_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店コード(半角英数字)', 'usces'); ?></div></td>
945 - </tr>
946 - <tr>
947 - <th rowspan="4"><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_store_digitalcheck');">利用コンビニ</a></th>
948 - <td><input name="conv_store[]" type="checkbox" id="conv_store_1" value="1"<?php if( isset($opts['digitalcheck']['conv_store']) && in_array( '1', $opts['digitalcheck']['conv_store'] ) ) echo ' checked'; ?> /></td><td colspan="3"><label for="conv_store_1">Loppi決済(ローソン・セイコーマート・ミニストップ)</label></td>
949 - <td rowspan="4"><div id="ex_conv_store_digitalcheck" class="explanation"><?php _e('収納先のコンビニを選択します。コンビニ毎の審査が必要となり、審査通過後にご利用可能となります。', 'usces'); ?></div></td>
950 - </tr>
951 - <tr>
952 - <td><input name="conv_store[]" type="checkbox" id="conv_store_2" value="2"<?php if( isset($opts['digitalcheck']['conv_store']) && in_array( '2', $opts['digitalcheck']['conv_store'] ) ) echo ' checked'; ?> /></td><td colspan="3"><label for="conv_store_2">Seven決済(セブンイレブン)</label></td>
953 - </tr>
954 - <tr>
955 - <td><input name="conv_store[]" type="checkbox" id="conv_store_3" value="3"<?php if( isset($opts['digitalcheck']['conv_store']) && in_array( '3', $opts['digitalcheck']['conv_store'] ) ) echo ' checked'; ?> /></td><td colspan="3"><label for="conv_store_3">FAMIMA決済(ファミリーマート)</label></td>
956 - </tr>
957 - <tr>
958 - <td><input name="conv_store[]" type="checkbox" id="conv_store_73" value="73"<?php if( isset($opts['digitalcheck']['conv_store']) && in_array( '73', $opts['digitalcheck']['conv_store'] ) ) echo ' checked'; ?> /></td><td colspan="3"><label for="conv_store_73">オンライン決済(サークルKサンクス・デイリーヤマザキ・ヤマザキデイリー・スリーエフ)</label></td>
959 - </tr>
960 - <tr>
961 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_kigen_digitalcheck');">支払期限</a></th>
962 - <td colspan="4">
963 -<?php
964 - $selected = array_fill( 1, 30, '' );
965 - if( isset($opts['digitalcheck']['conv_kigen']) ) {
966 - $selected[$opts['digitalcheck']['conv_kigen']] = ' selected';
967 - } else {
968 - $selected[14] = ' selected';
969 - }
970 -?>
971 - <select name="conv_kigen" id="conv_kigen">
972 - <?php for( $i = 1; $i <= 30; $i++ ): ?>
973 - <option value="<?php echo esc_html($i); ?>"<?php echo esc_html($selected[$i]); ?>><?php echo esc_html($i); ?></option>
974 - <?php endfor; ?>
975 - </select>(日数)</td>
976 - <td><div id="ex_conv_kigen_digitalcheck" class="explanation"><?php _e('コンビニ店頭でお支払いいただける期限となります。', 'usces'); ?></div></td>
977 - </tr>
978 - </table>
979 - <input name="acting" type="hidden" value="digitalcheck" />
980 - <input name="usces_option_update" type="submit" class="button" value="ペイデザインの設定を更新する" />
981 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
982 - </form>
983 - <div class="settle_exp">
984 - <p><strong>ペイデザイン株式会社</strong></p>
985 - <a href="http://www.paydesign.co.jp/" target="_blank">ペイデザインの詳細はこちら 》</a>
986 - <p> </p>
987 - <p>この決済は「外部リンク型」の決済システムです。</p>
988 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
989 - </div>
990 - </div><!--uscestabs_digitalcheck-->
991 -<!--20121206ysk end-->
992 -
993 -<!--20130225ysk start-->
994 - <div id="uscestabs_mizuho">
995 - <div class="settlement_service"><span class="service_title">みずほファクター</span></div>
996 - <?php if( isset($_POST['acting']) && 'mizuho' == $_POST['acting'] ) : ?>
997 - <?php if( '' != $mes ) : ?>
998 - <div class="error_message"><?php echo $mes; ?></div>
999 - <?php elseif( isset($opts['mizuho']['activate']) && 'on' == $opts['mizuho']['activate'] ) : ?>
1000 - <div class="message">十分にテストを行ってから運用してください。</div>
1001 - <?php endif; ?>
1002 - <?php endif; ?>
1003 - <form action="" method="post" name="mizuho_form" id="mizuho_form">
1004 - <table class="settle_table">
1005 - <tr>
1006 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_shopid_mizuho');">加盟店コード</a></th>
1007 - <td colspan="4"><input name="shopid" type="text" id="shopid" value="<?php echo esc_html(isset($opts['mizuho']['shopid']) ? $opts['mizuho']['shopid'] : ''); ?>" size="20" maxlength="6" /></td>
1008 - <td><div id="ex_shopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店コード(半角数字6桁)。', 'usces'); ?></div></td>
1009 - </tr>
1010 - <tr>
1011 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_cshopid_mizuho');">加盟店サブコード</a></th>
1012 - <td colspan="4"><input name="cshopid" type="text" id="cshopid" value="<?php echo esc_html(isset($opts['mizuho']['cshopid']) ? $opts['mizuho']['cshopid'] : ''); ?>" size="20" maxlength="5" /></td>
1013 - <td><div id="ex_cshopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店サブコード(半角数字5桁)。', 'usces'); ?></div></td>
1014 - </tr>
1015 - <tr>
1016 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_pass_mizuho');">ハッシュ用パスワード</a></th>
1017 - <td colspan="4"><input name="hash_pass" type="text" id="hash_pass" value="<?php echo esc_html(isset($opts['mizuho']['hash_pass']) ? $opts['mizuho']['hash_pass'] : ''); ?>" size="20" maxlength="20" /></td>
1018 - <td><div id="ex_hash_pass_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行されるハッシュ用パスワード(半角英数字)。', 'usces'); ?></div></td>
1019 - </tr>
1020 - <tr>
1021 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_mizuho');"><?php _e('Operation Environment', 'usces'); ?></a></th>
1022 - <td><input name="ope" type="radio" id="ope_mizuho_1" value="test"<?php if( isset($opts['mizuho']['ope']) && $opts['mizuho']['ope'] == 'test' ) echo ' checked="checked"'; ?> /></td><td><label for="ope_mizuho_1">テスト環境</label></td>
1023 - <td><input name="ope" type="radio" id="ope_mizuho_2" value="public"<?php if( isset($opts['mizuho']['ope']) && $opts['mizuho']['ope'] == 'public' ) echo ' checked="checked"'; ?> /></td><td><label for="ope_mizuho_2">本番環境</label></td>
1024 - <td><div id="ex_ope_mizuho" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
1025 - </tr>
1026 - <tr>
1027 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mizuho');"><?php _e('本番URL', 'usces'); ?></a></th>
1028 - <td colspan="4"><input name="send_url" type="text" id="send_url_mizuho" value="<?php echo esc_html(isset($opts['mizuho']['send_url']) ? $opts['mizuho']['send_url'] : ''); ?>" size="50" /></td>
1029 - <td><div id="ex_send_url_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続先URL(画面連携型)PC」に示されるURLを入力してください。', 'usces'); ?></div></td>
1030 - </tr>
1031 - <?php if( defined('WCEX_MOBILE') ): ?>
1032 - <tr>
1033 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_mizuho');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
1034 - <td colspan="4"><input name="send_url_mbl" type="text" id="send_url_mbl_mizuho" value="<?php echo esc_html(isset( $opts['mizuho']['send_url_mbl'] ) ? $opts['mizuho']['send_url_mbl'] : ''); ?>" size="50" /></td>
1035 - <td><div id="ex_send_url_mbl_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続先URL(画面連携型)MB」に示されるURLを入力してください。', 'usces'); ?></div></td>
1036 - </tr>
85 + </ul>
86 + <?php if ( isset( $post_data['acting'] ) && 'settlement_selected' === $post_data['acting'] ) : ?>
87 + <?php if ( '' != $mes ) : ?>
88 + <div class="error_message"><?php wel_esc_script_e( $mes ); ?></div>
89 + <?php endif; ?>
1037 90 <?php endif; ?>
1038 - </table>
1039 - <table class="settle_table">
1040 - <tr>
1041 - <th>クレジットカード決済</th>
1042 - <td><input name="card_activate" type="radio" id="card_activate_mizuho_1" value="on"<?php if( isset($opts['mizuho']['card_activate']) && $opts['mizuho']['card_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_mizuho_1">利用する</label></td>
1043 - <td><input name="card_activate" type="radio" id="card_activate_mizuho_2" value="off"<?php if( isset($opts['mizuho']['card_activate']) && $opts['mizuho']['card_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_mizuho_2">利用しない</label></td>
1044 - <td></td>
1045 - </tr>
1046 - </table>
1047 -<!--
1048 - <table class="settle_table">
1049 - <tr>
1050 - <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv1_activate');">ウェルネット決済</a></th>
1051 - <td><input name="conv1_activate" type="radio" id="conv1_activate_mizuho_1" value="on"<?php if( isset($opts['mizuho']['conv1_activate']) && $opts['mizuho']['conv1_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="conv1_activate_mizuho_1">利用する</label></td>
1052 - <td><input name="conv1_activate" type="radio" id="conv1_activate_mizuho_2" value="off"<?php if( isset($opts['mizuho']['conv1_activate']) && $opts['mizuho']['conv1_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="conv1_activate_mizuho_2">利用しない</label></td>
1053 - <td><div id="ex_conv1_activate" class="explanation">ローソン、ファミリーマート、サークルK サンクス、ミニストップ、デイリーヤマザキ、スリーエフでのご利用が可能です。</div></td>
1054 - </tr>
1055 - <tr>
1056 - <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv2_activate');">セブンイレブン決済</a></th>
1057 - <td><input name="conv2_activate" type="radio" id="conv2_activate_mizuho_1" value="on"<?php if( isset($opts['mizuho']['conv2_activate']) && $opts['mizuho']['conv2_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="conv2_activate_mizuho_1">利用する</label></td>
1058 - <td><input name="conv2_activate" type="radio" id="conv2_activate_mizuho_2" value="off"<?php if( isset($opts['mizuho']['conv2_activate']) && $opts['mizuho']['conv2_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="conv2_activate_mizuho_2">利用しない</label></td>
1059 - <td><div id="ex_conv2_activate" class="explanation">セブンイレブンでのご利用が可能です。</div></td>
1060 - </tr>
1061 - </table>
1062 - <input name="acting" type="hidden" value="mizuho" />
1063 - <input name="usces_option_update" type="submit" class="button" value="みずほファクターの設定を更新する" />
1064 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
91 + <div class="settlement-selected-footer">
92 + <input name="acting" type="hidden" value="settlement_selected" />
93 + <input name="settlement_selected" id="settlement-selected-update" type="hidden" value="<?php echo esc_attr( implode( ',', (array) $settlement_selected ) ); ?>" />
94 + <input name="usces_option_update" type="submit" class="button button-primary" value="<?php esc_attr_e( 'Update the modules to use', 'usces' ); ?>" />
95 + <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
96 + </div>
97 + </div>
98 + <div class="clear"></div>
1065 99 </form>
1066 - <div class="settle_exp">
1067 - <p><strong>みずほファクター</strong></p>
1068 - <a href="http://www.mizuho-factor.co.jp/" target="_blank">みずほファクターの詳細はこちら 》</a>
1069 - <p> </p>
1070 - <p>この決済は「外部リンク型」の決済システムです。</p>
1071 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1072 - </div>
1073 - </div><!--uscestabs_mizuho-->
1074 -<!--20130225ysk end-->
1075 -
1076 -<!--20131220ysk start-->
1077 - <div id="uscestabs_anotherlane">
1078 - <div class="settlement_service"><span class="service_title">アナザーレーン</span></div>
1079 - <?php if( isset($_POST['acting']) && 'anotherlane' == $_POST['acting'] ) : ?>
1080 - <?php if( '' != $mes ) : ?>
1081 - <div class="error_message"><?php echo $mes; ?></div>
1082 - <?php elseif( isset($opts['anotherlane']['activate']) && 'on' == $opts['anotherlane']['activate'] ) : ?>
1083 - <div class="message">十分にテストを行ってから運用してください。</div>
1084 - <?php endif; ?>
1085 - <?php endif; ?>
1086 - <form action="" method="post" name="anotherlane_form" id="anotherlane_form">
1087 - <table class="settle_table">
1088 - <tr>
1089 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_siteid_anotherlane');">サイトID</a></th>
1090 - <td colspan="4"><input name="siteid" type="text" id="siteid_anotherlane" value="<?php echo esc_html(isset($opts['anotherlane']['siteid']) ? $opts['anotherlane']['siteid'] : ''); ?>" size="20" maxlength="8" /></td>
1091 - <td><div id="ex_siteid_anotherlane" class="explanation"><?php _e('契約時にアナザーレーンから発行されるID(半角数字)', 'usces'); ?></div></td>
1092 - </tr>
1093 - <tr>
1094 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sitepass_anotherlane');">サイトパスワード</a></th>
1095 - <td colspan="4"><input name="sitepass" type="text" id="sitepass_anotherlane" value="<?php echo esc_html(isset($opts['anotherlane']['sitepass']) ? $opts['anotherlane']['sitepass'] : ''); ?>" size="20" maxlength="8" /></td>
1096 - <td><div id="ex_sitepass_anotherlane" class="explanation"><?php _e('契約時にアナザーレーンから発行されるパスワード(半角英数字)', 'usces'); ?></div></td>
1097 - </tr>
1098 - <tr>
1099 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_quickcharge_anotherlane');">クイックチャージ</a></th>
1100 - <td><input name="quickcharge" type="radio" id="quickcharge_anotherlane_1" value="on"<?php if( isset($opts['anotherlane']['quickcharge']) && $opts['anotherlane']['quickcharge'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="quickcharge_anotherlane_1">利用する</label></td>
1101 - <td><input name="quickcharge" type="radio" id="quickcharge_anotherlane_2" value="off"<?php if( isset($opts['anotherlane']['quickcharge']) && $opts['anotherlane']['quickcharge'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="quickcharge_anotherlane_2">利用しない</label></td>
1102 - <td><div id="ex_quickcharge_anotherlane" class="explanation"><?php _e('ログインして一度購入したメンバーは、次の購入時にはカード番号を入力する必要がなくなります。', 'usces'); ?></div></td>
1103 - </tr>
1104 - </table>
1105 - <table class="settle_table">
1106 - <tr>
1107 - <th>クレジットカード決済</th>
1108 - <td><input name="card_activate" type="radio" id="card_activate_anotherlane_1" value="on"<?php if( isset($opts['anotherlane']['card_activate']) && $opts['anotherlane']['card_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_anotherlane_1">利用する</label></td>
1109 - <td><input name="card_activate" type="radio" id="card_activate_anotherlane_2" value="off"<?php if( isset($opts['anotherlane']['card_activate']) && $opts['anotherlane']['card_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_anotherlane_2">利用しない</label></td>
1110 - <td></td>
1111 - </tr>
1112 - </table>
1113 - <input name="acting" type="hidden" value="anotherlane" />
1114 - <input name="usces_option_update" type="submit" class="button" value="アナザーレーンの設定を更新する" />
1115 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1116 - </form>
1117 - <div class="settle_exp">
1118 - <p><strong>アナザーレーン</strong></p>
1119 - <a href="http://www.alij.ne.jp/" target="_blank">アナザーレーンの詳細はこちら 》</a>
1120 - <p> </p>
1121 - <p>この決済は「外部リンク型」の決済システムです。</p>
1122 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1123 - </div>
1124 - </div><!--uscestabs_anotherlane-->
1125 -<!--20131220ysk end-->
1126 -
1127 -<!--20140206ysk start-->
1128 - <div id="uscestabs_veritrans">
1129 - <div class="settlement_service"><span class="service_title">ベリトランス Air-Web</span></div>
1130 - <?php if( isset($_POST['acting']) && 'veritrans' == $_POST['acting'] ) : ?>
1131 - <?php if( '' != $mes ) : ?>
1132 - <div class="error_message"><?php echo $mes; ?></div>
1133 - <?php elseif( isset($opts['veritrans']['activate']) && 'on' == $opts['veritrans']['activate'] ) : ?>
1134 - <div class="message">十分にテストを行ってから運用してください。</div>
1135 - <?php endif; ?>
1136 - <?php endif; ?>
1137 - <form action="" method="post" name="veritrans_form" id="veritrans_form">
1138 - <table class="settle_table">
1139 - <tr>
1140 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchant_id_veritrans');">マーチャントID</a></th>
1141 - <td colspan="4"><input name="merchant_id" type="text" id="merchant_id_veritrans" value="<?php echo esc_html(isset($opts['veritrans']['merchant_id']) ? $opts['veritrans']['merchant_id'] : ''); ?>" size="50" maxlength="22" /></td>
1142 - <td><div id="ex_merchant_id_veritrans" class="explanation"><?php _e('契約時にベリトランスから発行されるマーチャントID(半角英数字)', 'usces'); ?></div></td>
1143 - </tr>
1144 - <tr>
1145 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchanthash_veritrans');">マーチャントハッシュキー</a></th>
1146 - <td colspan="4"><input name="merchanthash" type="text" id="merchanthash_veritrans" value="<?php echo esc_html(isset($opts['veritrans']['merchanthash']) ? $opts['veritrans']['merchanthash'] : ''); ?>" size="80" /></td>
1147 - <td><div id="ex_merchanthash_veritrans" class="explanation"><?php _e('契約時にベリトランスから発行されるマーチャントハッシュキー(半角英数字)', 'usces'); ?></div></td>
1148 - </tr>
1149 - <tr>
1150 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_veritrans');">稼働環境</a></th>
1151 - <td><input name="ope" type="radio" id="ope_veritrans_1" value="test"<?php if( isset($opts['veritrans']['ope']) && $opts['veritrans']['ope'] == 'test' ) echo ' checked="checked"'; ?> /></td><td><label for="ope_veritrans_1">テスト環境</label></td>
1152 - <td><input name="ope" type="radio" id="ope_veritrans_2" value="public"<?php if( isset($opts['veritrans']['ope']) && $opts['veritrans']['ope'] == 'public' ) echo ' checked="checked"'; ?> /></td><td><label for="ope_veritrans_2">本番環境</label></td>
1153 - <td><div id="ex_ope_veritrans" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
1154 - </tr>
1155 - <tr>
1156 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mailaddress_veritrans');">決済完了通知</a></th>
1157 - <td><input name="mailaddress" type="radio" id="mailaddress_veritrans_1" value="on"<?php if( isset($opts['veritrans']['mailaddress']) && $opts['veritrans']['mailaddress'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="mailaddress_veritrans_1">送信する</label></td>
1158 - <td><input name="mailaddress" type="radio" id="mailaddress_veritrans_2" value="off"<?php if( isset($opts['veritrans']['mailaddress']) && $opts['veritrans']['mailaddress'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="mailaddress_veritrans_2">送信しない</label></td>
1159 - <td><div id="ex_mailaddress_veritrans" class="explanation"><?php _e('購入者にベリトランスからメール通知を行います。', 'usces'); ?></div></td>
1160 - </tr>
1161 - </table>
1162 - <table class="settle_table">
1163 - <tr>
1164 - <th>クレジットカード決済</th>
1165 - <td><input name="card_activate" type="radio" id="card_activate_veritrans_1" value="on"<?php if( isset($opts['veritrans']['card_activate']) && $opts['veritrans']['card_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_veritrans_1">利用する</label></td>
1166 - <td><input name="card_activate" type="radio" id="card_activate_veritrans_2" value="off"<?php if( isset($opts['veritrans']['card_activate']) && $opts['veritrans']['card_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_veritrans_2">利用しない</label></td>
1167 - <td></td>
1168 - </tr>
1169 - <tr>
1170 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_capture_flag_veritrans');">カード売上フラグ</a></th>
1171 - <td><input name="card_capture_flag" type="radio" id="card_capture_flag_veritrans_0" value="auhtorize"<?php if( isset($opts['veritrans']['card_capture_flag']) && $opts['veritrans']['card_capture_flag'] == 'auhtorize' ) echo ' checked'; ?> /></td><td><label for="card_capture_flag_veritrans_0">与信</label></td>
1172 - <td><input name="card_capture_flag" type="radio" id="card_capture_flag_veritrans_1" value="capture"<?php if( isset($opts['veritrans']['card_capture_flag']) && $opts['veritrans']['card_capture_flag'] == 'capture' ) echo ' checked'; ?> /></td><td><label for="card_capture_flag_veritrans_1">与信同時売上</label></td>
1173 - <td><div id="ex_card_capture_flag_veritrans" class="explanation"><?php _e('決済の処理方式を指定します。', 'usces'); ?></div></td>
1174 - </tr>
1175 - </table>
1176 - <table class="settle_table">
1177 - <tr>
1178 - <th>コンビニ決済</th>
1179 - <td><input name="conv_activate" type="radio" id="conv_activate_veritrans_1" value="on"<?php if( isset($opts['veritrans']['conv_activate']) && $opts['veritrans']['conv_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_veritrans_1">利用する</label></td>
1180 - <td><input name="conv_activate" type="radio" id="conv_activate_veritrans_2" value="off"<?php if( isset($opts['veritrans']['conv_activate']) && $opts['veritrans']['conv_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_veritrans_2">利用しない</label></td>
1181 - <td></td>
1182 - </tr>
1183 - <tr>
1184 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_timelimit_veritrans');">支払期限</a></th>
1185 - <td colspan="4">
1186 - <?php
1187 - $selected = array_fill( 1, 60, '' );
1188 - if( isset($opts['veritrans']['conv_timelimit']) ) {
1189 - $selected[$opts['veritrans']['conv_timelimit']] = ' selected';
1190 - } else {
1191 - $selected[60] = ' selected';
1192 - }
1193 - ?>
1194 - <select name="conv_timelimit" id="conv_timelimit">
1195 - <?php for( $i = 1; $i <= 60; $i++ ): ?>
1196 - <option value="<?php echo esc_html($i); ?>"<?php echo esc_html($selected[$i]); ?>><?php echo esc_html($i); ?></option>
1197 - <?php endfor; ?>
1198 - </select>(日数)</td>
1199 - <td><div id="ex_conv_timelimit_veritrans" class="explanation"><?php _e('コンビニ店頭でお支払いいただける期限となります。', 'usces'); ?></div></td>
1200 - </tr>
1201 - </table>
1202 - <input name="acting" type="hidden" value="veritrans" />
1203 - <input name="usces_option_update" type="submit" class="button" value="ベリトランスの設定を更新する" />
1204 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1205 - </form>
1206 - <div class="settle_exp">
1207 - <p><strong>ベリトランス</strong></p>
1208 - <a href="https://www.veritrans.co.jp/air/" target="_blank">ベリトランスの詳細はこちら 》</a>
1209 - <p> </p>
1210 - <p>この決済は「外部リンク型」の決済システムです。</p>
1211 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1212 - </div>
1213 - </div><!--uscestabs_veritrans-->
1214 -<!--20140206ysk end-->
1215 -
100 + </div><!-- uscestabs_settlement_top -->
101 + <?php do_action( 'usces_action_settlement_tab_body' ); ?>
1216 102 </div><!--uscestabs-->
1217 -</div><!--inside-->
1218 -</div><!--postbox-->
1219 -</div><!--poststuff-->
1220 -
1221 103 </div><!--usces_admin-->
1222 -</div><!--wrap-->
104 +</div><!--wrap-->