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 -1095 1.4.12.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,1103 +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">PayPal</a></li>
125 -<!--20110208ysk end-->
126 -<!--20120413ysk start-->
127 - <li><a href="#uscestabs_sbps">ソフトバンク・ペイメント</a></li>
128 -<!--20120413ysk end-->
129 -<!--20120618ysk start-->
130 - <li><a href="#uscestabs_telecom">テレコムクレジット</a></li>
131 -<!--20120618ysk end-->
132 -<!--20121206ysk start-->
133 - <li><a href="#uscestabs_digitalcheck">ペイデザイン</a></li>
134 -<!--20121206ysk end-->
135 -<!--20130225ysk start-->
136 - <li><a href="#uscestabs_mizuho">みずほファクター</a></li>
137 -<!--20130225ysk end-->
138 -<!--20131220ysk start-->
139 - <li><a href="#uscestabs_anotherlane">アナザーレーン</a></li>
140 -<!--20131220ysk end-->
141 -<!--20140206ysk start-->
142 - <li><a href="#uscestabs_veritrans">ベリトランス</a></li>
143 -<!--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' ); ?>
144 54 </ul>
145 -
146 - <div id="uscestabs_zeus">
147 - <div class="settlement_service"><span class="service_title"><?php _e('ZEUS Japanese Settlement', 'usces'); ?></span></a></div>
148 -
149 - <?php if( isset($_POST['acting']) && 'zeus' == $_POST['acting'] ){ ?>
150 - <?php if( isset($opts['zeus']['activate']) && 'on' == $opts['zeus']['activate'] ){ ?>
151 - <div class="message">十分にテストを行ってから運用してください。</div>
152 - <?php }else if( '' != $mes ){ ?>
153 - <div class="error_message"><?php echo $mes; ?></div>
154 - <?php } ?>
155 - <?php } ?>
156 - <form action="" method="post" name="zeus_form" id="zeus_form">
157 - <table class="settle_table">
158 - <tr>
159 - <th>クレジットカード決済</th>
160 - <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>
161 - <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>
162 - <td colspan="2"></td>
163 - </tr>
164 - <tr>
165 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_clid_zeus');"><?php _e('カード決済IPコード', 'usces'); ?></a></th>
166 - <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>
167 - <td colspan="2"><div id="ex_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるクレジットカード決済用のIPコード(半角数字)', 'usces'); ?></div></td>
168 - </tr>
169 - <tr>
170 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_connection_zeus');"><?php _e('接続方式', 'usces'); ?></a></th>
171 - <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>
172 - <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>
173 - <td colspan="2"><div id="ex_connection_zeus" class="explanation"><?php _e('認証接続方法。契約に従って指定する必要があります。', 'usces'); ?></div></td>
174 - </tr>
175 - <tr id="authkey_zeus">
176 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_authkey_zeus');"><?php _e('認証キー', 'usces'); ?></a></th>
177 - <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>
178 - <td colspan="2"><div id="ex_authkey_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるSecure API用認証キー(半角数字)', 'usces'); ?></div></td>
179 - </tr>
180 - <tr>
181 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_3dsecur_zeus');"><?php _e('3Dセキュア(※)', 'usces'); ?></a></th>
182 - <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>
183 - <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>
184 - <td colspan="2"><div id="ex_3dsecur_zeus" class="explanation"><?php _e('3Dセキュアを利用するにはSecure APIを利用した接続が必要です。契約に従って指定する必要があります。', 'usces'); ?></div></td>
185 - </tr>
186 - <tr>
187 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_security_zeus');"><?php _e('セキュリティーコード(※)', 'usces'); ?></a></th>
188 - <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>
189 - <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>
190 - <td colspan="2"><div id="ex_security_zeus" class="explanation"><?php _e('セキュリティーコードの入力を必須とするかどうかを指定します。契約に従って指定する必要があります。', 'usces'); ?></div></td>
191 - </tr>
192 - <tr>
193 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_quickcharge_zeus');">クイックチャージ</a></th>
194 - <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>
195 - <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>
196 - <td colspan="2"><div id="ex_quickcharge_zeus" class="explanation"><?php _e('ログインして一度購入したメンバーは、次の購入時にはカード番号を入力する必要がなくなります。', 'usces'); ?></div></td>
197 - </tr>
198 - <?php if( defined('WCEX_AUTO_DELIVERY') ): ?>
199 - <tr>
200 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_batch_zeus');">バッチ処理</a></th>
201 - <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>
202 - <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>
203 - <td colspan="2"><div id="ex_batch_zeus" class="explanation"><?php _e('ゼウス決済を定期購入でご利用の場合は、「利用する」にしてください。また、クイックチャージも「利用する」にしてください。', 'usces'); ?></div></td>
204 - </tr>
205 - <?php endif; ?>
206 - <tr>
207 - <th>お客様の支払方法</th>
208 - <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>
209 - <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>
210 - <td colspan="2"></td>
211 - </tr>
212 - </table>
213 - <table class="settle_table">
214 - <tr>
215 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_zeus');">入金おまかせサービス</a></th>
216 - <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>
217 - <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>
218 - <td><div id="ex_bank_zeus" class="explanation"><?php _e('銀行振り込み支払いの自動照会機能です。振込みがあった場合、自動的に入金済みになり、入金確認メールが自動送信されます。', 'usces'); ?></div></td>
219 - </tr>
220 - <tr>
221 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_ope_zeus');">稼働環境</a></th>
222 - <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>
223 - <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>
224 - <td><div id="ex_bank_ope_zeus" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
225 - </tr>
226 - <tr>
227 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_clid_zeus');">入金おまかせIPコード</a></th>
228 - <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>
229 - <td><div id="ex_bank_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行される入金おまかせサービス用のIPコード(半角数字)', 'usces'); ?></div></td>
230 - </tr>
231 - <tr>
232 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_testid_zeus');">テストID</a></th>
233 - <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>
234 - <td><div id="ex_bank_testid_zeus" class="explanation"><?php _e('契約時にゼウスから発行される入金おまかせサービス接続テストで必要なテストID(半角数字)', 'usces'); ?></div></td>
235 - </tr>
236 -
237 - </table>
238 - <table class="settle_table">
239 - <tr>
240 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_zeus');">コンビニ決済サービス</a></th>
241 - <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>
242 - <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>
243 - <td colspan="2"></td>
244 - <td><div id="ex_conv_zeus" class="explanation"><?php _e('コンビニ支払いができる決済サービスです。払い込みがあった場合、自動的に入金済みになります。', 'usces'); ?></div></td>
245 - </tr>
246 - <tr>
247 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_ope_zeus');">稼働環境</a></th>
248 - <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>
249 - <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>
250 - <td colspan="2"></td>
251 - <td><div id="ex_conv_ope_zeus" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
252 - </tr>
253 - <tr>
254 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_clid_zeus');">コンビニ決済IPコード</a></th>
255 - <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>
256 - <td><div id="ex_conv_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるコンビニ決済サービス用のIPコード(半角数字)', 'usces'); ?></div></td>
257 - </tr>
258 - <tr>
259 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testid_zeus');">テストID</a></th>
260 - <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>
261 - <td><div id="ex_conv_testid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるコンビニ決済サービス接続テストで必要なテストID(半角数字)', 'usces'); ?></div></td>
262 - </tr>
263 - <tr>
264 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testtype_zeus');">テストタイプ</a></th>
265 - <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>
266 - <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>
267 - <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>
268 - <td><div id="ex_conv_testtype_zeus" class="explanation"><?php _e('テスト環境でのテストタイプを指定します。', 'usces'); ?></div></td>
269 - </tr>
270 - </table>
271 - <input name="conv_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/cvs.cgi" />
272 - <input name="bank_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/ebank.cgi" />
273 - <input name="card_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure.cgi" />
274 - <input name="card_secureurl" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure/api.cgi" />
275 - <input name="ipaddrs[]" type="hidden" value="210.164.6.67" />
276 - <input name="ipaddrs[]" type="hidden" value="202.221.139.50" />
277 - <input name="pay_cvs[D001]" type="hidden" value="セブンイレブン" />
278 - <input name="pay_cvs[D002]" type="hidden" value="ローソン" />
279 - <input name="pay_cvs[D030]" type="hidden" value="ファミリーマート" />
280 - <input name="pay_cvs[D040]" type="hidden" value="サークルKサンクス" />
281 - <input name="pay_cvs[D015]" type="hidden" value="セイコーマート" />
282 - <input name="pay_cvs[D050]" type="hidden" value="ミニストップ" />
283 - <input name="pay_cvs[D060]" type="hidden" value="デイリーヤマザキ" />
284 - <input name="acting" type="hidden" value="zeus" />
285 - <input name="usces_option_update" type="submit" class="button" value="ゼウスの設定を更新する" />
286 - </form>
287 - <div class="settle_exp">
288 - <p><strong><?php _e('ZEUS Japanese Settlement', 'usces'); ?></strong></p>
289 - <a href="http://www.cardservice.co.jp/" target="_blank">ゼウス決済サービスの詳細はこちら 》</a>
290 - <p> </p>
291 - <p>この決済は「埋め込み型」の決済システムです。</p>
292 - <p>「埋め込み型」とは、決済会社のページへは遷移せず、Welcart のページのみで完結する決済システムです。<br />
293 - デザインの統一されたスタイリッシュな決済が可能です。但し、カード番号を扱いますので専用SSLが必須となります。</p>
294 - <p>カード番号はZEUS のシステムに送信されるだけで、Welcart に記録は残しません。</p>
295 - <p> </p>
296 - <p>※ 3Dセキュアとセキュリティーコード </p>
297 - <p>3Dセキュアとおよびセキュリティーコードの利用は、決済サービス契約時に決定します。契約内容に従って指定しないと正常に動作しませんのでご注意ください。<br />
298 - 詳しくは<a href="http://www.cardservice.co.jp/" target="_blank">株式会社ゼウス</a>(代表:03-3498-9030)にお問い合わせください。</p>
299 - <p> </p>
300 - <p><strong>テスト稼動について</strong></p>
301 - <p>入金おまかせ及びコンビニ決済のテストを行なう際は、「稼働環境」で「テスト環境」を選択し、「テストID」の項目にゼウスから発行されるテストIDを入力してください。<br />
302 - また、本稼働の際には、「本番環境」を選択して更新してください。</p>
303 - </div>
304 - </div><!--uscestabs_zeus-->
305 -
306 - <div id="uscestabs_remise">
307 - <div class="settlement_service"><span class="service_title"><?php _e('Remise Japanese Settlement', 'usces'); ?></span></div>
308 -
309 - <?php if( isset($_POST['acting']) && 'remise' == $_POST['acting'] ){ ?>
310 - <?php if( isset($opts['remise']['activate']) && 'on' == $opts['remise']['activate'] ){ ?>
311 - <div class="message">十分にテストを行ってから運用してください。</div>
312 - <?php }else if( '' != $mes ){ ?>
313 - <div class="error_message"><?php echo $mes; ?></div>
314 - <?php } ?>
315 - <?php } ?>
316 - <form action="" method="post" name="remise_form" id="remise_form">
317 - <table class="settle_table">
318 -<!-- <tr>
319 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_plan_remise');"><?php _e('契約プラン', 'usces'); ?></a></th>
320 - <td>
321 - <select name="plan" id="plan_remise">
322 - <option value="0"<?php echo( ( isset($opts['remise']['plan']) && '0' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>-------------------------</option>
323 - <option value="1"<?php echo( ( isset($opts['remise']['plan']) && '1' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>スーパーバリュープラン</option>
324 - <option value="2"<?php echo( ( isset($opts['remise']['plan']) && '2' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>ライトプラン</option>
325 - </select>
326 - </td>
327 - <td><div id="ex_plan_remise" class="explanation"><?php _e('ルミーズと契約したサービスプランを選択してください。<br />契約が変更したい場合はルミーズへお問合せください。', 'usces'); ?></div></td>
328 - </tr>
329 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_SHOPCO_remise');"><?php _e('加盟店コード', 'usces'); ?></a></th>
330 - <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>
331 - <td><div id="ex_SHOPCO_remise" class="explanation"><?php _e('契約時にルミーズから発行される加盟店コード(半角英数)', 'usces'); ?></div></td>
332 - </tr>
333 - <tr>
334 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_HOSTID_remise');"><?php _e('ホスト番号', 'usces'); ?></a></th>
335 - <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>
336 - <td><div id="ex_HOSTID_remise" class="explanation"><?php _e('契約時にルミーズから割り当てられるホスト番号(半角数字)', 'usces'); ?></div></td>
337 - </tr>
338 - </table>
339 - <table class="settle_table">
340 - <tr>
341 - <th>クレジットカード決済</th>
342 - <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>
343 - <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>
344 - <td><div></div></td>
345 - </tr>
346 - <tr>
347 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_remise');">ジョブコード</a></th>
348 -<!-- <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>
349 - <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>
350 - <td><div id="ex_card_jb_remise" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td>
351 - </tr>
352 - <tr>
353 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payquick_remise');">ペイクイック機能</a></th>
354 - <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>
355 - <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>
356 - <td><div id="ex_payquick_remise" class="explanation"><?php _e('Welcart の会員システムを利用している場合、会員に対して2回目以降の決済の際、クレジットカード番号、有効期限、名義人の入力が不要となります。<br />クレジットカード情報はWelcart では保存せず、「ルミーズ」のデータベースにて安全に保管されます。', 'usces'); ?></div></td>
357 - </tr>
358 - <tr>
359 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_howpay_remise');">お客様の支払方法</a></th>
360 - <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>
361 - <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>
362 - <td><div id="ex_howpay_remise" class="explanation"><?php _e('「一括払い」以外をご利用の場合はルミーズ側の設定が必要となります。前もってルミーズにお問合せください。<br >「スーパーバリュープラン」の場合は「一括払いのみ」を選択してください。', 'usces'); ?></div></td>
363 - </tr>
364 - <?php if( defined('WCEX_DLSELLER') ): ?>
365 - <tr>
366 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_remise');">自動継続課金</a></th>
367 - <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>
368 - <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>
369 - <td><div id="ex_continuation_remise" class="explanation"><?php _e('定期的に発生する月会費などの煩わしい課金処理を完全に自動化することができる機能です。<br />詳しくは「ルミーズ」にお問合せください。', 'usces'); ?></div></td>
370 - </tr>
371 - <?php endif; ?>
372 - <tr>
373 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pc_ope_remise');">稼働環境</a></th>
374 - <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>
375 - <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>
376 - <td><div id="ex_card_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
377 - </tr>
378 - <tr>
379 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th>
380 - <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>
381 - <td><div id="ex_send_url_pc_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td>
382 - </tr>
383 - <?php if( defined('WCEX_MOBILE') ): ?>
384 - <tr>
385 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
386 - <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>
387 - <td><div id="ex_send_url_mbl_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td>
388 - </tr>
389 - <?php endif; ?>
390 - </table>
391 - <table class="settle_table">
392 - <tr>
393 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_remise');">コンビニ・電子マネー決済</a></th>
394 - <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>
395 - <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>
396 - <td><div id="ex_conv_remise" class="explanation"><?php _e('コンビニ・電子マネー決済を利用するかどうか', 'usces'); ?></div></td>
397 - </tr>
398 - <tr>
399 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_paydate_remise');"><?php _e('支払期限', 'usces'); ?></a></th>
400 - <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>
401 - <td><div id="ex_paydate_remise" class="explanation"><?php _e('日数を設定します。(半角数字)', 'usces'); ?></div></td>
402 - </tr>
403 - <tr>
404 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_pc_ope_remise');">稼働環境</a></th>
405 - <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>
406 - <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>
407 - <td><div id="ex_conv_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
408 - </tr>
409 - <tr>
410 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th>
411 - <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>
412 - <td><div id="ex_send_url_cvs_pc_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td>
413 - </tr>
414 - <?php if( defined('WCEX_MOBILE') ): ?>
415 - <tr>
416 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
417 - <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>
418 - <td><div id="ex_send_url_cvs_mbl_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td>
419 - </tr>
420 - <?php endif; ?>
421 - </table>
422 - <input name="send_url_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/card/paycard.aspx" />
423 - <input name="send_url_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/card/paycard.aspx" />
424 - <input name="send_url_cvs_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/cvs/paycvs.aspx" />
425 - <input name="send_url_cvs_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/cvs/paycvs.aspx" />
426 - <input name="REMARKS3" type="hidden" value="A0000875" />
427 - <input name="acting" type="hidden" value="remise" />
428 - <input name="usces_option_update" type="submit" class="button" value="ルミーズの設定を更新する" />
429 - </form>
430 - <div class="settle_exp">
431 - <p><strong><?php _e('Remise Japanese Settlement', 'usces'); ?></strong></p>
432 - <a href="http://www.remise.jp/" target="_blank">ルミーズ決済サービスの詳細はこちら 》</a>
433 - <p> </p>
434 - <p>この決済は「外部リンク型」の決済システムです。</p>
435 - <p>「外部リンク型」とは、決済会社のページへは遷移してカード情報を入力する決済システムです。</p>
436 - <p>「自動継続課金」を利用するには「DL Seller」拡張プラグインのインストールが必要です。</p>
437 - </div>
438 - </div><!--uscestabs_remise-->
439 -
440 -<!--20101018ysk start-->
441 - <div id="uscestabs_jpayment">
442 - <div class="settlement_service"><span class="service_title"><?php _e('J-Payment Japanese Settlement', 'usces'); ?></span></div>
443 -
444 - <?php if( isset($_POST['acting']) && 'jpayment' == $_POST['acting'] ){ ?>
445 - <?php if( isset($opts['jpayment']['activate']) && 'on' == $opts['jpayment']['activate'] ){ ?>
446 - <div class="message">十分にテストを行ってから運用してください。</div>
447 - <?php }else if( '' != $mes ){ ?>
448 - <div class="error_message"><?php echo $mes; ?></div>
449 - <?php } ?>
450 - <?php } ?>
451 - <form action="" method="post" name="jpayment_form" id="jpayment_form">
452 - <table class="settle_table">
453 - <tr>
454 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_aid_jpayment');"><?php _e('店舗ID', 'usces'); ?></a></th>
455 - <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>
456 - <td><div id="ex_aid_jpayment" class="explanation"><?php _e('契約時にJ-Paymentから発行される店舗ID(半角数字)', 'usces'); ?></div></td>
457 - </tr>
458 - </table>
459 - <table class="settle_table">
460 - <tr>
461 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jpayment');">クレジットカード決済</a></th>
462 - <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>
463 - <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>
464 - <td><div id="ex_card_jpayment" class="explanation"><?php _e('クレジットカード決済を利用するかどうか<br />※自動継続課金には対応していません。', 'usces'); ?></div></td>
465 - </tr>
466 - <tr>
467 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_jpayment');">ジョブタイプ</a></th>
468 -<!-- <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>
469 - <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>
470 - <td><div id="ex_card_jb_jpayment" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td>
471 - </tr>
472 - </table>
473 - <table class="settle_table">
474 - <tr>
475 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_jpayment');">コンビニ決済</a></th>
476 - <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>
477 - <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>
478 - <td><div id="ex_conv_jpayment" class="explanation"><?php _e('コンビニ(ペーパーレス)決済を利用するかどうか', 'usces'); ?></div></td>
479 - </tr>
480 - </table>
481 -<!--
482 - <table class="settle_table">
483 - <tr>
484 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_webm_jpayment');">WebMoney決済</a></th>
485 - <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>
486 - <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>
487 - <td><div></div></td><td><div></div></td>
488 - <td><div id="ex_webm_jpayment" class="explanation"><?php _e('電子マネー(WebMoney)決済を利用するかどうか', 'usces'); ?></div></td>
489 - </tr>
490 - </table>
491 - <table class="settle_table">
492 - <tr>
493 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bitc_jpayment');">BitCash決済</a></th>
494 - <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>
495 - <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>
496 - <td><div id="ex_bitc_jpayment" class="explanation"><?php _e('電子マネー(BitCash)決済を利用するかどうか', 'usces'); ?></div></td>
497 - </tr>
498 - </table>
499 - <table class="settle_table">
500 - <tr>
501 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_suica_jpayment');">モバイルSuica決済</a></th>
502 - <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>
503 - <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>
504 - <td><div id="ex_suica_jpayment" class="explanation"><?php _e('電子マネー(モバイルSuica)決済を利用するかどうか', 'usces'); ?></div></td>
505 - </tr>
506 - </table>
507 - <table class="settle_table">
508 - <tr>
509 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_jpayment');">バンクチェック決済</a></th>
510 - <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>
511 - <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>
512 - <td><div id="ex_bank_jpayment" class="explanation"><?php _e('バンクチェック決済を利用するかどうか', 'usces'); ?></div></td>
513 - </tr>
514 - </table>
515 - <input name="send_url" type="hidden" value="https://credit.j-payment.co.jp/gateway/payform.aspx" />
516 - <input name="acting" type="hidden" value="jpayment" />
517 - <input name="usces_option_update" type="submit" class="button" value="J-Paymentの設定を更新する" />
518 - </form>
519 - <div class="settle_exp">
520 - <p><strong><?php _e('J-Payment Japanese Settlement', 'usces'); ?></strong></p>
521 - <a href="http://www.j-payment.co.jp/" target="_blank">J-Payment決済サービスの詳細はこちら 》</a>
522 - <p> </p>
523 - <p>この決済は「外部リンク型」の決済システムです。</p>
524 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
525 - </div>
526 - </div><!--uscestabs_jpayment-->
527 -<!--20101018ysk end-->
528 -<!--20110208ysk start-->
529 - <div id="uscestabs_paypal">
530 - <div class="settlement_service"><span class="service_title"><?php _e('PayPal Express Checkout', 'usces'); ?></span></div>
531 -
532 - <?php if( isset($_POST['acting']) && 'paypal' == $_POST['acting'] ){ ?>
533 - <?php if( isset($opts['paypal']['activate']) && 'on' == $opts['paypal']['activate'] ){ ?>
534 - <div class="message"><?php _e('Test thoroughly before use.', 'usces'); ?></div>
535 - <?php }else if( '' != $mes ){ ?>
536 - <div class="error_message"><?php echo $mes; ?></div>
537 - <?php } ?>
538 - <?php } ?>
539 - <form action="" method="post" name="paypal_form" id="paypal_form">
540 - <table class="settle_table">
541 - <tr>
542 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ec_activate_paypal');"><?php _e('PayPal Settlement', 'usces'); ?></a></th>
543 - <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>
544 - <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>
545 - <td><div id="ex_ec_activate_paypal" class="explanation"><?php _e('Choose if to use PayPal settlement.', 'usces'); ?></div></td>
546 - </tr>
547 - <tr>
548 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sandbox_paypal');"><?php _e('Operation Environment', 'usces'); ?></a></th>
549 - <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>
550 - <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>
551 - <td><div id="ex_sandbox_paypal" class="explanation"><?php _e("Choose 'Test (Sandbox)' when testing payment settlement by Sandbox.", 'usces'); ?></div></td>
552 - </tr>
553 - <tr>
554 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_user_paypal');"><?php _e('API User Name', 'usces'); ?></a></th>
555 - <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>
556 - <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>
557 - </tr>
558 - <tr>
559 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_pwd_paypal');"><?php _e('API Password', 'usces'); ?></a></th>
560 - <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>
561 - <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>
562 - </tr>
563 - <tr>
564 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_signature_paypal');"><?php _e('Signature', 'usces'); ?></a></th>
565 - <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>
566 - <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>
567 - </tr>
568 -<!--20110412ysk start-->
569 - <?php if( defined('WCEX_DLSELLER') ): ?>
570 - <tr>
571 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_paypal');"><?php _e('Recurring Payment', 'usces'); ?></a></th>
572 - <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>
573 - <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>
574 - <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>
575 - </tr>
576 - <?php endif; ?>
577 -<!--20110412ysk end-->
578 - </table>
579 - <table class="settle_table">
580 - <tr>
581 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_logoimg');"><?php _e('URL for the image of the payment page', 'usces'); ?></a></th>
582 - <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>
583 - <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>
584 - </tr>
585 - <tr>
586 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_cartbordercolor');"><?php _e('The background color for the payment page', 'usces'); ?></a></th>
587 - <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>
588 - <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>
589 - <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>
590 - </tr>
591 - <tr id="cartbordercolor">
592 - <th><?php _e('The background color for the payment page', 'usces'); ?></th>
593 - <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>
594 - <td></td>
595 - </tr>
596 - </table>
597 - <input name="acting" type="hidden" value="paypal" />
598 - <input name="usces_option_update" type="submit" class="button" value="<?php _e('Update PayPal Settings', 'usces'); ?>" />
599 - </form>
600 - <div class="settle_exp">
601 - <p><strong><?php _e('PayPal Express Checkout', 'usces'); ?></strong></p>
602 - <a href="https://www.paypal.com/" target="_blank"><?php _e('For the details on PayPal settlement service, click here >>', 'usces'); ?></a>
603 - <p> </p>
604 - <p><?php _e("This settlement uses 'Express Checkout'.", 'usces'); ?></p>
605 - <p><?php _e("If the 'OpenSSL' module is not installed in the server you're using, you cannot settle payments by 'ExpressCheckout'.", 'usces'); ?></p>
606 - </div>
607 - </div><!--uscestabs_paypal-->
608 -<!--20110208ysk end-->
609 -<!--20120413ysk start-->
610 - <div id="uscestabs_sbps">
611 - <div class="settlement_service"><span class="service_title">ソフトバンク・ペイメント・サービス</span></div>
612 -
613 - <?php if( isset($_POST['acting']) && 'sbps' == $_POST['acting'] ){ ?>
614 - <?php if( isset($opts['sbps']['activate']) && 'on' == $opts['sbps']['activate'] ){ ?>
615 - <div class="message">十分にテストを行ってから運用してください。</div>
616 - <?php }else if( '' != $mes ){ ?>
617 - <div class="error_message"><?php echo $mes; ?></div>
618 - <?php } ?>
619 - <?php } ?>
620 - <form action="" method="post" name="sbps_form" id="sbps_form">
621 - <table class="settle_table">
622 - <tr>
623 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchant_id_sbps');">マーチャントID</a></th>
624 - <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>
625 - <td><div id="ex_merchant_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるマーチャントID(半角数字)', 'usces'); ?></div></td>
626 - </tr>
627 - <tr>
628 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_service_id_sbps');">サービスID</a></th>
629 - <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>
630 - <td><div id="ex_service_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるサービスID(半角数字)', 'usces'); ?></div></td>
631 - </tr>
632 - <tr>
633 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_key_sbps');">Hash KEY</a></th>
634 - <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>
635 - <td><div id="ex_hash_key_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行される Hash KEY(半角英数)', 'usces'); ?></div></td>
636 - </tr>
637 - <tr>
638 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_sbps');"><?php _e('Operation Environment', 'usces'); ?></a></th>
639 - <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>
640 - <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>
641 - <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>
642 - <td><div id="ex_ope_sbps" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
643 - </tr>
644 -<!--
645 - <tr>
646 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_sbps');"><?php _e('本番URL', 'usces'); ?></a></th>
647 - <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>
648 - <td><div id="ex_send_url_sbps" class="explanation"><?php _e('本番環境で接続するURLを設定します。「購入要求(画面遷移要求)」に示されるURLを入力してください。', 'usces'); ?></div></td>
649 - </tr>
650 - <table class="settle_table">
651 - <tr>
652 - <th>クレジットカード決済</th>
653 - <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>
654 - <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>
655 - <td></td>
656 - </tr>
657 - <tr>
658 - <th>3Dセキュア</th>
659 - <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>
660 - <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>
661 - <td></td>
662 - </tr>
663 - <?php if( defined('WCEX_DLSELLER') ): ?>
664 -<!-- <tr>
665 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_sbps');">簡易継続課金</a></th>
666 - <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>
667 - <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>
668 - <td><div id="ex_continuation_sbps" class="explanation"><?php _e('定期的に発生する月会費などの煩わしい課金処理を完全に自動化することができる機能です。<br />詳しくはソフトバンク・ペイメント・サービスにお問合せください。', 'usces'); ?></div></td>
669 - </tr>
670 - </table>
671 - <table class="settle_table">
672 - <tr>
673 - <th>WEBコンビニ決済</th>
674 - <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>
675 - <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>
676 - <td></td>
677 - </tr>
678 - </table>
679 - <table class="settle_table">
680 - <tr>
681 - <th>Pay-easy(ペイジー)決済</th>
682 - <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>
683 - <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>
684 - <td></td>
685 - </tr>
686 - </table>
687 - <table class="settle_table">
688 - <tr>
689 - <th>Yahoo!ウォレット決済</th>
690 - <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>
691 - <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>
692 - <td></td>
693 - </tr>
694 - <tr>
695 - <th>楽天あんしん決済</th>
696 - <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>
697 - <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>
698 - <td></td>
699 - </tr>
700 - <tr>
701 - <th>PayPal</th>
702 - <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>
703 - <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>
704 - <td></td>
705 - </tr>
706 - <tr>
707 - <th>ネットマイル</th>
708 - <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>
709 - <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>
710 - <td></td>
711 - </tr>
712 - <tr>
713 - <th>Alipay国際決済</th>
714 - <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>
715 - <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>
716 - <td></td>
717 - </tr>
718 - </table>
719 - <table class="settle_table">
720 - <tr>
721 - <th>ドコモ ケータイ払い</th>
722 - <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>
723 - <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>
724 - <td></td>
725 - </tr>
726 - <tr>
727 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_softbank_sbps');">S!まとめて支払い</a></th>
728 - <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>
729 - <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>
730 - <td><div id="ex_mobile_softbank_sbps" class="explanation">Softbank携帯端末(3G対応携帯端末)にて決済を行うサービスです。</div></td>
731 - </tr>
732 - <tr>
733 - <th>auかんたん決済</th>
734 - <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>
735 - <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>
736 - <td></td>
737 - </tr>
738 - <tr>
739 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_mysoftbank_sbps');">ソフトバンク<br />まとめて支払い(A)</a></th>
740 - <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>
741 - <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>
742 - <td><div id="ex_mobile_mysoftbank_sbps" class="explanation">スマートフォン専用のデジタルコンテンツの決済に利用できるサービスです。物販では利用不可となります。</div></td>
743 - </tr>
744 - <tr>
745 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_softbank2_sbps');">ソフトバンク<br />まとめて支払い(B)</a></th>
746 - <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>
747 - <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>
748 - <td><div id="ex_mobile_softbank2_sbps" class="explanation">物販サイト等で購入した商品の代金の支払いに利用できる決済手段です。</div></td>
749 - </tr>
750 - </table>
751 - <input name="send_url_check" type="hidden" value="https://stbfep.sps-system.com/Extra/BuyRequestAction.do" />
752 - <input name="send_url_test" type="hidden" value="https://stbfep.sps-system.com/f01/FepBuyInfoReceive.do" />
753 - <input name="acting" type="hidden" value="sbps" />
754 - <input name="usces_option_update" type="submit" class="button" value="ソフトバンク・ペイメントの設定を更新する" />
755 - </form>
756 - <div class="settle_exp">
757 - <p><strong>ソフトバンク・ペイメント・サービス</strong></p>
758 - <a href="http://www.welcart.com/wc-settlement/sbps_guide/" target="_blank">ソフトバンク・ペイメント・サービスの詳細はこちら 》</a>
759 - <p> </p>
760 - <p>この決済は「外部リンク型」の決済システムです。</p>
761 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
762 - <!--<p>「簡易継続課金」を利用するには「DL Seller」拡張プラグインのインストールが必要です。</p>-->
763 - <p>尚、本番環境では、正規SSL証明書のみでのSSL通信となりますのでご注意ください。</p>
764 - </div>
765 - </div><!--uscestabs_sbps-->
766 -<!--20120413ysk end-->
767 -<!--20120618ysk start-->
768 - <div id="uscestabs_telecom">
769 - <div class="settlement_service"><span class="service_title">テレコムクレジット</span></div>
770 - <?php if( isset($_POST['acting']) && 'telecom' == $_POST['acting'] ){ ?>
771 - <?php if( isset($opts['telecom']['activate']) && 'on' == $opts['telecom']['activate'] ){ ?>
772 - <div class="message">十分にテストを行ってから運用してください。</div>
773 - <?php }else if( '' != $mes ){ ?>
774 - <div class="error_message"><?php echo $mes; ?></div>
775 - <?php } ?>
776 - <?php } ?>
777 - <form action="" method="post" name="telecom_form" id="telecom_form">
778 - <table class="settle_table">
779 - <tr>
780 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_clientip_telecom');">クライアントIP</a></th>
781 - <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>
782 - <td><div id="ex_clientip_telecom" class="explanation"><?php _e('契約時にテレコムクレジットから発行されるクライアントIP(半角数字)', 'usces'); ?></div></td>
783 - </tr>
784 - <tr>
785 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_stype_telecom');">決済タイプ</a></th>
786 - <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>
787 - <td><div id="ex_stype_telecom" class="explanation"><?php _e('設定依頼書に記載されている決済タイプ。', 'usces'); ?></div></td>
788 - </tr>
789 - </table>
790 - <table class="settle_table">
791 - <tr>
792 - <th>クレジットカード決済</th>
793 - <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>
794 - <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>
795 - <td></td>
796 - </tr>
797 - </table>
798 -<!--
799 - <table class="settle_table">
800 - <tr>
801 - <th>Edy決済</th>
802 - <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>
803 - <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>
804 - <td></td>
805 - </tr>
806 - </table>
807 - <input name="acting" type="hidden" value="telecom" />
808 - <input name="usces_option_update" type="submit" class="button" value="テレコムクレジットの設定を更新する" />
809 - </form>
810 - <div class="settle_exp">
811 - <p><strong>テレコムクレジット</strong></p>
812 - <a href="http://www.telecomcredit.co.jp/" target="_blank">テレコムクレジットの詳細はこちら 》</a>
813 - <p> </p>
814 - <p>この決済は「外部リンク型」の決済システムです。</p>
815 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
816 - </div>
817 - </div><!--uscestabs_telecom-->
818 -<!--20120618ysk end-->
819 -
820 -<!--20121206ysk start-->
821 - <div id="uscestabs_digitalcheck">
822 - <div class="settlement_service"><span class="service_title">ペイデザイン</span></div>
823 - <?php if( isset($_POST['acting']) && 'digitalcheck' == $_POST['acting'] ){ ?>
824 - <?php if( isset($opts['digitalcheck']['activate']) && 'on' == $opts['digitalcheck']['activate'] ){ ?>
825 - <div class="message">十分にテストを行ってから運用してください。</div>
826 - <?php }else if( '' != $mes ){ ?>
827 - <div class="error_message"><?php echo $mes; ?></div>
828 - <?php } ?>
829 - <?php } ?>
830 - <form action="" method="post" name="digitalcheck_form" id="digitalcheck_form">
831 - <table class="settle_table">
832 - <tr>
833 - <th>クレジットカード決済</th>
834 - <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>
835 - <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>
836 - <td></td>
837 - </tr>
838 - <tr>
839 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_ip_digitalcheck');">加盟店コード</a></th>
840 - <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>
841 - <td><div id="ex_card_ip_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店コード(半角英数字)。', 'usces'); ?></div></td>
842 - </tr>
843 - <tr>
844 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pass_digitalcheck');">加盟店パスワード</a></th>
845 - <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>
846 - <td><div id="ex_card_pass_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店パスワード(半角英数字)。<br />ユーザID決済をご利用の場合は、必須となります。', 'usces'); ?></div></td>
847 - </tr>
848 - <tr>
849 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_kakutei');">決済自動確定</a></th>
850 - <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>
851 - <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>
852 - <td><div id="ex_card_kakutei" class="explanation"><?php _e('注文の際にクレジットの与信のみを行ないます。<br />実際の売上として計上するには確定処理が必要となります。省略時は「売上確定(確定まで同時に行う)」です。', 'usces'); ?></div></td>
853 - </tr>
854 - <tr>
855 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_user_id');">ユーザID決済</a></th>
856 - <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>
857 - <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>
858 - <td><div id="ex_card_user_id" class="explanation"><?php _e('過去にクレジットカードでのお取引があるユーザは、次回からカード情報の入力を省略することが可能となります。', 'usces'); ?></div></td>
859 - </tr>
860 - </table>
861 - <table class="settle_table">
862 - <tr>
863 - <th>コンビニ決済</th>
864 - <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>
865 - <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>
866 - <td></td>
867 - </tr>
868 - <tr>
869 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_ip_digitalcheck');">加盟店コード</a></th>
870 - <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>
871 - <td><div id="ex_conv_ip_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店コード(半角英数字)', 'usces'); ?></div></td>
872 - </tr>
873 - <tr>
874 - <th rowspan="4"><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_store_digitalcheck');">利用コンビニ</a></th>
875 - <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>
876 - <td rowspan="4"><div id="ex_conv_store_digitalcheck" class="explanation"><?php _e('収納先のコンビニを選択します。コンビニ毎の審査が必要となり、審査通過後にご利用可能となります。', 'usces'); ?></div></td>
877 - </tr>
878 - <tr>
879 - <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>
880 - </tr>
881 - <tr>
882 - <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>
883 - </tr>
884 - <tr>
885 - <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>
886 - </tr>
887 - <tr>
888 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_kigen_digitalcheck');">支払期限</a></th>
889 - <td colspan="4">
890 -<?php
891 - $selected = array_fill( 1, 30, '' );
892 - if( isset($opts['digitalcheck']['conv_kigen']) ) {
893 - $selected[$opts['digitalcheck']['conv_kigen']] = ' selected';
894 - } else {
895 - $selected[14] = ' selected';
896 - }
897 -?>
898 - <select name="conv_kigen" id="conv_kigen">
899 - <?php for( $i = 1; $i <= 30; $i++ ): ?>
900 - <option value="<?php echo esc_html($i); ?>"<?php echo esc_html($selected[$i]); ?>><?php echo esc_html($i); ?></option>
901 - <?php endfor; ?>
902 - </select>(日数)</td>
903 - <td><div id="ex_conv_kigen_digitalcheck" class="explanation"><?php _e('コンビニ店頭でお支払いいただける期限となります。', 'usces'); ?></div></td>
904 - </tr>
905 - </table>
906 - <input name="acting" type="hidden" value="digitalcheck" />
907 - <input name="usces_option_update" type="submit" class="button" value="ペイデザインの設定を更新する" />
908 - </form>
909 - <div class="settle_exp">
910 - <p><strong>ペイデザイン株式会社</strong></p>
911 - <a href="http://www.paydesign.co.jp/" target="_blank">ペイデザインの詳細はこちら 》</a>
912 - <p> </p>
913 - <p>この決済は「外部リンク型」の決済システムです。</p>
914 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
915 - </div>
916 - </div><!--uscestabs_digitalcheck-->
917 -<!--20121206ysk end-->
918 -
919 -<!--20130225ysk start-->
920 - <div id="uscestabs_mizuho">
921 - <div class="settlement_service"><span class="service_title">みずほファクター</span></div>
922 - <?php if( isset($_POST['acting']) && 'mizuho' == $_POST['acting'] ) : ?>
923 - <?php if( isset($opts['mizuho']['activate']) && 'on' == $opts['mizuho']['activate'] ) : ?>
924 - <div class="message">十分にテストを行ってから運用してください。</div>
925 - <?php elseif( '' != $mes ) : ?>
926 - <div class="error_message"><?php echo $mes; ?></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; ?>
927 84 <?php endif; ?>
928 - <?php endif; ?>
929 - <form action="" method="post" name="mizuho_form" id="mizuho_form">
930 - <table class="settle_table">
931 - <tr>
932 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_shopid_mizuho');">加盟店コード</a></th>
933 - <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>
934 - <td><div id="ex_shopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店コード(半角数字6桁)。', 'usces'); ?></div></td>
935 - </tr>
936 - <tr>
937 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_cshopid_mizuho');">加盟店サブコード</a></th>
938 - <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>
939 - <td><div id="ex_cshopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店サブコード(半角数字5桁)。', 'usces'); ?></div></td>
940 - </tr>
941 - <tr>
942 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_pass_mizuho');">ハッシュ用パスワード</a></th>
943 - <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>
944 - <td><div id="ex_hash_pass_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行されるハッシュ用パスワード(半角英数字)。', 'usces'); ?></div></td>
945 - </tr>
946 - <tr>
947 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_mizuho');"><?php _e('Operation Environment', 'usces'); ?></a></th>
948 - <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>
949 - <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>
950 - <td><div id="ex_ope_mizuho" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
951 - </tr>
952 - <tr>
953 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mizuho');"><?php _e('本番URL', 'usces'); ?></a></th>
954 - <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>
955 - <td><div id="ex_send_url_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続先URL(画面連携型)PC」に示されるURLを入力してください。', 'usces'); ?></div></td>
956 - </tr>
957 - <?php if( defined('WCEX_MOBILE') ): ?>
958 - <tr>
959 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_mizuho');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
960 - <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>
961 - <td><div id="ex_send_url_mbl_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続先URL(画面連携型)MB」に示されるURLを入力してください。', 'usces'); ?></div></td>
962 - </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; ?>
963 90 <?php endif; ?>
964 - </table>
965 - <table class="settle_table">
966 - <tr>
967 - <th>クレジットカード決済</th>
968 - <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>
969 - <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>
970 - <td></td>
971 - </tr>
972 - </table>
973 -<!--
974 - <table class="settle_table">
975 - <tr>
976 - <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv1_activate');">ウェルネット決済</a></th>
977 - <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>
978 - <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>
979 - <td><div id="ex_conv1_activate" class="explanation">ローソン、ファミリーマート、サークルK サンクス、ミニストップ、デイリーヤマザキ、スリーエフでのご利用が可能です。</div></td>
980 - </tr>
981 - <tr>
982 - <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv2_activate');">セブンイレブン決済</a></th>
983 - <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>
984 - <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>
985 - <td><div id="ex_conv2_activate" class="explanation">セブンイレブンでのご利用が可能です。</div></td>
986 - </tr>
987 - </table>
988 - <input name="acting" type="hidden" value="mizuho" />
989 - <input name="usces_option_update" type="submit" class="button" value="みずほファクターの設定を更新する" />
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>
990 99 </form>
991 - <div class="settle_exp">
992 - <p><strong>みずほファクター</strong></p>
993 - <a href="http://www.mizuho-factor.co.jp/" target="_blank">みずほファクターの詳細はこちら 》</a>
994 - <p> </p>
995 - <p>この決済は「外部リンク型」の決済システムです。</p>
996 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
997 - </div>
998 - </div><!--uscestabs_mizuho-->
999 -<!--20130225ysk end-->
1000 -
1001 -<!--20131220ysk start-->
1002 - <div id="uscestabs_anotherlane">
1003 - <div class="settlement_service"><span class="service_title">アナザーレーン</span></div>
1004 - <?php if( isset($_POST['acting']) && 'anotherlane' == $_POST['acting'] ) : ?>
1005 - <?php if( isset($opts['anotherlane']['activate']) && 'on' == $opts['anotherlane']['activate'] ) : ?>
1006 - <div class="message">十分にテストを行ってから運用してください。</div>
1007 - <?php elseif( '' != $mes ) : ?>
1008 - <div class="error_message"><?php echo $mes; ?></div>
1009 - <?php endif; ?>
1010 - <?php endif; ?>
1011 - <form action="" method="post" name="anotherlane_form" id="anotherlane_form">
1012 - <table class="settle_table">
1013 - <tr>
1014 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_siteid_anotherlane');">サイトID</a></th>
1015 - <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>
1016 - <td><div id="ex_siteid_anotherlane" class="explanation"><?php _e('契約時にアナザーレーンから発行されるID(半角数字)', 'usces'); ?></div></td>
1017 - </tr>
1018 - <tr>
1019 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sitepass_anotherlane');">サイトパスワード</a></th>
1020 - <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>
1021 - <td><div id="ex_sitepass_anotherlane" class="explanation"><?php _e('契約時にアナザーレーンから発行されるパスワード(半角英数字)', 'usces'); ?></div></td>
1022 - </tr>
1023 - <tr>
1024 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_quickcharge_anotherlane');">クイックチャージ</a></th>
1025 - <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>
1026 - <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>
1027 - <td><div id="ex_quickcharge_anotherlane" class="explanation"><?php _e('ログインして一度購入したメンバーは、次の購入時にはカード番号を入力する必要がなくなります。', 'usces'); ?></div></td>
1028 - </tr>
1029 - </table>
1030 - <table class="settle_table">
1031 - <tr>
1032 - <th>クレジットカード決済</th>
1033 - <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>
1034 - <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>
1035 - <td></td>
1036 - </tr>
1037 - </table>
1038 - <input name="acting" type="hidden" value="anotherlane" />
1039 - <input name="usces_option_update" type="submit" class="button" value="アナザーレーンの設定を更新する" />
1040 - </form>
1041 - <div class="settle_exp">
1042 - <p><strong>アナザーレーン</strong></p>
1043 - <a href="http://www.alij.ne.jp/" target="_blank">アナザーレーンの詳細はこちら 》</a>
1044 - <p> </p>
1045 - <p>この決済は「外部リンク型」の決済システムです。</p>
1046 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1047 - </div>
1048 - </div><!--uscestabs_anotherlane-->
1049 -<!--20131220ysk end-->
1050 -
1051 -<!--20140206ysk start-->
1052 - <div id="uscestabs_veritrans">
1053 - <div class="settlement_service"><span class="service_title">ベリトランス Air-Web</span></div>
1054 - <?php if( isset($_POST['acting']) && 'veritrans' == $_POST['acting'] ) : ?>
1055 - <?php if( isset($opts['veritrans']['activate']) && 'on' == $opts['veritrans']['activate'] ) : ?>
1056 - <div class="message">十分にテストを行ってから運用してください。</div>
1057 - <?php elseif( '' != $mes ) : ?>
1058 - <div class="error_message"><?php echo $mes; ?></div>
1059 - <?php endif; ?>
1060 - <?php endif; ?>
1061 - <form action="" method="post" name="veritrans_form" id="veritrans_form">
1062 - <table class="settle_table">
1063 - <tr>
1064 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchant_id_veritrans');">マーチャントID</a></th>
1065 - <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>
1066 - <td><div id="ex_merchant_id_veritrans" class="explanation"><?php _e('契約時にベリトランスから発行されるマーチャントID(半角英数字)', 'usces'); ?></div></td>
1067 - </tr>
1068 - <tr>
1069 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchanthash_veritrans');">マーチャントハッシュキー</a></th>
1070 - <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>
1071 - <td><div id="ex_merchanthash_veritrans" class="explanation"><?php _e('契約時にベリトランスから発行されるマーチャントハッシュキー(半角英数字)', 'usces'); ?></div></td>
1072 - </tr>
1073 - <tr>
1074 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_veritrans');">稼働環境</a></th>
1075 - <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>
1076 - <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>
1077 - <td><div id="ex_ope_veritrans" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
1078 - </tr>
1079 - </table>
1080 - <table class="settle_table">
1081 - <tr>
1082 - <th>クレジットカード決済</th>
1083 - <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>
1084 - <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>
1085 - <td></td>
1086 - </tr>
1087 - <tr>
1088 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_capture_flag_veritrans');">カード売上フラグ</a></th>
1089 - <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>
1090 - <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>
1091 - <td><div id="ex_card_capture_flag_veritrans" class="explanation"><?php _e('決済の処理方式を指定します', 'usces'); ?></div></td>
1092 - </tr>
1093 - </table>
1094 - <table class="settle_table">
1095 - <tr>
1096 - <th>コンビニ決済</th>
1097 - <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>
1098 - <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>
1099 - <td></td>
1100 - </tr>
1101 - </table>
1102 - <input name="acting" type="hidden" value="veritrans" />
1103 - <input name="usces_option_update" type="submit" class="button" value="ベリトランスの設定を更新する" />
1104 - </form>
1105 - <div class="settle_exp">
1106 - <p><strong>ベリトランス</strong></p>
1107 - <a href="http://www.veritrans.co.jp/" target="_blank">ベリトランスの詳細はこちら 》</a>
1108 - <p> </p>
1109 - <p>この決済は「外部リンク型」の決済システムです。</p>
1110 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1111 - </div>
1112 - </div><!--uscestabs_veritrans-->
1113 -<!--20140206ysk end-->
1114 -
100 + </div><!-- uscestabs_settlement_top -->
101 + <?php do_action( 'usces_action_settlement_tab_body' ); ?>
1115 102 </div><!--uscestabs-->
1116 -</div><!--inside-->
1117 -</div><!--postbox-->
1118 -</div><!--poststuff-->
1119 -
1120 103 </div><!--usces_admin-->
1121 -</div><!--wrap-->
104 +</div><!--wrap-->