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 -1320 1.4.122.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,1328 +21,84 @@
27 21 expires: 1
28 22 }
29 23 });
30 24 } else {
31 - $( "#uscestabs" ).tabs({
32 - active: ($.cookie("uscestabs_settlement")) ? $.cookie("uscestabs_settlement") : 0
33 - , activate: function( event, ui ){
34 - $.cookie("uscestabs_settlement", $(this).tabs("option", "active"));
25 + $( "#uscestabs_settlement" ).tabs({
26 + active: ( $.cookie( "uscestabs_settlement" ) ) ? $.cookie( "uscestabs_settlement" ) : 0
27 + , activate: function( event, ui ) {
28 + $.cookie( "uscestabs_settlement", $( this ).tabs( "option", "active" ) );
35 29 }
36 30 });
37 31 }
38 32
39 - if( '2' == $("input[name='connection']:checked").val() ){
40 - $("#authkey_zeus").css("display", "");
41 - }else{
42 - $("#authkey_zeus").css("display", "none");
43 - $("#3dsecur_zeus_2").attr("checked", "checked");
44 - }
45 - $("input[name='connection']").click(function(){
46 - if( '2' == $("input[name='connection']:checked").val() ){
47 - $("#authkey_zeus").css("display", "");
48 - }else{
49 - $("#authkey_zeus").css("display", "none");
50 - $("#3dsecur_zeus_2").attr("checked", "checked");
51 - }
33 + $( function() {
34 + $( ".settlement-ui-sortable" ).sortable( {
35 + connectWith: ".settlement-ui-sortable",
36 + update: function( e, ui ) {
37 + var updateArray = $( "#settlement-selected" ).sortable( "toArray" ).join( "," );
38 + $( "#settlement-selected-update" ).val( updateArray );
39 + }
40 + });
41 + $( ".settlement-ui-sortable" ).disableSelection();
52 42 });
53 -
54 - if( '1' == $("input[name='3dsecur']:checked").val() ){
55 - $("#connection_zeus_2").attr("checked", "checked");
56 - $("#authkey_zeus").css("display", "");
57 - }
58 - $("input[name='3dsecur']").click(function(){
59 - if( '1' == $("input[name='3dsecur']:checked").val() ){
60 - $("#connection_zeus_2").attr("checked", "checked");
61 - $("#authkey_zeus").css("display", "");
62 - }
63 - });
64 -
65 -// if( '1' == $("input[name='security']:checked").val() ){
66 -// $("input[name='quickcharge']").attr("disabled", "disabled");
67 -// $("#quickcharge_zeus_2").attr("checked", "checked");
68 -// }else{
69 -// $("input[name='quickcharge']").removeAttr("disabled");
70 -// }
71 -// $("input[name='security']").click(function(){
72 -// if( '1' == $("input[name='security']:checked").val() ){
73 -// $("input[name='quickcharge']").attr("disabled", "disabled");
74 -// $("#quickcharge_zeus_2").attr("checked", "checked");
75 -// }else{
76 -// $("input[name='quickcharge']").removeAttr("disabled");
77 -// }
78 -// });
79 -
80 - if( 'on' == $("input[name='set_cartbordercolor']:checked").val() ) {
81 - $("#cartbordercolor").css("display", "");
82 - } else {
83 - $("#cartbordercolor").css("display", "none");
84 - }
85 - $("input[name='set_cartbordercolor']").click(function() {
86 - if( 'on' == $("input[name='set_cartbordercolor']:checked").val() ) {
87 - $("#cartbordercolor").css("display", "");
88 - } else {
89 - $("#cartbordercolor").css("display", "none");
90 - }
91 - });
43 +<?php do_action( 'usces_action_settlement_script' ); ?>
92 44 });
93 -function toggleVisibility(id) {
94 - var e = document.getElementById(id);
95 - if(e.style.display == 'block')
96 - e.style.display = 'none';
97 - else
98 - e.style.display = 'block';
99 -}
100 45 </script>
101 46 <div class="wrap">
102 47 <div class="usces_admin">
103 -<h2><?php _e('Settlement Setting','usces'); ?></h2>
104 -<div id="aniboxStatus" class="<?php echo $status; ?>">
105 - <div id="anibox" class="clearfix">
106 - <img src="<?php echo USCES_PLUGIN_URL; ?>/images/list_message_<?php echo $status; ?>.gif" />
107 - <div class="mes" id="info_massage"><?php echo $message; ?></div>
108 - </div>
109 -</div>
110 -
111 -<div id="poststuff" class="metabox-holder">
112 -<div class="postbox">
113 -<h3 class="hndle"><span><?php _e('Settlement Setting','usces'); ?></span></h3>
114 -<div class="inside">
115 -<div id="uscestabs">
116 -
48 +<h1>Welcart Shop <?php esc_html_e( 'Settlement Setting', 'usces' ); ?></h1>
49 +<?php usces_admin_action_status(); ?>
50 +<div id="uscestabs_settlement" class="uscestabs usces_settlement">
117 51 <ul>
118 - <li><a href="#uscestabs_zeus"><?php _e('ZEUS','usces'); ?></a></li>
119 - <li><a href="#uscestabs_remise"><?php _e('Remise','usces'); ?></a></li>
120 -<!--20101018ysk start-->
121 - <li><a href="#uscestabs_jpayment">J-Payment</a></li>
122 -<!--20101018ysk end-->
123 -<!--20110208ysk start-->
124 - <li><a href="#uscestabs_paypal_ec">PayPal(EC)</a></li>
125 -<!--20110208ysk end-->
126 -<!--20140908ysk start-->
127 - <li><a href="#uscestabs_paypal_wpp">PayPal(WPP)</a></li>
128 -<!--20140908ysk end-->
129 -<!--20120413ysk start-->
130 - <li><a href="#uscestabs_sbps">ソフトバンク・ペイメント</a></li>
131 -<!--20120413ysk end-->
132 -<!--20120618ysk start-->
133 - <li><a href="#uscestabs_telecom">テレコムクレジット</a></li>
134 -<!--20120618ysk end-->
135 -<!--20121206ysk start-->
136 - <li><a href="#uscestabs_digitalcheck">ペイデザイン</a></li>
137 -<!--20121206ysk end-->
138 -<!--20130225ysk start-->
139 - <li><a href="#uscestabs_mizuho">みずほファクター</a></li>
140 -<!--20130225ysk end-->
141 -<!--20131220ysk start-->
142 - <li><a href="#uscestabs_anotherlane">アナザーレーン</a></li>
143 -<!--20131220ysk end-->
144 -<!--20140206ysk start-->
145 - <li><a href="#uscestabs_veritrans">ベリトランス</a></li>
146 -<!--20140206ysk end-->
147 -<!--20140725ysk start-->
148 - <li><a href="#uscestabs_paygent">ペイジェント</a></li>
149 -<!--20140725ysk 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' ); ?>
150 54 </ul>
151 -
152 - <div id="uscestabs_zeus">
153 - <div class="settlement_service"><span class="service_title"><?php _e('ZEUS Japanese Settlement', 'usces'); ?></span></a></div>
154 -
155 - <?php if( isset($_POST['acting']) && 'zeus' == $_POST['acting'] ){ ?>
156 - <?php if( '' != $mes ){ ?>
157 - <div class="error_message"><?php echo $mes; ?></div>
158 - <?php }else if( isset($opts['zeus']['activate']) && 'on' == $opts['zeus']['activate'] ){ ?>
159 - <div class="message">十分にテストを行ってから運用してください。</div>
160 - <?php } ?>
161 - <?php } ?>
162 - <form action="" method="post" name="zeus_form" id="zeus_form">
163 - <table class="settle_table">
164 - <tr>
165 - <th>クレジットカード決済</th>
166 - <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>
167 - <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>
168 - <td colspan="2"></td>
169 - </tr>
170 - <tr>
171 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_clid_zeus');"><?php _e('カード決済IPコード', 'usces'); ?></a></th>
172 - <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>
173 - <td colspan="2"><div id="ex_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるクレジットカード決済用のIPコード(半角数字)', 'usces'); ?></div></td>
174 - </tr>
175 - <tr>
176 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_connection_zeus');"><?php _e('接続方式', 'usces'); ?></a></th>
177 - <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>
178 - <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>
179 - <td colspan="2"><div id="ex_connection_zeus" class="explanation"><?php _e('認証接続方法。契約に従って指定する必要があります。', 'usces'); ?></div></td>
180 - </tr>
181 - <tr id="authkey_zeus">
182 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_authkey_zeus');"><?php _e('認証キー', 'usces'); ?></a></th>
183 - <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>
184 - <td colspan="2"><div id="ex_authkey_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるSecure API用認証キー(半角数字)', 'usces'); ?></div></td>
185 - </tr>
186 - <tr>
187 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_3dsecur_zeus');"><?php _e('3Dセキュア(※)', 'usces'); ?></a></th>
188 - <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>
189 - <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>
190 - <td colspan="2"><div id="ex_3dsecur_zeus" class="explanation"><?php _e('3Dセキュアを利用するにはSecure APIを利用した接続が必要です。契約に従って指定する必要があります。', 'usces'); ?></div></td>
191 - </tr>
192 - <tr>
193 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_security_zeus');"><?php _e('セキュリティーコード(※)', 'usces'); ?></a></th>
194 - <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>
195 - <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>
196 - <td colspan="2"><div id="ex_security_zeus" class="explanation"><?php _e('セキュリティーコードの入力を必須とするかどうかを指定します。契約に従って指定する必要があります。', 'usces'); ?></div></td>
197 - </tr>
198 - <tr>
199 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_quickcharge_zeus');">クイックチャージ</a></th>
200 - <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>
201 - <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>
202 - <td colspan="2"><div id="ex_quickcharge_zeus" class="explanation"><?php _e('ログインして一度購入したメンバーは、次の購入時にはカード番号を入力する必要がなくなります。', 'usces'); ?></div></td>
203 - </tr>
204 - <?php if( defined('WCEX_AUTO_DELIVERY') ): ?>
205 - <tr>
206 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_batch_zeus');">バッチ処理</a></th>
207 - <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>
208 - <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>
209 - <td colspan="2"><div id="ex_batch_zeus" class="explanation"><?php _e('ゼウス決済を定期購入でご利用の場合は、「利用する」にしてください。また、クイックチャージも「利用する」にしてください。', 'usces'); ?></div></td>
210 - </tr>
211 - <?php endif; ?>
212 - <tr>
213 - <th>お客様の支払方法</th>
214 - <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>
215 - <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>
216 - <td colspan="2"></td>
217 - </tr>
218 - </table>
219 - <table class="settle_table">
220 - <tr>
221 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_zeus');">入金おまかせサービス</a></th>
222 - <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>
223 - <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>
224 - <td><div id="ex_bank_zeus" class="explanation"><?php _e('銀行振り込み支払いの自動照会機能です。振込みがあった場合、自動的に入金済みになり、入金確認メールが自動送信されます。', 'usces'); ?></div></td>
225 - </tr>
226 - <tr>
227 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_ope_zeus');">稼働環境</a></th>
228 - <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>
229 - <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>
230 - <td><div id="ex_bank_ope_zeus" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
231 - </tr>
232 - <tr>
233 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_clid_zeus');">入金おまかせIPコード</a></th>
234 - <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>
235 - <td><div id="ex_bank_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行される入金おまかせサービス用のIPコード(半角数字)', 'usces'); ?></div></td>
236 - </tr>
237 - <tr>
238 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_testid_zeus');">テストID</a></th>
239 - <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>
240 - <td><div id="ex_bank_testid_zeus" class="explanation"><?php _e('契約時にゼウスから発行される入金おまかせサービス接続テストで必要なテストID(半角数字)', 'usces'); ?></div></td>
241 - </tr>
242 -
243 - </table>
244 - <table class="settle_table">
245 - <tr>
246 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_zeus');">コンビニ決済サービス</a></th>
247 - <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>
248 - <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>
249 - <td colspan="2"></td>
250 - <td><div id="ex_conv_zeus" class="explanation"><?php _e('コンビニ支払いができる決済サービスです。払い込みがあった場合、自動的に入金済みになります。', 'usces'); ?></div></td>
251 - </tr>
252 - <tr>
253 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_ope_zeus');">稼働環境</a></th>
254 - <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>
255 - <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>
256 - <td colspan="2"></td>
257 - <td><div id="ex_conv_ope_zeus" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
258 - </tr>
259 - <tr>
260 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_clid_zeus');">コンビニ決済IPコード</a></th>
261 - <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>
262 - <td><div id="ex_conv_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるコンビニ決済サービス用のIPコード(半角数字)', 'usces'); ?></div></td>
263 - </tr>
264 - <tr>
265 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testid_zeus');">テストID</a></th>
266 - <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>
267 - <td><div id="ex_conv_testid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるコンビニ決済サービス接続テストで必要なテストID(半角数字)', 'usces'); ?></div></td>
268 - </tr>
269 - <tr>
270 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testtype_zeus');">テストタイプ</a></th>
271 - <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>
272 - <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>
273 - <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>
274 - <td><div id="ex_conv_testtype_zeus" class="explanation"><?php _e('テスト環境でのテストタイプを指定します。', 'usces'); ?></div></td>
275 - </tr>
276 - <tr>
277 - <th rowspan="7"><a style="cursor:pointer;" onclick="toggleVisibility('ex_pay_cvs_zeus');">コンビニ種類</a></th>
278 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D001" value="D001"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D001', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D001">セブン-イレブン</label></td>
279 - <td rowspan="7"><div id="ex_pay_cvs_zeus" class="explanation"><?php _e('契約時にご利用のお申込みをいただいたコンビニを選択します。', 'usces'); ?></div></td>
280 - </tr>
281 - <tr>
282 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D002" value="D002"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D002', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D002">ローソン</label></td>
283 - </tr>
284 - <tr>
285 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D030" value="D030"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D030', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D030">ファミリーマート</label></td>
286 - </tr>
287 - <tr>
288 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D040" value="D040"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D040', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D040">サークルKサンクス</label></td>
289 - </tr>
290 - <tr>
291 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D015" value="D015"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D015', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D015">セイコーマート</label></td>
292 - </tr>
293 - <tr>
294 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D050" value="D050"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D050', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D050">ミニストップ</label></td>
295 - </tr>
296 - <tr>
297 - <td><input name="pay_cvs[]" type="checkbox" id="pay_cvs_D060" value="D060"<?php if( isset($opts['zeus']['pay_cvs']) && in_array( 'D060', $opts['zeus']['pay_cvs'] ) ) echo ' checked'; ?> /></td><td colspan="5"><label for="pay_cvs_D060">デイリーヤマザキ</label></td>
298 - </tr>
299 - </table>
300 - <input name="conv_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/cvs.cgi" />
301 - <input name="bank_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/ebank.cgi" />
302 - <input name="card_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure.cgi" />
303 - <input name="card_secureurl" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure/api.cgi" />
304 - <input name="ipaddrs[]" type="hidden" value="210.164.6.67" />
305 - <input name="ipaddrs[]" type="hidden" value="202.221.139.50" />
306 - <input name="acting" type="hidden" value="zeus" />
307 - <input name="usces_option_update" type="submit" class="button" value="ゼウスの設定を更新する" />
308 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
309 - </form>
310 - <div class="settle_exp">
311 - <p><strong><?php _e('ZEUS Japanese Settlement', 'usces'); ?></strong></p>
312 - <a href="http://www.cardservice.co.jp/" target="_blank">ゼウス決済サービスの詳細はこちら 》</a>
313 - <p> </p>
314 - <p>この決済は「埋め込み型」の決済システムです。</p>
315 - <p>「埋め込み型」とは、決済会社のページへは遷移せず、Welcart のページのみで完結する決済システムです。<br />
316 - デザインの統一されたスタイリッシュな決済が可能です。但し、カード番号を扱いますので専用SSLが必須となります。</p>
317 - <p>カード番号はZEUS のシステムに送信されるだけで、Welcart に記録は残しません。</p>
318 - <p> </p>
319 - <p>※ 3Dセキュアとセキュリティーコード </p>
320 - <p>3Dセキュアとおよびセキュリティーコードの利用は、決済サービス契約時に決定します。契約内容に従って指定しないと正常に動作しませんのでご注意ください。<br />
321 - 詳しくは<a href="http://www.cardservice.co.jp/" target="_blank">株式会社ゼウス</a>(代表:03-3498-9030)にお問い合わせください。</p>
322 - <p> </p>
323 - <p><strong>テスト稼動について</strong></p>
324 - <p>入金おまかせ及びコンビニ決済のテストを行なう際は、「稼働環境」で「テスト環境」を選択し、「テストID」の項目にゼウスから発行されるテストIDを入力してください。<br />
325 - また、本稼働の際には、「本番環境」を選択して更新してください。</p>
326 - </div>
327 - </div><!--uscestabs_zeus-->
328 -
329 - <div id="uscestabs_remise">
330 - <div class="settlement_service"><span class="service_title"><?php _e('Remise Japanese Settlement', 'usces'); ?></span></div>
331 -
332 - <?php if( isset($_POST['acting']) && 'remise' == $_POST['acting'] ){ ?>
333 - <?php if( '' != $mes ){ ?>
334 - <div class="error_message"><?php echo $mes; ?></div>
335 - <?php }else if( isset($opts['remise']['activate']) && 'on' == $opts['remise']['activate'] ){ ?>
336 - <div class="message">十分にテストを行ってから運用してください。</div>
337 - <?php } ?>
338 - <?php } ?>
339 - <form action="" method="post" name="remise_form" id="remise_form">
340 - <table class="settle_table">
341 -<!-- <tr>
342 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_plan_remise');"><?php _e('契約プラン', 'usces'); ?></a></th>
343 - <td>
344 - <select name="plan" id="plan_remise">
345 - <option value="0"<?php echo( ( isset($opts['remise']['plan']) && '0' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>-------------------------</option>
346 - <option value="1"<?php echo( ( isset($opts['remise']['plan']) && '1' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>スーパーバリュープラン</option>
347 - <option value="2"<?php echo( ( isset($opts['remise']['plan']) && '2' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>ライトプラン</option>
348 - </select>
349 - </td>
350 - <td><div id="ex_plan_remise" class="explanation"><?php _e('ルミーズと契約したサービスプランを選択してください。<br />契約が変更したい場合はルミーズへお問合せください。', 'usces'); ?></div></td>
351 - </tr>
352 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_SHOPCO_remise');"><?php _e('加盟店コード', 'usces'); ?></a></th>
353 - <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>
354 - <td><div id="ex_SHOPCO_remise" class="explanation"><?php _e('契約時にルミーズから発行される加盟店コード(半角英数)', 'usces'); ?></div></td>
355 - </tr>
356 - <tr>
357 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_HOSTID_remise');"><?php _e('ホスト番号', 'usces'); ?></a></th>
358 - <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>
359 - <td><div id="ex_HOSTID_remise" class="explanation"><?php _e('契約時にルミーズから割り当てられるホスト番号(半角数字)', 'usces'); ?></div></td>
360 - </tr>
361 - </table>
362 - <table class="settle_table">
363 - <tr>
364 - <th>クレジットカード決済</th>
365 - <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>
366 - <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>
367 - <td><div></div></td>
368 - </tr>
369 - <tr>
370 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_remise');">ジョブコード</a></th>
371 -<!-- <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>
372 - <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>
373 - <td><div id="ex_card_jb_remise" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td>
374 - </tr>
375 - <tr>
376 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payquick_remise');">ペイクイック機能</a></th>
377 - <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>
378 - <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>
379 - <td><div id="ex_payquick_remise" class="explanation"><?php _e('Welcart の会員システムを利用している場合、会員に対して2回目以降の決済の際、クレジットカード番号、有効期限、名義人の入力が不要となります。<br />クレジットカード情報はWelcart では保存せず、「ルミーズ」のデータベースにて安全に保管されます。', 'usces'); ?></div></td>
380 - </tr>
381 - <tr>
382 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_howpay_remise');">お客様の支払方法</a></th>
383 - <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>
384 - <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>
385 - <td><div id="ex_howpay_remise" class="explanation"><?php _e('「一括払い」以外をご利用の場合はルミーズ側の設定が必要となります。前もってルミーズにお問合せください。<br >「スーパーバリュープラン」の場合は「一括払いのみ」を選択してください。', 'usces'); ?></div></td>
386 - </tr>
387 - <?php if( defined('WCEX_DLSELLER') ): ?>
388 - <tr>
389 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_remise');">自動継続課金</a></th>
390 - <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>
391 - <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>
392 - <td><div id="ex_continuation_remise" class="explanation"><?php _e('定期的に発生する月会費などの煩わしい課金処理を完全に自動化することができる機能です。<br />詳しくは「ルミーズ」にお問合せください。', 'usces'); ?></div></td>
393 - </tr>
394 - <?php endif; ?>
395 - <tr>
396 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pc_ope_remise');">稼働環境</a></th>
397 - <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>
398 - <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>
399 - <td><div id="ex_card_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
400 - </tr>
401 - <tr>
402 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th>
403 - <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>
404 - <td><div id="ex_send_url_pc_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td>
405 - </tr>
406 - <?php if( defined('WCEX_MOBILE') ): ?>
407 - <tr>
408 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
409 - <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>
410 - <td><div id="ex_send_url_mbl_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td>
411 - </tr>
412 - <?php endif; ?>
413 - </table>
414 - <table class="settle_table">
415 - <tr>
416 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_remise');">コンビニ・電子マネー決済</a></th>
417 - <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>
418 - <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>
419 - <td><div id="ex_conv_remise" class="explanation"><?php _e('コンビニ・電子マネー決済を利用するかどうか', 'usces'); ?></div></td>
420 - </tr>
421 - <tr>
422 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_paydate_remise');"><?php _e('支払期限', 'usces'); ?></a></th>
423 - <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>
424 - <td><div id="ex_paydate_remise" class="explanation"><?php _e('日数を設定します。(半角数字)', 'usces'); ?></div></td>
425 - </tr>
426 - <tr>
427 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_pc_ope_remise');">稼働環境</a></th>
428 - <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>
429 - <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>
430 - <td><div id="ex_conv_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
431 - </tr>
432 - <tr>
433 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th>
434 - <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>
435 - <td><div id="ex_send_url_cvs_pc_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td>
436 - </tr>
437 - <?php if( defined('WCEX_MOBILE') ): ?>
438 - <tr>
439 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
440 - <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>
441 - <td><div id="ex_send_url_cvs_mbl_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td>
442 - </tr>
443 - <?php endif; ?>
444 - </table>
445 - <input name="send_url_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/card/paycard.aspx" />
446 - <input name="send_url_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/card/paycard.aspx" />
447 - <input name="send_url_cvs_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/cvs/paycvs.aspx" />
448 - <input name="send_url_cvs_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/cvs/paycvs.aspx" />
449 - <input name="REMARKS3" type="hidden" value="A0000875" />
450 - <input name="acting" type="hidden" value="remise" />
451 - <input name="usces_option_update" type="submit" class="button" value="ルミーズの設定を更新する" />
452 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
453 - </form>
454 - <div class="settle_exp">
455 - <p><strong><?php _e('Remise Japanese Settlement', 'usces'); ?></strong></p>
456 - <a href="http://www.remise.jp/" target="_blank">ルミーズ決済サービスの詳細はこちら 》</a>
457 - <p> </p>
458 - <p>この決済は「外部リンク型」の決済システムです。</p>
459 - <p>「外部リンク型」とは、決済会社のページへは遷移してカード情報を入力する決済システムです。</p>
460 - <p>「自動継続課金」を利用するには「DL Seller」拡張プラグインのインストールが必要です。</p>
461 - </div>
462 - </div><!--uscestabs_remise-->
463 -
464 -<!--20101018ysk start-->
465 - <div id="uscestabs_jpayment">
466 - <div class="settlement_service"><span class="service_title"><?php _e('J-Payment Japanese Settlement', 'usces'); ?></span></div>
467 -
468 - <?php if( isset($_POST['acting']) && 'jpayment' == $_POST['acting'] ){ ?>
469 - <?php if( '' != $mes ){ ?>
470 - <div class="error_message"><?php echo $mes; ?></div>
471 - <?php }else if( isset($opts['jpayment']['activate']) && 'on' == $opts['jpayment']['activate'] ){ ?>
472 - <div class="message">十分にテストを行ってから運用してください。</div>
473 - <?php } ?>
474 - <?php } ?>
475 - <form action="" method="post" name="jpayment_form" id="jpayment_form">
476 - <table class="settle_table">
477 - <tr>
478 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_aid_jpayment');"><?php _e('店舗ID', 'usces'); ?></a></th>
479 - <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>
480 - <td><div id="ex_aid_jpayment" class="explanation"><?php _e('契約時にJ-Paymentから発行される店舗ID(半角数字)', 'usces'); ?></div></td>
481 - </tr>
482 - </table>
483 - <table class="settle_table">
484 - <tr>
485 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jpayment');">クレジットカード決済</a></th>
486 - <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>
487 - <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>
488 - <td><div id="ex_card_jpayment" class="explanation"><?php _e('クレジットカード決済を利用するかどうか<br />※自動継続課金には対応していません。', 'usces'); ?></div></td>
489 - </tr>
490 - <tr>
491 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_jpayment');">ジョブタイプ</a></th>
492 -<!-- <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>
493 - <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>
494 - <td><div id="ex_card_jb_jpayment" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td>
495 - </tr>
496 - </table>
497 - <table class="settle_table">
498 - <tr>
499 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_jpayment');">コンビニ決済</a></th>
500 - <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>
501 - <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>
502 - <td><div id="ex_conv_jpayment" class="explanation"><?php _e('コンビニ(ペーパーレス)決済を利用するかどうか', 'usces'); ?></div></td>
503 - </tr>
504 - </table>
505 -<!--
506 - <table class="settle_table">
507 - <tr>
508 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_webm_jpayment');">WebMoney決済</a></th>
509 - <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>
510 - <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>
511 - <td><div></div></td><td><div></div></td>
512 - <td><div id="ex_webm_jpayment" class="explanation"><?php _e('電子マネー(WebMoney)決済を利用するかどうか', 'usces'); ?></div></td>
513 - </tr>
514 - </table>
515 - <table class="settle_table">
516 - <tr>
517 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bitc_jpayment');">BitCash決済</a></th>
518 - <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>
519 - <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>
520 - <td><div id="ex_bitc_jpayment" class="explanation"><?php _e('電子マネー(BitCash)決済を利用するかどうか', 'usces'); ?></div></td>
521 - </tr>
522 - </table>
523 - <table class="settle_table">
524 - <tr>
525 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_suica_jpayment');">モバイルSuica決済</a></th>
526 - <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>
527 - <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>
528 - <td><div id="ex_suica_jpayment" class="explanation"><?php _e('電子マネー(モバイルSuica)決済を利用するかどうか', 'usces'); ?></div></td>
529 - </tr>
530 - </table>
531 - <table class="settle_table">
532 - <tr>
533 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_jpayment');">バンクチェック決済</a></th>
534 - <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>
535 - <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>
536 - <td><div id="ex_bank_jpayment" class="explanation"><?php _e('バンクチェック決済を利用するかどうか', 'usces'); ?></div></td>
537 - </tr>
538 - </table>
539 - <input name="send_url" type="hidden" value="https://credit.j-payment.co.jp/gateway/payform.aspx" />
540 - <input name="acting" type="hidden" value="jpayment" />
541 - <input name="usces_option_update" type="submit" class="button" value="J-Paymentの設定を更新する" />
542 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
543 - </form>
544 - <div class="settle_exp">
545 - <p><strong><?php _e('J-Payment Japanese Settlement', 'usces'); ?></strong></p>
546 - <a href="http://www.j-payment.co.jp/" target="_blank">J-Payment決済サービスの詳細はこちら 》</a>
547 - <p> </p>
548 - <p>この決済は「外部リンク型」の決済システムです。</p>
549 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
550 - </div>
551 - </div><!--uscestabs_jpayment-->
552 -<!--20101018ysk end-->
553 -<!--20110208ysk start-->
554 - <div id="uscestabs_paypal_ec">
555 - <div class="settlement_service"><span class="service_title"><?php _e('PayPal Express Checkout', 'usces'); ?></span></div>
556 -
557 - <?php if( isset($_POST['acting']) && 'paypal' == $_POST['acting'] ){ ?>
558 - <?php if( '' != $mes ){ ?>
559 - <div class="error_message"><?php echo $mes; ?></div>
560 - <?php }else if( isset($opts['paypal']['activate']) && 'on' == $opts['paypal']['activate'] ){ ?>
561 - <div class="message"><?php _e('Test thoroughly before use.', 'usces'); ?></div>
562 - <?php } ?>
563 - <?php } ?>
564 - <form action="" method="post" name="paypal_form" id="paypal_form">
565 - <table class="settle_table">
566 - <tr>
567 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ec_activate_paypal');"><?php _e('PayPal<br />Express Checkout', 'usces'); ?></a></th>
568 - <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>
569 - <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>
570 - <td><div id="ex_ec_activate_paypal" class="explanation"><?php _e('Choose if to use PayPal Express Checkout.', 'usces'); ?></div></td>
571 - </tr>
572 - <tr>
573 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sandbox_paypal');"><?php _e('Operation Environment', 'usces'); ?></a></th>
574 - <td><input name="sandbox" class="ec_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>
575 - <td><input name="sandbox" class="ec_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>
576 - <td><div id="ex_sandbox_paypal" class="explanation"><?php _e("Choose 'Test (Sandbox)' when testing payment settlement by Sandbox.", 'usces'); ?></div></td>
577 - </tr>
578 - <tr>
579 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_user_paypal');"><?php _e('API User Name', 'usces'); ?></a></th>
580 - <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>
581 - <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>
582 - </tr>
583 - <tr>
584 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_pwd_paypal');"><?php _e('API Password', 'usces'); ?></a></th>
585 - <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>
586 - <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>
587 - </tr>
588 - <tr>
589 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_signature_paypal');"><?php _e('Signature', 'usces'); ?></a></th>
590 - <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" /><span id="get_paypal_signature"></span></td>
591 - <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>
592 - </tr>
593 - <tr>
594 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_paypal_acount');"><?php _e('PayPal Acount Email address', 'usces'); ?></a></th>
595 - <td colspan="4"><input name="paypal_acount" type="text" id="acount_paypal" value="<?php echo esc_html(isset($opts['paypal']['paypal_acount']) ? $opts['paypal']['paypal_acount'] : ''); ?>" size="50" /></td>
596 - <td><div id="ex_paypal_acount" class="explanation"><?php _e('PayPalアカウントに関連付けられているメールアドレス。', 'usces'); ?></div></td>
597 - </tr>
598 -<!--20110412ysk start-->
599 - <?php if( defined('WCEX_DLSELLER') ): ?>
600 - <tr>
601 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_paypal');"><?php _e('Recurring Payment', 'usces'); ?></a></th>
602 - <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>
603 - <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>
604 - <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>
605 - </tr>
606 - <?php endif; ?>
607 -<!--20110412ysk end-->
608 - </table>
609 - <table class="settle_table">
610 - <tr>
611 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_logoimg');"><?php _e('URL for the image of the payment page', 'usces'); ?></a></th>
612 - <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>
613 - <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>
614 - </tr>
615 - <tr>
616 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_cartbordercolor');"><?php _e('The background color for the payment page', 'usces'); ?></a></th>
617 - <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>
618 - <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>
619 - <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>
620 - </tr>
621 - <tr id="cartbordercolor">
622 - <th><?php _e('The background color for the payment page', 'usces'); ?></th>
623 - <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>
624 - <td></td>
625 - </tr>
626 - </table>
627 - <input name="acting" type="hidden" value="paypal" />
628 - <input name="usces_option_update" id="paypal_ec" type="submit" class="button" value="<?php _e('Update PayPal Express Checkout settings', 'usces'); ?>" />
629 - <input name="agree_paypal_ec" id="agree_paypal_ec" type="checkbox" value="agree"<?php if( isset($opts['paypal']['agree']) && 'agree' == $opts['paypal']['agree'] ) echo ' checked="checked"'; ?> /><label for="agree_paypal_ec">下記ご利用条件に同意する</label>
630 - <p class="agree_paypal_exp">お申込みの際に送信いただいたお客様の情報は、提携会社であるPayPal Pte. Ltd.に提供され、同社のサービス評価、改善、向上およびマーケティング目的のため使用されること、また、同社からお客様に対してマーケティング及びキャンペーンの目的のご案内(Eメール等の送信を含みます)が行われる場合があることにご同意頂きます。</p>
631 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
632 - </form>
633 - <div class="settle_exp">
634 - <p><strong><?php _e('PayPal Express Checkout', 'usces'); ?></strong></p>
635 - <a href="http://www.welcart.com/wc-settlement/paypal_guide/" target="_blank"><?php _e('For the details on PayPal Express Checkout, click here >>', 'usces'); ?></a>
636 - <p>PayPalエクスプレスチェックアウト決済サービスの利用には、ペイパルビジネスアカウントが必要です。ビジネスアカウントの開設は<a href="https://www.paypal.com/jp/cgi-bin/webscr?cmd=_registration-run" target="_blank">こちら</a>から行えます。</p>
637 - <p>ビジネスアカウントの開設手順は<a href="https://www.paypal.jp/jp/contents/start/account-business/" target="_blank">こちら</a>をご覧ください。</p>
638 - <p><a href="https://www.paypal.jp/jp/contents/support/faq/faq-008/" target="_blank">ビジネスアカウントの本人確認書類の提出について</a></p>
639 - <p><a href="http://www.welcart.com/documents/manual-2/%E3%82%AF%E3%83%AC%E3%82%B8%E3%83%83%E3%83%88%E6%B1%BA%E6%B8%88%E8%A8%AD%E5%AE%9A#paypal_ec" target="_blank">オンラインマニュアル</a></p>
640 - <p><?php _e("If the 'OpenSSL' module is not installed in the server you're using, you cannot settle payments by 'ExpressCheckout'.", 'usces'); ?></p>
641 - <p>問い合わせ先<br />
642 -新規お申込み・導入に関するお問い合わせ(営業窓口)<br />
643 -Tel:03-6739-7135 平日 9:30 - 18:00(土・日・祝祭日は除く)※通話料がかかります<br />
644 -E-mail:wpp@paypal.com</p>
645 -<p>すでにペイパルアカウントをお持ちの方(カスタマーサービス)<br />
646 -Tel:0120-271-888 または 03-6739-7360(携帯電話と海外からはこちら ※通話料がかかります)<br />
647 -9:00~20:00(年中無休)</p>
648 - </div>
649 - </div><!--uscestabs_paypal_ec-->
650 -<!--20110208ysk end-->
651 -<!--20140908ysk start-->
652 - <div id="uscestabs_paypal_wpp">
653 - <div class="settlement_service"><span class="service_title"><?php _e('PayPal Web Payment Plus', 'usces'); ?></span></div>
654 - <?php if( isset($_POST['acting']) && 'paypal_wpp' == $_POST['acting'] ) : ?>
655 - <?php if( '' != $mes ) : ?>
656 - <div class="error_message"><?php echo $mes; ?></div>
657 - <?php elseif( isset($opts['paypal_wpp']['activate']) && 'on' == $opts['paypal_wpp']['activate'] ) : ?>
658 - <div class="message"><?php _e('Test thoroughly before use.', 'usces'); ?></div>
55 + <div id="uscestabs_settlement_top">
56 + <form action="" method="post" id="settlement_top_form">
57 + <div class="settlement-left">
58 + <h2><?php esc_html_e( 'Available settlement modules', 'usces' ); ?></h2>
59 + <div class="settlement-description">
60 + <p class="description"><?php _e( 'Drag the settlement module you want to use to the right. <br />After dragging it, be sure to click the "Update the modules to use" button.', 'usces' ); ?></p>
61 + </div>
62 + <ul class="settlement-ui-sortable" id="available-settlement">
63 + <?php foreach ( (array) $available_settlement as $key => $name ) : ?>
64 + <?php if ( ! in_array( $key, (array) $settlement_selected, true ) ) : ?>
65 + <?php
66 + if ( 'paypal_cp' === $key ) {
67 + $name = __( 'PayPal Commerce Platform', 'usces' );
68 + }
69 + ?>
70 + <li class="ui-available-settlement" id="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $name ); ?></li>
71 + <?php endif; ?>
72 + <?php endforeach; ?>
73 + </ul>
74 + </div>
75 + <div class="settlement-right">
76 + <div class="settlement-selected-header"><?php esc_html_e( 'Settlement modules in use', 'usces' ); ?></div>
77 + <ul class="settlement-ui-sortable" id="settlement-selected">
78 + <?php if ( is_array( $settlement_selected ) ) : ?>
79 + <?php foreach ( (array) $settlement_selected as $key ) : ?>
80 + <?php if ( array_key_exists( $key, (array) $available_settlement ) ) : ?>
81 + <li class="ui-settlement-selected" id="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $available_settlement[ $key ] ); ?></li>
82 + <?php endif; ?>
83 + <?php endforeach; ?>
659 84 <?php endif; ?>
660 - <?php endif; ?>
661 - <form action="" method="post" name="paypal_wpp_form" id="paypal_wpp_form">
662 - <table class="settle_table">
663 - <tr>
664 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_wpp_activate_paypal');"><?php _e('PayPal<br />Web Payment Plus', 'usces'); ?></a></th>
665 - <td><input name="wpp_activate" type="radio" id="wpp_activate_paypal_1" value="on"<?php if( isset($opts['paypal_wpp']['wpp_activate']) && $opts['paypal_wpp']['wpp_activate'] == 'on' ) echo ' checked'; ?> /></td><td><label for="wpp_activate_paypal_1"><?php _e('Use', 'usces'); ?></label></td>
666 - <td><input name="wpp_activate" type="radio" id="wpp_activate_paypal_2" value="off"<?php if( isset($opts['paypal_wpp']['wpp_activate']) && $opts['paypal_wpp']['wpp_activate'] == 'off' ) echo ' checked'; ?> /></td><td><label for="wpp_activate_paypal_2"><?php _e('Do not Use', 'usces'); ?></label></td>
667 - <td><div id="ex_wpp_activate_paypal" class="explanation"><?php _e('Choose if to use PayPal Web Payment Plus.', 'usces'); ?></div></td>
668 - </tr>
669 - <tr>
670 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sandbox_paypal_wpp');"><?php _e('Operation Environment', 'usces'); ?></a></th>
671 - <td><input name="sandbox" class="wp_sandbox" type="radio" id="sandbox_paypal_wpp_1" value="1"<?php if( isset($opts['paypal_wpp']['sandbox']) && $opts['paypal_wpp']['sandbox'] == 1 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_wpp_1"><?php _e('Test (Sandbox)', 'usces'); ?></label></td>
672 - <td><input name="sandbox" class="wp_sandbox" type="radio" id="sandbox_paypal_wpp_2" value="2"<?php if( isset($opts['paypal_wpp']['sandbox']) && $opts['paypal_wpp']['sandbox'] == 2 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_wpp_2"><?php _e('Formal Installment', 'usces'); ?></label></td>
673 - <td><div id="ex_sandbox_paypal_wpp" class="explanation"><?php _e("Choose 'Test (Sandbox)' when testing payment settlement by Sandbox.", 'usces'); ?></div></td>
674 - </tr>
675 - <tr>
676 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_id_paypal_wpp');"><?php _e('PayPal Acount Email address', 'usces'); ?></a></th>
677 - <td colspan="4"><input name="paypal_id" type="text" id="id_paypal_wpp" value="<?php echo esc_html(isset($opts['paypal_wpp']['paypal_id']) ? $opts['paypal_wpp']['paypal_id'] : ''); ?>" size="50" /></td>
678 - <td><div id="ex_id_paypal_wpp" class="explanation"><?php _e('PayPalアカウントに関連付けられているメールアドレス。', 'usces'); ?></div></td>
679 - </tr>
680 - </table>
681 - <input name="acting" type="hidden" value="paypal_wpp" />
682 - <input name="usces_option_update" id="paypal_wpp" type="submit" class="button" value="<?php _e('Update PayPal Web Payment Plus settings', 'usces'); ?>" />
683 - <input name="agree_paypal_wpp" id="agree_paypal_wpp" type="checkbox" value="agree"<?php if( isset($opts['paypal_wpp']['agree']) && 'agree' == $opts['paypal_wpp']['agree'] ) echo ' checked="checked"'; ?> /><label for="agree_paypal_wpp">下記ご利用条件に同意する</label>
684 - <p class="agree_paypal_exp">お申込みの際に送信いただいたお客様の情報は、提携会社であるPayPal Pte. Ltd.に提供され、同社のサービス評価、改善、向上およびマーケティング目的のため使用されること、また、同社からお客様に対してマーケティング及びキャンペーンの目的のご案内(Eメール等の送信を含みます)が行われる場合があることにご同意頂きます。</p>
685 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
686 - </form>
687 - <div class="settle_exp">
688 - <p><strong><?php _e('PayPal Web Payment Plus', 'usces'); ?></strong></p>
689 - <a href="https://www.paypal.jp/jp/contents/service/web-payment-plus/" target="_blank"><?php _e('For the details on PayPal Web Payment Plus, click here >>', 'usces'); ?></a>
690 - <p>PayPalウェブペイメントプラス決済サービスの利用には、ペイパルビジネスアカウントが必要です。ビジネスアカウントの開設は<a href="https://www.paypal.com/jp/cgi-bin/webscr?cmd=_registration-run" target="_blank">こちら</a></p>
691 - <p>ビジネスアカウントの開設手順は<a href="https://www.paypal.jp/jp/contents/start/account-business/" target="_blank">こちら</a>をご覧ください。</p>
692 - <p><a href="https://www.paypal.jp/jp/contents/support/faq/faq-008/" target="_blank">ビジネスアカウントの本人確認書類の提出について</a></p>
693 - <p>ウェブペイメントプラスのご利用には審査が必要です。審査については<a href="https://www.paypal.jp/jp/contents/support/introduction/web-payment-plus/" target="_blank">こちら</a></p>
694 - <p><a href="http://www.welcart.com/documents/manual-2/%E3%82%AF%E3%83%AC%E3%82%B8%E3%83%83%E3%83%88%E6%B1%BA%E6%B8%88%E8%A8%AD%E5%AE%9A#paypal_wpp" target="_blank">オンラインマニュアル</a></p>
695 - <p>問い合わせ先<br />
696 -新規お申込み・導入に関するお問い合わせ(営業窓口)<br />
697 -Tel:03-6739-7135 平日 9:30 - 18:00(土・日・祝祭日は除く)※通話料がかかります<br />
698 -E-mail:wpp@paypal.com</p>
699 -<p>すでにペイパルアカウントをお持ちの方(カスタマーサービス)<br />
700 -Tel:0120-271-888 または 03-6739-7360(携帯電話と海外からはこちら ※通話料がかかります)<br />
701 -9:00~20:00(年中無休)</p>
702 - </div>
703 - </div><!--uscestabs_paypal_wpp-->
704 -<!--20140908ysk end-->
705 -<!--20120413ysk start-->
706 - <div id="uscestabs_sbps">
707 - <div class="settlement_service"><span class="service_title">ソフトバンク・ペイメント・サービス</span></div>
708 -
709 - <?php if( isset($_POST['acting']) && 'sbps' == $_POST['acting'] ){ ?>
710 - <?php if( '' != $mes ){ ?>
711 - <div class="error_message"><?php echo $mes; ?></div>
712 - <?php }else if( isset($opts['sbps']['activate']) && 'on' == $opts['sbps']['activate'] ){ ?>
713 - <div class="message">十分にテストを行ってから運用してください。</div>
714 - <?php } ?>
715 - <?php } ?>
716 - <form action="" method="post" name="sbps_form" id="sbps_form">
717 - <table class="settle_table">
718 - <tr>
719 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchant_id_sbps');">マーチャントID</a></th>
720 - <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>
721 - <td><div id="ex_merchant_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるマーチャントID(半角数字)', 'usces'); ?></div></td>
722 - </tr>
723 - <tr>
724 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_service_id_sbps');">サービスID</a></th>
725 - <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>
726 - <td><div id="ex_service_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるサービスID(半角数字)', 'usces'); ?></div></td>
727 - </tr>
728 - <tr>
729 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_key_sbps');">Hash KEY</a></th>
730 - <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>
731 - <td><div id="ex_hash_key_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行される Hash KEY(半角英数)', 'usces'); ?></div></td>
732 - </tr>
733 - <tr>
734 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_sbps');"><?php _e('Operation Environment', 'usces'); ?></a></th>
735 - <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>
736 - <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>
737 - <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>
738 - <td><div id="ex_ope_sbps" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
739 - </tr>
740 -<!--
741 - <tr>
742 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_sbps');"><?php _e('本番URL', 'usces'); ?></a></th>
743 - <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>
744 - <td><div id="ex_send_url_sbps" class="explanation"><?php _e('本番環境で接続するURLを設定します。「購入要求(画面遷移要求)」に示されるURLを入力してください。', 'usces'); ?></div></td>
745 - </tr>
746 - <table class="settle_table">
747 - <tr>
748 - <th>クレジットカード決済</th>
749 - <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>
750 - <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>
751 - <td></td>
752 - </tr>
753 - <tr>
754 - <th>3Dセキュア</th>
755 - <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>
756 - <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>
757 - <td></td>
758 - </tr>
759 - <?php if( defined('WCEX_DLSELLER') ): ?>
760 -<!-- <tr>
761 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_sbps');">簡易継続課金</a></th>
762 - <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>
763 - <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>
764 - <td><div id="ex_continuation_sbps" class="explanation"><?php _e('定期的に発生する月会費などの煩わしい課金処理を完全に自動化することができる機能です。<br />詳しくはソフトバンク・ペイメント・サービスにお問合せください。', 'usces'); ?></div></td>
765 - </tr>
766 - </table>
767 - <table class="settle_table">
768 - <tr>
769 - <th>WEBコンビニ決済</th>
770 - <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>
771 - <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>
772 - <td></td>
773 - </tr>
774 - </table>
775 - <table class="settle_table">
776 - <tr>
777 - <th>Pay-easy(ペイジー)決済</th>
778 - <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>
779 - <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>
780 - <td></td>
781 - </tr>
782 - </table>
783 - <table class="settle_table">
784 - <tr>
785 - <th>Yahoo!ウォレット決済</th>
786 - <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>
787 - <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>
788 - <td></td>
789 - </tr>
790 - <tr>
791 - <th>楽天あんしん決済</th>
792 - <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>
793 - <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>
794 - <td></td>
795 - </tr>
796 - <tr>
797 - <th>PayPal</th>
798 - <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>
799 - <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>
800 - <td></td>
801 - </tr>
802 - <tr>
803 - <th>ネットマイル</th>
804 - <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>
805 - <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>
806 - <td></td>
807 - </tr>
808 - <tr>
809 - <th>Alipay国際決済</th>
810 - <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>
811 - <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>
812 - <td></td>
813 - </tr>
814 - </table>
815 - <table class="settle_table">
816 - <tr>
817 - <th>ドコモ ケータイ払い</th>
818 - <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>
819 - <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>
820 - <td></td>
821 - </tr>
822 - <tr>
823 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_softbank_sbps');">S!まとめて支払い</a></th>
824 - <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>
825 - <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>
826 - <td><div id="ex_mobile_softbank_sbps" class="explanation">Softbank携帯端末(3G対応携帯端末)にて決済を行うサービスです。</div></td>
827 - </tr>
828 - <tr>
829 - <th>auかんたん決済</th>
830 - <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>
831 - <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>
832 - <td></td>
833 - </tr>
834 - <tr>
835 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_mysoftbank_sbps');">ソフトバンク<br />まとめて支払い(A)</a></th>
836 - <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>
837 - <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>
838 - <td><div id="ex_mobile_mysoftbank_sbps" class="explanation">スマートフォン専用のデジタルコンテンツの決済に利用できるサービスです。物販では利用不可となります。</div></td>
839 - </tr>
840 - <tr>
841 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_softbank2_sbps');">ソフトバンク<br />まとめて支払い(B)</a></th>
842 - <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>
843 - <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>
844 - <td><div id="ex_mobile_softbank2_sbps" class="explanation">物販サイト等で購入した商品の代金の支払いに利用できる決済手段です。</div></td>
845 - </tr>
846 - </table>
847 - <input name="send_url_check" type="hidden" value="https://stbfep.sps-system.com/Extra/BuyRequestAction.do" />
848 - <input name="send_url_test" type="hidden" value="https://stbfep.sps-system.com/f01/FepBuyInfoReceive.do" />
849 - <input name="acting" type="hidden" value="sbps" />
850 - <input name="usces_option_update" type="submit" class="button" value="ソフトバンク・ペイメントの設定を更新する" />
851 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
852 - </form>
853 - <div class="settle_exp">
854 - <p><strong>ソフトバンク・ペイメント・サービス</strong></p>
855 - <a href="http://www.welcart.com/wc-settlement/sbps_guide/" target="_blank">ソフトバンク・ペイメント・サービスの詳細はこちら 》</a>
856 - <p> </p>
857 - <p>この決済は「外部リンク型」の決済システムです。</p>
858 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
859 - <!--<p>「簡易継続課金」を利用するには「DL Seller」拡張プラグインのインストールが必要です。</p>-->
860 - <p>尚、本番環境では、正規SSL証明書のみでのSSL通信となりますのでご注意ください。</p>
861 - </div>
862 - </div><!--uscestabs_sbps-->
863 -<!--20120413ysk end-->
864 -<!--20120618ysk start-->
865 - <div id="uscestabs_telecom">
866 - <div class="settlement_service"><span class="service_title">テレコムクレジット</span></div>
867 - <?php if( isset($_POST['acting']) && 'telecom' == $_POST['acting'] ){ ?>
868 - <?php if( '' != $mes ){ ?>
869 - <div class="error_message"><?php echo $mes; ?></div>
870 - <?php }else if( isset($opts['telecom']['activate']) && 'on' == $opts['telecom']['activate'] ){ ?>
871 - <div class="message">十分にテストを行ってから運用してください。</div>
872 - <?php } ?>
873 - <?php } ?>
874 - <form action="" method="post" name="telecom_form" id="telecom_form">
875 - <table class="settle_table">
876 - <tr>
877 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_clientip_telecom');">クライアントIP</a></th>
878 - <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>
879 - <td><div id="ex_clientip_telecom" class="explanation"><?php _e('契約時にテレコムクレジットから発行されるクライアントIP(半角数字)', 'usces'); ?></div></td>
880 - </tr>
881 - <tr>
882 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_stype_telecom');">決済タイプ</a></th>
883 - <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>
884 - <td><div id="ex_stype_telecom" class="explanation"><?php _e('設定依頼書に記載されている決済タイプ。', 'usces'); ?></div></td>
885 - </tr>
886 - </table>
887 - <table class="settle_table">
888 - <tr>
889 - <th>クレジットカード決済</th>
890 - <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>
891 - <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>
892 - <td></td>
893 - </tr>
894 - <tr>
895 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_oneclick_telecom');">スピード決済</a></th>
896 - <td><input name="oneclick" type="radio" id="oneclick_telecom_1" value="on"<?php if( isset($opts['telecom']['oneclick']) && $opts['telecom']['oneclick'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="oneclick_telecom_1">利用する</label></td>
897 - <td><input name="oneclick" type="radio" id="oneclick_telecom_2" value="off"<?php if( isset($opts['telecom']['oneclick']) && $opts['telecom']['oneclick'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="oneclick_telecom_2">利用しない</label></td>
898 - <td><div id="ex_oneclick_telecom" class="explanation"><?php _e('2回目以降の利用はカード番号を入力しなくても決済可能となります。', 'usces'); ?></div></td>
899 - </tr>
900 - </table>
901 -<!--
902 - <table class="settle_table">
903 - <tr>
904 - <th>Edy決済</th>
905 - <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>
906 - <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>
907 - <td></td>
908 - </tr>
909 - </table>
910 - <input name="acting" type="hidden" value="telecom" />
911 - <input name="usces_option_update" type="submit" class="button" value="テレコムクレジットの設定を更新する" />
912 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
913 - </form>
914 - <div class="settle_exp">
915 - <p><strong>テレコムクレジット</strong></p>
916 - <a href="http://www.telecomcredit.co.jp/" target="_blank">テレコムクレジットの詳細はこちら 》</a>
917 - <p> </p>
918 - <p>この決済は「外部リンク型」の決済システムです。</p>
919 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
920 - </div>
921 - </div><!--uscestabs_telecom-->
922 -<!--20120618ysk end-->
923 -
924 -<!--20121206ysk start-->
925 - <div id="uscestabs_digitalcheck">
926 - <div class="settlement_service"><span class="service_title">ペイデザイン</span></div>
927 - <?php if( isset($_POST['acting']) && 'digitalcheck' == $_POST['acting'] ){ ?>
928 - <?php if( '' != $mes ){ ?>
929 - <div class="error_message"><?php echo $mes; ?></div>
930 - <?php }else if( isset($opts['digitalcheck']['activate']) && 'on' == $opts['digitalcheck']['activate'] ){ ?>
931 - <div class="message">十分にテストを行ってから運用してください。</div>
932 - <?php } ?>
933 - <?php } ?>
934 - <form action="" method="post" name="digitalcheck_form" id="digitalcheck_form">
935 - <table class="settle_table">
936 - <tr>
937 - <th>クレジットカード決済</th>
938 - <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>
939 - <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>
940 - <td></td>
941 - </tr>
942 - <tr>
943 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_ip_digitalcheck');">加盟店コード</a></th>
944 - <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>
945 - <td><div id="ex_card_ip_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店コード(半角英数字)。', 'usces'); ?></div></td>
946 - </tr>
947 - <tr>
948 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pass_digitalcheck');">加盟店パスワード</a></th>
949 - <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>
950 - <td><div id="ex_card_pass_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店パスワード(半角英数字)。<br />ユーザID決済をご利用の場合は、必須となります。', 'usces'); ?></div></td>
951 - </tr>
952 - <tr>
953 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_kakutei');">決済自動確定</a></th>
954 - <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>
955 - <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>
956 - <td><div id="ex_card_kakutei" class="explanation"><?php _e('注文の際にクレジットの与信のみを行ないます。<br />実際の売上として計上するには確定処理が必要となります。省略時は「売上確定(確定まで同時に行う)」です。', 'usces'); ?></div></td>
957 - </tr>
958 - <tr>
959 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_user_id');">ユーザID決済</a></th>
960 - <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>
961 - <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>
962 - <td><div id="ex_card_user_id" class="explanation"><?php _e('過去にクレジットカードでのお取引があるユーザは、次回からカード情報の入力を省略することが可能となります。', 'usces'); ?></div></td>
963 - </tr>
964 - </table>
965 - <table class="settle_table">
966 - <tr>
967 - <th>コンビニ決済</th>
968 - <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>
969 - <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>
970 - <td></td>
971 - </tr>
972 - <tr>
973 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_ip_digitalcheck');">加盟店コード</a></th>
974 - <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>
975 - <td><div id="ex_conv_ip_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店コード(半角英数字)', 'usces'); ?></div></td>
976 - </tr>
977 - <tr>
978 - <th rowspan="4"><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_store_digitalcheck');">利用コンビニ</a></th>
979 - <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>
980 - <td rowspan="4"><div id="ex_conv_store_digitalcheck" class="explanation"><?php _e('収納先のコンビニを選択します。コンビニ毎の審査が必要となり、審査通過後にご利用可能となります。', 'usces'); ?></div></td>
981 - </tr>
982 - <tr>
983 - <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>
984 - </tr>
985 - <tr>
986 - <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>
987 - </tr>
988 - <tr>
989 - <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>
990 - </tr>
991 - <tr>
992 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_kigen_digitalcheck');">支払期限</a></th>
993 - <td colspan="4">
994 -<?php
995 - $selected = array_fill( 1, 30, '' );
996 - if( isset($opts['digitalcheck']['conv_kigen']) ) {
997 - $selected[$opts['digitalcheck']['conv_kigen']] = ' selected';
998 - } else {
999 - $selected[14] = ' selected';
1000 - }
1001 -?>
1002 - <select name="conv_kigen" id="conv_kigen">
1003 - <?php for( $i = 1; $i <= 30; $i++ ): ?>
1004 - <option value="<?php echo esc_html($i); ?>"<?php echo esc_html($selected[$i]); ?>><?php echo esc_html($i); ?></option>
1005 - <?php endfor; ?>
1006 - </select>(日数)</td>
1007 - <td><div id="ex_conv_kigen_digitalcheck" class="explanation"><?php _e('コンビニ店頭でお支払いいただける期限となります。', 'usces'); ?></div></td>
1008 - </tr>
1009 - </table>
1010 - <input name="acting" type="hidden" value="digitalcheck" />
1011 - <input name="usces_option_update" type="submit" class="button" value="ペイデザインの設定を更新する" />
1012 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1013 - </form>
1014 - <div class="settle_exp">
1015 - <p><strong>ペイデザイン株式会社</strong></p>
1016 - <a href="http://www.paydesign.co.jp/" target="_blank">ペイデザインの詳細はこちら 》</a>
1017 - <p> </p>
1018 - <p>この決済は「外部リンク型」の決済システムです。</p>
1019 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1020 - </div>
1021 - </div><!--uscestabs_digitalcheck-->
1022 -<!--20121206ysk end-->
1023 -
1024 -<!--20130225ysk start-->
1025 - <div id="uscestabs_mizuho">
1026 - <div class="settlement_service"><span class="service_title">みずほファクター</span></div>
1027 - <?php if( isset($_POST['acting']) && 'mizuho' == $_POST['acting'] ) : ?>
1028 - <?php if( '' != $mes ) : ?>
1029 - <div class="error_message"><?php echo $mes; ?></div>
1030 - <?php elseif( isset($opts['mizuho']['activate']) && 'on' == $opts['mizuho']['activate'] ) : ?>
1031 - <div class="message">十分にテストを行ってから運用してください。</div>
1032 - <?php endif; ?>
1033 - <?php endif; ?>
1034 - <form action="" method="post" name="mizuho_form" id="mizuho_form">
1035 - <table class="settle_table">
1036 - <tr>
1037 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_shopid_mizuho');">加盟店コード</a></th>
1038 - <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>
1039 - <td><div id="ex_shopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店コード(半角数字6桁)。', 'usces'); ?></div></td>
1040 - </tr>
1041 - <tr>
1042 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_cshopid_mizuho');">加盟店サブコード</a></th>
1043 - <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>
1044 - <td><div id="ex_cshopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店サブコード(半角数字5桁)。', 'usces'); ?></div></td>
1045 - </tr>
1046 - <tr>
1047 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_pass_mizuho');">ハッシュ用パスワード</a></th>
1048 - <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>
1049 - <td><div id="ex_hash_pass_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行されるハッシュ用パスワード(半角英数字)。', 'usces'); ?></div></td>
1050 - </tr>
1051 - <tr>
1052 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_mizuho');"><?php _e('Operation Environment', 'usces'); ?></a></th>
1053 - <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>
1054 - <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>
1055 - <td><div id="ex_ope_mizuho" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
1056 - </tr>
1057 - <tr>
1058 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mizuho');"><?php _e('本番URL', 'usces'); ?></a></th>
1059 - <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>
1060 - <td><div id="ex_send_url_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続先URL(画面連携型)PC」に示されるURLを入力してください。', 'usces'); ?></div></td>
1061 - </tr>
1062 - <?php if( defined('WCEX_MOBILE') ): ?>
1063 - <tr>
1064 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_mizuho');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
1065 - <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>
1066 - <td><div id="ex_send_url_mbl_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続先URL(画面連携型)MB」に示されるURLを入力してください。', 'usces'); ?></div></td>
1067 - </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; ?>
1068 90 <?php endif; ?>
1069 - </table>
1070 - <table class="settle_table">
1071 - <tr>
1072 - <th>クレジットカード決済</th>
1073 - <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>
1074 - <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>
1075 - <td></td>
1076 - </tr>
1077 - </table>
1078 -<!--
1079 - <table class="settle_table">
1080 - <tr>
1081 - <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv1_activate');">ウェルネット決済</a></th>
1082 - <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>
1083 - <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>
1084 - <td><div id="ex_conv1_activate" class="explanation">ローソン、ファミリーマート、サークルK サンクス、ミニストップ、デイリーヤマザキ、スリーエフでのご利用が可能です。</div></td>
1085 - </tr>
1086 - <tr>
1087 - <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv2_activate');">セブンイレブン決済</a></th>
1088 - <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>
1089 - <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>
1090 - <td><div id="ex_conv2_activate" class="explanation">セブンイレブンでのご利用が可能です。</div></td>
1091 - </tr>
1092 - </table>
1093 - <input name="acting" type="hidden" value="mizuho" />
1094 - <input name="usces_option_update" type="submit" class="button" value="みずほファクターの設定を更新する" />
1095 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
91 + <div class="settlement-selected-footer">
92 + <input name="acting" type="hidden" value="settlement_selected" />
93 + <input name="settlement_selected" id="settlement-selected-update" type="hidden" value="<?php echo esc_attr( implode( ',', (array) $settlement_selected ) ); ?>" />
94 + <input name="usces_option_update" type="submit" class="button button-primary" value="<?php esc_attr_e( 'Update the modules to use', 'usces' ); ?>" />
95 + <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
96 + </div>
97 + </div>
98 + <div class="clear"></div>
1096 99 </form>
1097 - <div class="settle_exp">
1098 - <p><strong>みずほファクター</strong></p>
1099 - <a href="http://www.mizuho-factor.co.jp/" target="_blank">みずほファクターの詳細はこちら 》</a>
1100 - <p> </p>
1101 - <p>この決済は「外部リンク型」の決済システムです。</p>
1102 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1103 - </div>
1104 - </div><!--uscestabs_mizuho-->
1105 -<!--20130225ysk end-->
1106 -
1107 -<!--20131220ysk start-->
1108 - <div id="uscestabs_anotherlane">
1109 - <div class="settlement_service"><span class="service_title">アナザーレーン</span></div>
1110 - <?php if( isset($_POST['acting']) && 'anotherlane' == $_POST['acting'] ) : ?>
1111 - <?php if( '' != $mes ) : ?>
1112 - <div class="error_message"><?php echo $mes; ?></div>
1113 - <?php elseif( isset($opts['anotherlane']['activate']) && 'on' == $opts['anotherlane']['activate'] ) : ?>
1114 - <div class="message">十分にテストを行ってから運用してください。</div>
1115 - <?php endif; ?>
1116 - <?php endif; ?>
1117 - <form action="" method="post" name="anotherlane_form" id="anotherlane_form">
1118 - <table class="settle_table">
1119 - <tr>
1120 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_siteid_anotherlane');">サイトID</a></th>
1121 - <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>
1122 - <td><div id="ex_siteid_anotherlane" class="explanation"><?php _e('契約時にアナザーレーンから発行されるID(半角数字)', 'usces'); ?></div></td>
1123 - </tr>
1124 - <tr>
1125 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sitepass_anotherlane');">サイトパスワード</a></th>
1126 - <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>
1127 - <td><div id="ex_sitepass_anotherlane" class="explanation"><?php _e('契約時にアナザーレーンから発行されるパスワード(半角英数字)', 'usces'); ?></div></td>
1128 - </tr>
1129 - <tr>
1130 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_quickcharge_anotherlane');">クイックチャージ</a></th>
1131 - <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>
1132 - <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>
1133 - <td><div id="ex_quickcharge_anotherlane" class="explanation"><?php _e('ログインして一度購入したメンバーは、次の購入時にはカード番号を入力する必要がなくなります。', 'usces'); ?></div></td>
1134 - </tr>
1135 - </table>
1136 - <table class="settle_table">
1137 - <tr>
1138 - <th>クレジットカード決済</th>
1139 - <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>
1140 - <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>
1141 - <td></td>
1142 - </tr>
1143 - </table>
1144 - <input name="acting" type="hidden" value="anotherlane" />
1145 - <input name="usces_option_update" type="submit" class="button" value="アナザーレーンの設定を更新する" />
1146 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1147 - </form>
1148 - <div class="settle_exp">
1149 - <p><strong>アナザーレーン</strong></p>
1150 - <a href="http://www.alij.ne.jp/" target="_blank">アナザーレーンの詳細はこちら 》</a>
1151 - <p> </p>
1152 - <p>この決済は「外部リンク型」の決済システムです。</p>
1153 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1154 - </div>
1155 - </div><!--uscestabs_anotherlane-->
1156 -<!--20131220ysk end-->
1157 -
1158 -<!--20140206ysk start-->
1159 - <div id="uscestabs_veritrans">
1160 - <div class="settlement_service"><span class="service_title">ベリトランス Air-Web</span></div>
1161 - <?php if( isset($_POST['acting']) && 'veritrans' == $_POST['acting'] ) : ?>
1162 - <?php if( '' != $mes ) : ?>
1163 - <div class="error_message"><?php echo $mes; ?></div>
1164 - <?php elseif( isset($opts['veritrans']['activate']) && 'on' == $opts['veritrans']['activate'] ) : ?>
1165 - <div class="message">十分にテストを行ってから運用してください。</div>
1166 - <?php endif; ?>
1167 - <?php endif; ?>
1168 - <form action="" method="post" name="veritrans_form" id="veritrans_form">
1169 - <table class="settle_table">
1170 - <tr>
1171 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchant_id_veritrans');">マーチャントID</a></th>
1172 - <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>
1173 - <td><div id="ex_merchant_id_veritrans" class="explanation"><?php _e('契約時にベリトランスから発行されるマーチャントID(半角英数字)', 'usces'); ?></div></td>
1174 - </tr>
1175 - <tr>
1176 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchanthash_veritrans');">マーチャントハッシュキー</a></th>
1177 - <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>
1178 - <td><div id="ex_merchanthash_veritrans" class="explanation"><?php _e('契約時にベリトランスから発行されるマーチャントハッシュキー(半角英数字)', 'usces'); ?></div></td>
1179 - </tr>
1180 - <tr>
1181 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_veritrans');">稼働環境</a></th>
1182 - <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>
1183 - <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>
1184 - <td><div id="ex_ope_veritrans" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
1185 - </tr>
1186 - <tr>
1187 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mailaddress_veritrans');">決済完了通知</a></th>
1188 - <td><input name="mailaddress" type="radio" id="mailaddress_veritrans_1" value="on"<?php if( isset($opts['veritrans']['mailaddress']) && $opts['veritrans']['mailaddress'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="mailaddress_veritrans_1">送信する</label></td>
1189 - <td><input name="mailaddress" type="radio" id="mailaddress_veritrans_2" value="off"<?php if( isset($opts['veritrans']['mailaddress']) && $opts['veritrans']['mailaddress'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="mailaddress_veritrans_2">送信しない</label></td>
1190 - <td><div id="ex_mailaddress_veritrans" class="explanation"><?php _e('購入者にベリトランスからメール通知を行います。', 'usces'); ?></div></td>
1191 - </tr>
1192 - </table>
1193 - <table class="settle_table">
1194 - <tr>
1195 - <th>クレジットカード決済</th>
1196 - <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>
1197 - <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>
1198 - <td></td>
1199 - </tr>
1200 - <tr>
1201 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_capture_flag_veritrans');">カード売上フラグ</a></th>
1202 - <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>
1203 - <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>
1204 - <td><div id="ex_card_capture_flag_veritrans" class="explanation"><?php _e('決済の処理方式を指定します。', 'usces'); ?></div></td>
1205 - </tr>
1206 - </table>
1207 - <table class="settle_table">
1208 - <tr>
1209 - <th>コンビニ決済</th>
1210 - <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>
1211 - <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>
1212 - <td></td>
1213 - </tr>
1214 - <tr>
1215 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_timelimit_veritrans');">支払期限</a></th>
1216 - <td colspan="4">
1217 - <?php
1218 - $selected = array_fill( 1, 60, '' );
1219 - if( isset($opts['veritrans']['conv_timelimit']) ) {
1220 - $selected[$opts['veritrans']['conv_timelimit']] = ' selected';
1221 - } else {
1222 - $selected[60] = ' selected';
1223 - }
1224 - ?>
1225 - <select name="conv_timelimit" id="conv_timelimit">
1226 - <?php for( $i = 1; $i <= 60; $i++ ): ?>
1227 - <option value="<?php echo esc_html($i); ?>"<?php echo esc_html($selected[$i]); ?>><?php echo esc_html($i); ?></option>
1228 - <?php endfor; ?>
1229 - </select>(日数)</td>
1230 - <td><div id="ex_conv_timelimit_veritrans" class="explanation"><?php _e('コンビニ店頭でお支払いいただける期限となります。', 'usces'); ?></div></td>
1231 - </tr>
1232 - </table>
1233 - <input name="acting" type="hidden" value="veritrans" />
1234 - <input name="usces_option_update" type="submit" class="button" value="ベリトランスの設定を更新する" />
1235 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1236 - </form>
1237 - <div class="settle_exp">
1238 - <p><strong>ベリトランス</strong></p>
1239 - <a href="https://www.veritrans.co.jp/air/" target="_blank">ベリトランスの詳細はこちら 》</a>
1240 - <p> </p>
1241 - <p>この決済は「外部リンク型」の決済システムです。</p>
1242 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1243 - </div>
1244 - </div><!--uscestabs_veritrans-->
1245 -<!--20140206ysk end-->
1246 -
1247 -<!--20140725ysk start-->
1248 - <div id="uscestabs_paygent">
1249 - <div class="settlement_service"><span class="service_title">ペイジェント</span></div>
1250 - <?php if( isset($_POST['acting']) && 'paygent' == $_POST['acting'] ) : ?>
1251 - <?php if( '' != $mes ) : ?>
1252 - <div class="error_message"><?php echo $mes; ?></div>
1253 - <?php elseif( isset($opts['paygent']['activate']) && 'on' == $opts['paygent']['activate'] ) : ?>
1254 - <div class="message">十分にテストを行ってから運用してください。</div>
1255 - <?php endif; ?>
1256 - <?php endif; ?>
1257 - <form action="" method="post" name="paygent_form" id="paygent_form">
1258 - <table class="settle_table">
1259 - <tr>
1260 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_seq_merchant_id_paygent');">マーチャントID</a></th>
1261 - <td colspan="6"><input name="seq_merchant_id" type="text" id="seq_merchant_id_paygent" value="<?php echo esc_html(isset($opts['paygent']['seq_merchant_id']) ? $opts['paygent']['seq_merchant_id'] : ''); ?>" size="20" maxlength="9" /></td>
1262 - <td><div id="ex_seq_merchant_id_paygent" class="explanation"><?php _e('契約時にペイジェントから割り当てられるマーチャントID(半角数字)', 'usces'); ?></div></td>
1263 - </tr>
1264 - <tr>
1265 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hc_paygent');">ハッシュ値生成キー</a></th>
1266 - <td colspan="6"><input name="hc" type="text" id="hc_paygent" value="<?php echo esc_html(isset($opts['paygent']['hc']) ? $opts['paygent']['hc'] : ''); ?>" size="20" maxlength="24" /></td>
1267 - <td><div id="ex_hc_paygent" class="explanation"><?php _e('契約時にペイジェントから発行されるハッシュ値生成キー(半角英数字)', 'usces'); ?></div></td>
1268 - </tr>
1269 - </table>
1270 - <table class="settle_table">
1271 - <tr>
1272 - <th>クレジットカード決済</th>
1273 - <td><input name="card_activate" type="radio" id="card_activate_paygent_1" value="on"<?php if( isset($opts['paygent']['card_activate']) && $opts['paygent']['card_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_paygent_1">利用する</label></td>
1274 - <td><input name="card_activate" type="radio" id="card_activate_paygent_2" value="off"<?php if( isset($opts['paygent']['card_activate']) && $opts['paygent']['card_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="card_activate_paygent_2">利用しない</label></td>
1275 - <td colspan="2"></td>
1276 - <td></td>
1277 - </tr>
1278 - <tr>
1279 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payment_class_paygent');">支払区分</a></th>
1280 - <td><input name="payment_class" type="radio" id="payment_class_paygent_1" value="0"<?php if( isset($opts['paygent']['payment_class']) && $opts['paygent']['payment_class'] == '0' ) echo ' checked="checked"'; ?> /></td><td><label for="payment_class_paygent_0">1回払いのみ</label></td>
1281 - <td><input name="payment_class" type="radio" id="payment_class_paygent_2" value="1"<?php if( isset($opts['paygent']['payment_class']) && $opts['paygent']['payment_class'] == '1' ) echo ' checked="checked"'; ?> /></td><td><label for="payment_class_paygent_1">全て</label></td>
1282 - <td><input name="payment_class" type="radio" id="payment_class_paygent_2" value="2"<?php if( isset($opts['paygent']['payment_class']) && $opts['paygent']['payment_class'] == '2' ) echo ' checked="checked"'; ?> /></td><td><label for="payment_class_paygent_2">ボーナス一括以外全て</label></td>
1283 - <td><div id="ex_payment_class_paygent" class="explanation"><?php _e('ユーザに支払を許可するカード支払方法の区分です。加盟店審査を経て加盟店様ごとに設定された支払可能回数から、購入者に提示する支払回数をさらに絞り込みたい場合に使用してください。', 'usces'); ?></div></td>
1284 - </tr>
1285 - <tr>
1286 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_use_card_conf_number_paygent');">カード確認番号利用フラグ</a></th>
1287 - <td><input name="use_card_conf_number" type="radio" id="use_card_conf_number_paygent_1" value="on"<?php if( isset($opts['paygent']['use_card_conf_number']) && $opts['paygent']['use_card_conf_number'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="use_card_conf_number_paygent_1">利用する</label></td>
1288 - <td><input name="use_card_conf_number" type="radio" id="use_card_conf_number_paygent_2" value="off"<?php if( isset($opts['paygent']['use_card_conf_number']) && $opts['paygent']['use_card_conf_number'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="use_card_conf_number_paygent_2">利用しない</label></td>
1289 - <td colspan="2"></td>
1290 - <td><div id="ex_use_card_conf_number_paygent" class="explanation"><?php _e('確認番号の入力を必須とするかどうかを指定します。確認番号が実際に使用されるかどうかは、カードを発行したイシュアーに依存します。', 'usces'); ?></div></td>
1291 - </tr>
1292 - <tr>
1293 - <th>カード情報お預りモード</th>
1294 - <td><input name="stock_card_mode" type="radio" id="stock_card_mode_paygent_1" value="on"<?php if( isset($opts['paygent']['stock_card_mode']) && $opts['paygent']['stock_card_mode'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="stock_card_mode_paygent_1">利用する</label></td>
1295 - <td><input name="stock_card_mode" type="radio" id="stock_card_mode_paygent_2" value="off"<?php if( isset($opts['paygent']['stock_card_mode']) && $opts['paygent']['stock_card_mode'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="stock_card_mode_paygent_2">利用しない</label></td>
1296 - <td colspan="2"></td>
1297 - <td></td>
1298 - </tr>
1299 - <tr>
1300 - <th>3Dセキュア</th>
1301 - <td><input name="threedsecure_ryaku" type="radio" id="threedsecure_ryaku_paygent_1" value="on"<?php if( isset($opts['paygent']['threedsecure_ryaku']) && $opts['paygent']['threedsecure_ryaku'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="threedsecure_ryaku_paygent_1">契約</label></td>
1302 - <td><input name="threedsecure_ryaku" type="radio" id="threedsecure_ryaku_paygent_2" value="off"<?php if( isset($opts['paygent']['threedsecure_ryaku']) && $opts['paygent']['threedsecure_ryaku'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="threedsecure_ryaku_paygent_2">未契約</label></td>
1303 - <td colspan="2"></td>
1304 - <td></td>
1305 - </tr>
1306 - </table>
1307 - <table class="settle_table">
1308 - <tr>
1309 - <th>コンビニ決済</th>
1310 - <td><input name="conv_activate" type="radio" id="conv_activate_paygent_1" value="on"<?php if( isset($opts['paygent']['conv_activate']) && $opts['paygent']['conv_activate'] == 'on' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_paygent_1">利用する</label></td>
1311 - <td><input name="conv_activate" type="radio" id="conv_activate_paygent_2" value="off"<?php if( isset($opts['paygent']['conv_activate']) && $opts['paygent']['conv_activate'] == 'off' ) echo ' checked="checked"'; ?> /></td><td><label for="conv_activate_paygent_2">利用しない</label></td>
1312 - <td colspan="2"></td>
1313 - <td></td>
1314 - </tr>
1315 - <tr>
1316 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payment_term_day_paygent');">支払期間(日指定)</a></th>
1317 - <td colspan="6"><input name="payment_term_day" type="text" id="payment_term_day_paygent" value="<?php echo esc_html(isset($opts['paygent']['payment_term_day']) ? $opts['paygent']['payment_term_day'] : '5'); ?>" size="6" maxlength="2" /></td>
1318 - <td><div id="ex_payment_term_day_paygent" class="explanation"><?php _e('支払うことのできる期限を日で指定します。指定できる範囲は2以上60以下です。(半角数字)', 'usces'); ?></div></td>
1319 - </tr>
1320 - <tr>
1321 - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payment_term_min_paygent');">支払期間(分指定)</a></th>
1322 - <td colspan="6"><input name="payment_term_min" type="text" id="payment_term_min_paygent" value="<?php echo esc_html(isset($opts['paygent']['payment_term_min']) ? $opts['paygent']['payment_term_min'] : ''); ?>" size="6" maxlength="4" /></td>
1323 - <td><div id="ex_payment_term_min_paygent" class="explanation"><?php _e('支払うことのできる期限を分で指定します。指定できる範囲は5以上2880以下です。(半角数字)', 'usces'); ?></div></td>
1324 - </tr>
1325 - </table>
1326 - <input name="acting" type="hidden" value="paygent" />
1327 - <input name="usces_option_update" type="submit" class="button" value="ペイジェントの設定を更新する" />
1328 - <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1329 - </form>
1330 - <div class="settle_exp">
1331 - <p><strong>ペイジェント</strong></p>
1332 - <a href="http://www.paygent.co.jp/" target="_blank">ペイジェントの詳細はこちら 》</a>
1333 - <p> </p>
1334 - <p>この決済は「外部リンク型」の決済システムです。</p>
1335 - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p>
1336 - </div>
1337 - </div><!--uscestabs_paygent-->
1338 -<!--20140725ysk end-->
1339 -
100 + </div><!-- uscestabs_settlement_top -->
101 + <?php do_action( 'usces_action_settlement_tab_body' ); ?>
1340 102 </div><!--uscestabs-->
1341 -</div><!--inside-->
1342 -</div><!--postbox-->
1343 -</div><!--poststuff-->
1344 -
1345 103 </div><!--usces_admin-->
1346 -</div><!--wrap-->
104 +</div><!--wrap-->