PluginProbe
Welcart e-Commerce / 1.4.11
Welcart e-Commerce v1.4.11
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
usc-e-shop / includes / admin_settlement.php

admin_settlement.php in Welcart e-Commerce 1.4.11, at includes/admin_settlement.php

1,408 lines 116.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $status = $this->action_status;
3 $message = $this->action_message;
4 $this->action_status = 'none';
5 $this->action_message = '';
6
7 $opts = $this->options['acting_settings'];
8 //20110208ysk start
9 $openssl = extension_loaded('openssl');
10 $curl = extension_loaded('curl');
11 //20110208ysk end
12 ?>
13 <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({
25 cookie: {
26 // store cookie for a day, without, it would be a session cookie
27 expires: 1
28 }
29 });
30 } 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"));
35 }
36 });
37 }
38
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 }
52 });
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 });
92 });
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 </script>
101 <div class="wrap">
102 <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
117 <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-->
150 </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('認証接続方法。契約に従って指定する�
180 要があります。', 'usces'); ?></div></td>
181 </tr>
182 <tr id="authkey_zeus">
183 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_authkey_zeus');"><?php _e('認証キー', 'usces'); ?></a></th>
184 <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>
185 <td colspan="2"><div id="ex_authkey_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるSecure API用認証キー(半角数字)', 'usces'); ?></div></td>
186 </tr>
187 <tr>
188 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_3dsecur_zeus');"><?php _e('3Dセキュア(※)', 'usces'); ?></a></th>
189 <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>
190 <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>
191 <td colspan="2"><div id="ex_3dsecur_zeus" class="explanation"><?php _e('3Dセキュアを利用するにはSecure APIを利用した接続が�
192 要です。契約に従って指定する�
193 要があります。', 'usces'); ?></div></td>
194 </tr>
195 <tr>
196 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_security_zeus');"><?php _e('セキュリティーコード(※)', 'usces'); ?></a></th>
197 <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>
198 <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>
199 <td colspan="2"><div id="ex_security_zeus" class="explanation"><?php _e('セキュリティーコードの�
200 �力を�
201 須とするかどうかを指定します。契約に従って指定する�
202 要があります。', 'usces'); ?></div></td>
203 </tr>
204 <tr>
205 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_quickcharge_zeus');">クイックチャージ</a></th>
206 <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>
207 <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>
208 <td colspan="2"><div id="ex_quickcharge_zeus" class="explanation"><?php _e('ログインして一度購�
209 �したメンバーは、次の購�
210 �時にはカード番号を�
211 �力する�
212 要がなくなります。', 'usces'); ?></div></td>
213 </tr>
214 <?php if( defined('WCEX_AUTO_DELIVERY') ): ?>
215 <tr>
216 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_batch_zeus');">バッチ処理</a></th>
217 <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>
218 <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>
219 <td colspan="2"><div id="ex_batch_zeus" class="explanation"><?php _e('ゼウス決済を定期購�
220 �でご利用の場合は、「利用する」にしてください。また、クイックチャージも「利用する」にしてください。', 'usces'); ?></div></td>
221 </tr>
222 <?php endif; ?>
223 <tr>
224 <th>お客様の支払方法</th>
225 <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>
226 <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>
227 <td colspan="2"></td>
228 </tr>
229 </table>
230 <table class="settle_table">
231 <tr>
232 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_zeus');">�
233 �金おまかせサービス</a></th>
234 <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>
235 <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>
236 <td><div id="ex_bank_zeus" class="explanation"><?php _e('銀行振り込み支払いの自動�
237 �会機能です。振込みがあった場合、自動的に�
238 �金済みになり、�
239 �金確認メールが自動送信されます。', 'usces'); ?></div></td>
240 </tr>
241 <tr>
242 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_ope_zeus');">稼働環境</a></th>
243 <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>
244 <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>
245 <td><div id="ex_bank_ope_zeus" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
246 </tr>
247 <tr>
248 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_clid_zeus');">�
249 �金おまかせIPコード</a></th>
250 <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>
251 <td><div id="ex_bank_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行される�
252 �金おまかせサービス用のIPコード(半角数字)', 'usces'); ?></div></td>
253 </tr>
254 <tr>
255 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_testid_zeus');">テストID</a></th>
256 <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>
257 <td><div id="ex_bank_testid_zeus" class="explanation"><?php _e('契約時にゼウスから発行される�
258 �金おまかせサービス接続テストで�
259 要なテストID(半角数字)', 'usces'); ?></div></td>
260 </tr>
261
262 </table>
263 <table class="settle_table">
264 <tr>
265 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_zeus');">コンビニ決済サービス</a></th>
266 <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>
267 <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>
268 <td colspan="2"></td>
269 <td><div id="ex_conv_zeus" class="explanation"><?php _e('コンビニ支払いができる決済サービスです。払い込みがあった場合、自動的に�
270 �金済みになります。', 'usces'); ?></div></td>
271 </tr>
272 <tr>
273 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_ope_zeus');">稼働環境</a></th>
274 <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>
275 <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>
276 <td colspan="2"></td>
277 <td><div id="ex_conv_ope_zeus" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
278 </tr>
279 <tr>
280 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_clid_zeus');">コンビニ決済IPコード</a></th>
281 <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>
282 <td><div id="ex_conv_clid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるコンビニ決済サービス用のIPコード(半角数字)', 'usces'); ?></div></td>
283 </tr>
284 <tr>
285 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testid_zeus');">テストID</a></th>
286 <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>
287 <td><div id="ex_conv_testid_zeus" class="explanation"><?php _e('契約時にゼウスから発行されるコンビニ決済サービス接続テストで�
288 要なテストID(半角数字)', 'usces'); ?></div></td>
289 </tr>
290 <tr>
291 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testtype_zeus');">テストタイプ</a></th>
292 <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">�
293 �金テスト無し</label></td>
294 <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>
295 <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>
296 <td><div id="ex_conv_testtype_zeus" class="explanation"><?php _e('テスト環境でのテストタイプを指定します。', 'usces'); ?></div></td>
297 </tr>
298 <tr>
299 <th rowspan="7"><a style="cursor:pointer;" onclick="toggleVisibility('ex_pay_cvs_zeus');">コンビニ種類</a></th>
300 <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>
301 <td rowspan="7"><div id="ex_pay_cvs_zeus" class="explanation"><?php _e('契約時にご利用のお申込みをいただいたコンビニを選択します。', 'usces'); ?></div></td>
302 </tr>
303 <tr>
304 <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>
305 </tr>
306 <tr>
307 <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>
308 </tr>
309 <tr>
310 <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>
311 </tr>
312 <tr>
313 <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>
314 </tr>
315 <tr>
316 <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>
317 </tr>
318 <tr>
319 <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>
320 </tr>
321 </table>
322 <input name="conv_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/cvs.cgi" />
323 <input name="bank_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/ebank.cgi" />
324 <input name="card_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure.cgi" />
325 <input name="card_secureurl" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure/api.cgi" />
326 <input name="ipaddrs[]" type="hidden" value="210.164.6.67" />
327 <input name="ipaddrs[]" type="hidden" value="202.221.139.50" />
328 <input name="acting" type="hidden" value="zeus" />
329 <input name="usces_option_update" type="submit" class="button" value="ゼウスの設定を更新する" />
330 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
331 </form>
332 <div class="settle_exp">
333 <p><strong><?php _e('ZEUS Japanese Settlement', 'usces'); ?></strong></p>
334 <a href="http://www.cardservice.co.jp/" target="_blank">ゼウス決済サービスの詳細はこちら </a>
335 <p> </p>
336 <p>この決済は「埋め込み型」の決済システムです。</p>
337 <p>「埋め込み型」とは、決済会社のページへは遷移せず、Welcart のページのみで完結する決済システムです。<br />
338 デザインの統一されたスタイリッシュな決済が可能です。但し、カード番号を扱いますので専用SSLが�
339 須となります。</p>
340 <p>カード番号はZEUS のシステムに送信されるだけで、Welcart に記録は残しません。</p>
341 <p> </p>
342 <p> 3Dセキュアとセキュリティーコード </p>
343 <p>3Dセキュアとおよびセキュリティーコードの利用は、決済サービス契約時に決定します。契約�
344 容に従って指定しないと正常に動作しませんのでご注意ください。<br />
345 詳しくは<a href="http://www.cardservice.co.jp/" target="_blank">株式会社ゼウス</a>(代表:03-3498-9030)にお問い合わせください。</p>
346 <p> </p>
347 <p><strong>テスト稼動について</strong></p>
348 <p>�
349 �金おまかせ及びコンビニ決済のテストを行なう際は、「稼働環境」で「テスト環境」を選択し、「テストID」の�
350 目にゼウスから発行されるテストIDを�
351 �力してください。<br />
352 また、本稼働の際には、「本番環境」を選択して更新してください。</p>
353 </div>
354 </div><!--uscestabs_zeus-->
355
356 <div id="uscestabs_remise">
357 <div class="settlement_service"><span class="service_title"><?php _e('Remise Japanese Settlement', 'usces'); ?></span></div>
358
359 <?php if( isset($_POST['acting']) && 'remise' == $_POST['acting'] ){ ?>
360 <?php if( '' != $mes ){ ?>
361 <div class="error_message"><?php echo $mes; ?></div>
362 <?php }else if( isset($opts['remise']['activate']) && 'on' == $opts['remise']['activate'] ){ ?>
363 <div class="message">十分にテストを行ってから運用してください。</div>
364 <?php } ?>
365 <?php } ?>
366 <form action="" method="post" name="remise_form" id="remise_form">
367 <table class="settle_table">
368 <!-- <tr>
369 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_plan_remise');"><?php _e('契約プラン', 'usces'); ?></a></th>
370 <td>
371 <select name="plan" id="plan_remise">
372 <option value="0"<?php echo( ( isset($opts['remise']['plan']) && '0' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>-------------------------</option>
373 <option value="1"<?php echo( ( isset($opts['remise']['plan']) && '1' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>スーパーバリュープラン</option>
374 <option value="2"<?php echo( ( isset($opts['remise']['plan']) && '2' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>ライトプラン</option>
375 </select>
376 </td>
377 <td><div id="ex_plan_remise" class="explanation"><?php _e('ルミーズと契約したサービスプランを選択してください。<br />契約が変更したい場合はルミーズへお問合せください。', 'usces'); ?></div></td>
378 </tr>
379 --> <tr>
380 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_SHOPCO_remise');"><?php _e('加盟店コード', 'usces'); ?></a></th>
381 <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>
382 <td><div id="ex_SHOPCO_remise" class="explanation"><?php _e('契約時にルミーズから発行される加盟店コード(半角英数)', 'usces'); ?></div></td>
383 </tr>
384 <tr>
385 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_HOSTID_remise');"><?php _e('ホスト番号', 'usces'); ?></a></th>
386 <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>
387 <td><div id="ex_HOSTID_remise" class="explanation"><?php _e('契約時にルミーズから割り当てられるホスト番号(半角数字)', 'usces'); ?></div></td>
388 </tr>
389 </table>
390 <table class="settle_table">
391 <tr>
392 <th>クレジットカード決済</th>
393 <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>
394 <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>
395 <td><div></div></td>
396 </tr>
397 <tr>
398 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_remise');">ジョブコード</a></th>
399 <!-- <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>
400 --> <td><input name="card_jb" type="radio" id="card_jb_remise_2" value="AUTH"<?php if( isset($opts['remise']['card_jb']) && $opts['remise']['card_jb'] == 'AUTH' ) echo ' checked'; ?> /></td><td><label for="card_jb_remise_2">仮売上処理</label></td>
401 <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>
402 <td><div id="ex_card_jb_remise" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td>
403 </tr>
404 <tr>
405 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payquick_remise');">ペイクイック機能</a></th>
406 <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>
407 <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>
408 <td><div id="ex_payquick_remise" class="explanation"><?php _e('Welcart の会員システムを利用している場合、会員に対して2回目以降の決済の際、クレジットカード番号、有効期限、名義人の�
409 �力が不要となります。<br />クレジットカード�
410 報はWelcart では保存せず、「ルミーズ」のデータベースにて安�
411 �に保管されます。', 'usces'); ?></div></td>
412 </tr>
413 <tr>
414 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_howpay_remise');">お客様の支払方法</a></th>
415 <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>
416 <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>
417 <td><div id="ex_howpay_remise" class="explanation"><?php _e('「一括払い」以外をご利用の場合はルミーズ側の設定が�
418 要となります。前もってルミーズにお問合せください。<br >「スーパーバリュープラン」の場合は「一括払いのみ」を選択してください。', 'usces'); ?></div></td>
419 </tr>
420 <?php if( defined('WCEX_DLSELLER') ): ?>
421 <tr>
422 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_remise');">自動継続課金</a></th>
423 <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>
424 <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>
425 <td><div id="ex_continuation_remise" class="explanation"><?php _e('定期的に発生する月会費などの�
426 �わしい課金処理を完�
427 �に自動化することができる機能です。<br />詳しくは「ルミーズ」にお問合せください。', 'usces'); ?></div></td>
428 </tr>
429 <?php endif; ?>
430 <tr>
431 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pc_ope_remise');">稼働環境</a></th>
432 <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>
433 <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>
434 <td><div id="ex_card_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
435 </tr>
436 <tr>
437 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th>
438 <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>
439 <td><div id="ex_send_url_pc_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td>
440 </tr>
441 <?php if( defined('WCEX_MOBILE') ): ?>
442 <tr>
443 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
444 <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>
445 <td><div id="ex_send_url_mbl_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td>
446 </tr>
447 <?php endif; ?>
448 </table>
449 <table class="settle_table">
450 <tr>
451 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_remise');">コンビニ・電子マネー決済</a></th>
452 <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>
453 <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>
454 <td><div id="ex_conv_remise" class="explanation"><?php _e('コンビニ・電子マネー決済を利用するかどうか', 'usces'); ?></div></td>
455 </tr>
456 <tr>
457 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_paydate_remise');"><?php _e('支払期限', 'usces'); ?></a></th>
458 <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>
459 <td><div id="ex_paydate_remise" class="explanation"><?php _e('日数を設定します。(半角数字)', 'usces'); ?></div></td>
460 </tr>
461 <tr>
462 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_pc_ope_remise');">稼働環境</a></th>
463 <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>
464 <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>
465 <td><div id="ex_conv_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td>
466 </tr>
467 <tr>
468 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th>
469 <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>
470 <td><div id="ex_send_url_cvs_pc_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td>
471 </tr>
472 <?php if( defined('WCEX_MOBILE') ): ?>
473 <tr>
474 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
475 <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>
476 <td><div id="ex_send_url_cvs_mbl_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td>
477 </tr>
478 <?php endif; ?>
479 </table>
480 <input name="send_url_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/card/paycard.aspx" />
481 <input name="send_url_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/card/paycard.aspx" />
482 <input name="send_url_cvs_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/cvs/paycvs.aspx" />
483 <input name="send_url_cvs_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/cvs/paycvs.aspx" />
484 <input name="REMARKS3" type="hidden" value="A0000875" />
485 <input name="acting" type="hidden" value="remise" />
486 <input name="usces_option_update" type="submit" class="button" value="ルミーズの設定を更新する" />
487 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
488 </form>
489 <div class="settle_exp">
490 <p><strong><?php _e('Remise Japanese Settlement', 'usces'); ?></strong></p>
491 <a href="http://www.remise.jp/" target="_blank">ルミーズ決済サービスの詳細はこちら 》</a>
492 <p> </p>
493 <p>この決済は「外部リンク型」の決済システムです。</p>
494 <p>「外部リンク型」とは、決済会社のページへは遷移してカード�
495 報を�
496 �力する決済システムです。</p>
497 <p>「自動継続課金」を利用するには「DL Seller」拡張プラグインのインストールが�
498 要です。</p>
499 </div>
500 </div><!--uscestabs_remise-->
501
502 <!--20101018ysk start-->
503 <div id="uscestabs_jpayment">
504 <div class="settlement_service"><span class="service_title"><?php _e('J-Payment Japanese Settlement', 'usces'); ?></span></div>
505
506 <?php if( isset($_POST['acting']) && 'jpayment' == $_POST['acting'] ){ ?>
507 <?php if( '' != $mes ){ ?>
508 <div class="error_message"><?php echo $mes; ?></div>
509 <?php }else if( isset($opts['jpayment']['activate']) && 'on' == $opts['jpayment']['activate'] ){ ?>
510 <div class="message">十分にテストを行ってから運用してください。</div>
511 <?php } ?>
512 <?php } ?>
513 <form action="" method="post" name="jpayment_form" id="jpayment_form">
514 <table class="settle_table">
515 <tr>
516 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_aid_jpayment');"><?php _e('店舗ID', 'usces'); ?></a></th>
517 <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>
518 <td><div id="ex_aid_jpayment" class="explanation"><?php _e('契約時にJ-Paymentから発行される店舗ID(半角数字)', 'usces'); ?></div></td>
519 </tr>
520 </table>
521 <table class="settle_table">
522 <tr>
523 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jpayment');">クレジットカード決済</a></th>
524 <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>
525 <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>
526 <td><div id="ex_card_jpayment" class="explanation"><?php _e('クレジットカード決済を利用するかどうか<br />※自動継続課金には対応していません。', 'usces'); ?></div></td>
527 </tr>
528 <tr>
529 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_jpayment');">ジョブタイプ</a></th>
530 <!-- <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>
531 --> <td><input name="card_jb" type="radio" id="card_jb_jpayment_2" value="AUTH"<?php if( isset($opts['jpayment']['card_jb']) && $opts['jpayment']['card_jb'] == 'AUTH' ) echo ' checked'; ?> /></td><td><label for="card_jb_jpayment_2">仮売上処理</label></td>
532 <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>
533 <td><div id="ex_card_jb_jpayment" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td>
534 </tr>
535 </table>
536 <table class="settle_table">
537 <tr>
538 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_jpayment');">コンビニ決済</a></th>
539 <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>
540 <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>
541 <td><div id="ex_conv_jpayment" class="explanation"><?php _e('コンビニ(ペーパーレス)決済を利用するかどうか', 'usces'); ?></div></td>
542 </tr>
543 </table>
544 <!--
545 <table class="settle_table">
546 <tr>
547 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_webm_jpayment');">WebMoney決済</a></th>
548 <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>
549 <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>
550 <td><div></div></td><td><div></div></td>
551 <td><div id="ex_webm_jpayment" class="explanation"><?php _e('電子マネー(WebMoney)決済を利用するかどうか', 'usces'); ?></div></td>
552 </tr>
553 </table>
554 <table class="settle_table">
555 <tr>
556 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bitc_jpayment');">BitCash決済</a></th>
557 <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>
558 <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>
559 <td><div id="ex_bitc_jpayment" class="explanation"><?php _e('電子マネー(BitCash)決済を利用するかどうか', 'usces'); ?></div></td>
560 </tr>
561 </table>
562 <table class="settle_table">
563 <tr>
564 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_suica_jpayment');">モバイルSuica決済</a></th>
565 <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>
566 <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>
567 <td><div id="ex_suica_jpayment" class="explanation"><?php _e('電子マネー(モバイルSuica)決済を利用するかどうか', 'usces'); ?></div></td>
568 </tr>
569 </table>
570 -->
571 <table class="settle_table">
572 <tr>
573 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_jpayment');">バンクチェック決済</a></th>
574 <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>
575 <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>
576 <td><div id="ex_bank_jpayment" class="explanation"><?php _e('バンクチェック決済を利用するかどうか', 'usces'); ?></div></td>
577 </tr>
578 </table>
579 <input name="send_url" type="hidden" value="https://credit.j-payment.co.jp/gateway/payform.aspx" />
580 <input name="acting" type="hidden" value="jpayment" />
581 <input name="usces_option_update" type="submit" class="button" value="J-Paymentの設定を更新する" />
582 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
583 </form>
584 <div class="settle_exp">
585 <p><strong><?php _e('J-Payment Japanese Settlement', 'usces'); ?></strong></p>
586 <a href="http://www.j-payment.co.jp/" target="_blank">J-Payment決済サービスの詳細はこちら 》</a>
587 <p> </p>
588 <p>この決済は「外部リンク型」の決済システムです。</p>
589 <p>「外部リンク型」とは、決済会社のページへ遷移してカード�
590 報を�
591 �力する決済システムです。</p>
592 </div>
593 </div><!--uscestabs_jpayment-->
594 <!--20101018ysk end-->
595 <!--20110208ysk start-->
596 <div id="uscestabs_paypal_ec">
597 <div class="settlement_service"><span class="service_title"><?php _e('PayPal Express Checkout', 'usces'); ?></span></div>
598
599 <?php if( isset($_POST['acting']) && 'paypal' == $_POST['acting'] ){ ?>
600 <?php if( '' != $mes ){ ?>
601 <div class="error_message"><?php echo $mes; ?></div>
602 <?php }else if( isset($opts['paypal']['activate']) && 'on' == $opts['paypal']['activate'] ){ ?>
603 <div class="message"><?php _e('Test thoroughly before use.', 'usces'); ?></div>
604 <?php } ?>
605 <?php } ?>
606 <form action="" method="post" name="paypal_form" id="paypal_form">
607 <table class="settle_table">
608 <tr>
609 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ec_activate_paypal');"><?php _e('PayPal<br />Express Checkout', 'usces'); ?></a></th>
610 <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>
611 <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>
612 <td><div id="ex_ec_activate_paypal" class="explanation"><?php _e('Choose if to use PayPal Express Checkout.', 'usces'); ?></div></td>
613 </tr>
614 <tr>
615 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sandbox_paypal');"><?php _e('Operation Environment', 'usces'); ?></a></th>
616 <td><input name="sandbox" type="radio" id="sandbox_paypal_1" value="1"<?php if( isset($opts['paypal']['sandbox']) && $opts['paypal']['sandbox'] == 1 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_1"><?php _e('Test (Sandbox)', 'usces'); ?></label></td>
617 <td><input name="sandbox" type="radio" id="sandbox_paypal_2" value="2"<?php if( isset($opts['paypal']['sandbox']) && $opts['paypal']['sandbox'] == 2 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_2"><?php _e('Formal Installment', 'usces'); ?></label></td>
618 <td><div id="ex_sandbox_paypal" class="explanation"><?php _e("Choose 'Test (Sandbox)' when testing payment settlement by Sandbox.", 'usces'); ?></div></td>
619 </tr>
620 <tr>
621 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_user_paypal');"><?php _e('API User Name', 'usces'); ?></a></th>
622 <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>
623 <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>
624 </tr>
625 <tr>
626 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_pwd_paypal');"><?php _e('API Password', 'usces'); ?></a></th>
627 <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>
628 <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>
629 </tr>
630 <tr>
631 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_signature_paypal');"><?php _e('Signature', 'usces'); ?></a></th>
632 <td colspan="4"><input name="signature" type="text" id="signature_paypal" value="<?php echo esc_html(isset($opts['paypal']['signature']) ? $opts['paypal']['signature'] : ''); ?>" size="80" /></td>
633 <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>
634 </tr>
635 <!--20110412ysk start-->
636 <?php if( defined('WCEX_DLSELLER') ): ?>
637 <tr>
638 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_paypal');"><?php _e('Recurring Payment', 'usces'); ?></a></th>
639 <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>
640 <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>
641 <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>
642 </tr>
643 <?php endif; ?>
644 <!--20110412ysk end-->
645 </table>
646 <table class="settle_table">
647 <tr>
648 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_logoimg');"><?php _e('URL for the image of the payment page', 'usces'); ?></a></th>
649 <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>
650 <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>
651 </tr>
652 <tr>
653 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_cartbordercolor');"><?php _e('The background color for the payment page', 'usces'); ?></a></th>
654 <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>
655 <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>
656 <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>
657 </tr>
658 <tr id="cartbordercolor">
659 <th><?php _e('The background color for the payment page', 'usces'); ?></th>
660 <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>
661 <td></td>
662 </tr>
663 </table>
664 <input name="acting" type="hidden" value="paypal" />
665 <input name="usces_option_update" id="paypal_ec" type="submit" class="button" value="<?php _e('Update PayPal Express Checkout settings', 'usces'); ?>" />
666 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
667 </form>
668 <div class="settle_exp">
669 <p><strong><?php _e('PayPal Express Checkout', 'usces'); ?></strong></p>
670 <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>
671 <p> </p>
672 <p><?php _e("This settlement uses 'Express Checkout'.", 'usces'); ?></p>
673 <p><?php _e("If the 'OpenSSL' module is not installed in the server you're using, you cannot settle payments by 'ExpressCheckout'.", 'usces'); ?></p>
674 </div>
675 </div><!--uscestabs_paypal_ec-->
676 <!--20110208ysk end-->
677 <!--20140908ysk start-->
678 <div id="uscestabs_paypal_wpp">
679 <div class="settlement_service"><span class="service_title"><?php _e('PayPal Web Payment Plus', 'usces'); ?></span></div>
680 <?php if( isset($_POST['acting']) && 'paypal_wpp' == $_POST['acting'] ) : ?>
681 <?php if( '' != $mes ) : ?>
682 <div class="error_message"><?php echo $mes; ?></div>
683 <?php elseif( isset($opts['paypal_wpp']['activate']) && 'on' == $opts['paypal_wpp']['activate'] ) : ?>
684 <div class="message"><?php _e('Test thoroughly before use.', 'usces'); ?></div>
685 <?php endif; ?>
686 <?php endif; ?>
687 <form action="" method="post" name="paypal_wpp_form" id="paypal_wpp_form">
688 <table class="settle_table">
689 <tr>
690 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_wpp_activate_paypal');"><?php _e('PayPal<br />Web Payment Plus', 'usces'); ?></a></th>
691 <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>
692 <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>
693 <td><div id="ex_wpp_activate_paypal" class="explanation"><?php _e('Choose if to use PayPal Web Payment Plus.', 'usces'); ?></div></td>
694 </tr>
695 <tr>
696 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sandbox_paypal_wpp');"><?php _e('Operation Environment', 'usces'); ?></a></th>
697 <td><input name="sandbox" type="radio" id="sandbox_paypal_wpp_1" value="1"<?php if( isset($opts['paypal_wpp']['sandbox']) && $opts['paypal_wpp']['sandbox'] == 1 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_wpp_1"><?php _e('Test (Sandbox)', 'usces'); ?></label></td>
698 <td><input name="sandbox" type="radio" id="sandbox_paypal_wpp_2" value="2"<?php if( isset($opts['paypal_wpp']['sandbox']) && $opts['paypal_wpp']['sandbox'] == 2 ) echo ' checked'; ?> /></td><td><label for="sandbox_paypal_wpp_2"><?php _e('Formal Installment', 'usces'); ?></label></td>
699 <td><div id="ex_sandbox_paypal_wpp" class="explanation"><?php _e("Choose 'Test (Sandbox)' when testing payment settlement by Sandbox.", 'usces'); ?></div></td>
700 </tr>
701 <tr>
702 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_id_paypal_wpp');"><?php _e('PayPal ID', 'usces'); ?></a></th>
703 <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>
704 <td><div id="ex_id_paypal_wpp" class="explanation"><?php _e('セキュアなマーチャントID(個人設定ページに表示)またはPayPalアカウントに関連付けられているメールアドレス。', 'usces'); ?></div></td>
705 </tr>
706 </table>
707 <input name="acting" type="hidden" value="paypal_wpp" />
708 <input name="usces_option_update" id="paypal_wpp" type="submit" class="button" value="<?php _e('Update PayPal Web Payment Plus settings', 'usces'); ?>" />
709 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
710 </form>
711 <div class="settle_exp">
712 <p><strong><?php _e('PayPal Web Payment Plus', 'usces'); ?></strong></p>
713 <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>
714 <p> </p>
715 <p><?php _e("This settlement uses 'Web Payment Plus'.", 'usces'); ?></p>
716 </div>
717 </div><!--uscestabs_paypal_wpp-->
718 <!--20140908ysk end-->
719 <!--20120413ysk start-->
720 <div id="uscestabs_sbps">
721 <div class="settlement_service"><span class="service_title">ソフトバンク・ペイメント・サービス</span></div>
722
723 <?php if( isset($_POST['acting']) && 'sbps' == $_POST['acting'] ){ ?>
724 <?php if( '' != $mes ){ ?>
725 <div class="error_message"><?php echo $mes; ?></div>
726 <?php }else if( isset($opts['sbps']['activate']) && 'on' == $opts['sbps']['activate'] ){ ?>
727 <div class="message">十分にテストを行ってから運用してください。</div>
728 <?php } ?>
729 <?php } ?>
730 <form action="" method="post" name="sbps_form" id="sbps_form">
731 <table class="settle_table">
732 <tr>
733 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchant_id_sbps');">マーチャントID</a></th>
734 <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>
735 <td><div id="ex_merchant_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるマーチャントID(半角数字)', 'usces'); ?></div></td>
736 </tr>
737 <tr>
738 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_service_id_sbps');">サービスID</a></th>
739 <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>
740 <td><div id="ex_service_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるサービスID(半角数字)', 'usces'); ?></div></td>
741 </tr>
742 <tr>
743 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_key_sbps');">Hash KEY</a></th>
744 <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>
745 <td><div id="ex_hash_key_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行される Hash KEY(半角英数)', 'usces'); ?></div></td>
746 </tr>
747 <tr>
748 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_sbps');"><?php _e('Operation Environment', 'usces'); ?></a></th>
749 <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>
750 <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>
751 <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>
752 <td><div id="ex_ope_sbps" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
753 </tr>
754 <!--
755 <tr>
756 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_sbps');"><?php _e('本番URL', 'usces'); ?></a></th>
757 <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>
758 <td><div id="ex_send_url_sbps" class="explanation"><?php _e('本番環境で接続するURLを設定します。「購�
759 �要求(画面遷移要求)」に示されるURLを�
760 �力してください。', 'usces'); ?></div></td>
761 </tr>
762 --> </table>
763 <table class="settle_table">
764 <tr>
765 <th>クレジットカード決済</th>
766 <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>
767 <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>
768 <td></td>
769 </tr>
770 <tr>
771 <th>3Dセキュア</th>
772 <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>
773 <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>
774 <td></td>
775 </tr>
776 <?php if( defined('WCEX_DLSELLER') ): ?>
777 <!-- <tr>
778 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_sbps');">簡易継続課金</a></th>
779 <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>
780 <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>
781 <td><div id="ex_continuation_sbps" class="explanation"><?php _e('定期的に発生する月会費などの�
782 �わしい課金処理を完�
783 �に自動化することができる機能です。<br />詳しくはソフトバンク・ペイメント・サービスにお問合せください。', 'usces'); ?></div></td>
784 </tr>
785 --> <?php endif; ?>
786 </table>
787 <table class="settle_table">
788 <tr>
789 <th>WEBコンビニ決済</th>
790 <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>
791 <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>
792 <td></td>
793 </tr>
794 </table>
795 <table class="settle_table">
796 <tr>
797 <th>Pay-easy(ペイジー)決済</th>
798 <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>
799 <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>
800 <td></td>
801 </tr>
802 </table>
803 <table class="settle_table">
804 <tr>
805 <th>Yahoo!ウォレット決済</th>
806 <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>
807 <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>
808 <td></td>
809 </tr>
810 <tr>
811 <th>楽天あんしん決済</th>
812 <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>
813 <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>
814 <td></td>
815 </tr>
816 <tr>
817 <th>PayPal</th>
818 <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>
819 <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>
820 <td></td>
821 </tr>
822 <tr>
823 <th>ネットマイル</th>
824 <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>
825 <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>
826 <td></td>
827 </tr>
828 <tr>
829 <th>Alipay国際決済</th>
830 <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>
831 <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>
832 <td></td>
833 </tr>
834 </table>
835 <table class="settle_table">
836 <tr>
837 <th>ドコモ ケータイ払い</th>
838 <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>
839 <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>
840 <td></td>
841 </tr>
842 <tr>
843 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_softbank_sbps');">S!まとめて支払い</a></th>
844 <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>
845 <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>
846 <td><div id="ex_mobile_softbank_sbps" class="explanation">Softbank携帯端末(3G対応携帯端末)にて決済を行うサービスです。</div></td>
847 </tr>
848 <tr>
849 <th>auかんたん決済</th>
850 <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>
851 <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>
852 <td></td>
853 </tr>
854 <tr>
855 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_mysoftbank_sbps');">ソフトバンク<br />まとめて支払い(A)</a></th>
856 <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>
857 <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>
858 <td><div id="ex_mobile_mysoftbank_sbps" class="explanation">スマートフォン専用のデジタルコンテンツの決済に利用できるサービスです。物販では利用不可となります。</div></td>
859 </tr>
860 <tr>
861 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mobile_softbank2_sbps');">ソフトバンク<br />まとめて支払い(B)</a></th>
862 <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>
863 <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>
864 <td><div id="ex_mobile_softbank2_sbps" class="explanation">物販サイト等で購�
865 �した商品の代金の支払いに利用できる決済手段です。</div></td>
866 </tr>
867 </table>
868 <input name="send_url_check" type="hidden" value="https://stbfep.sps-system.com/Extra/BuyRequestAction.do" />
869 <input name="send_url_test" type="hidden" value="https://stbfep.sps-system.com/f01/FepBuyInfoReceive.do" />
870 <input name="acting" type="hidden" value="sbps" />
871 <input name="usces_option_update" type="submit" class="button" value="ソフトバンク・ペイメントの設定を更新する" />
872 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
873 </form>
874 <div class="settle_exp">
875 <p><strong>ソフトバンク・ペイメント・サービス</strong></p>
876 <a href="http://www.welcart.com/wc-settlement/sbps_guide/" target="_blank">ソフトバンク・ペイメント・サービスの詳細はこちら </a>
877 <p> </p>
878 <p>この決済は「外部リンク型」の決済システムです。</p>
879 <p>「外部リンク型」とは、決済会社のページへ遷移してカード�
880 報を�
881 �力する決済システムです。</p>
882 <!--<p>「簡易継続課金」を利用するには「DL Seller」拡張プラグインのインストールが�
883 要です。</p>-->
884 <p>尚、本番環境では、正規SSL証明書のみでのSSL通信となりますのでご注意ください。</p>
885 </div>
886 </div><!--uscestabs_sbps-->
887 <!--20120413ysk end-->
888 <!--20120618ysk start-->
889 <div id="uscestabs_telecom">
890 <div class="settlement_service"><span class="service_title">テレコムクレジット</span></div>
891 <?php if( isset($_POST['acting']) && 'telecom' == $_POST['acting'] ){ ?>
892 <?php if( '' != $mes ){ ?>
893 <div class="error_message"><?php echo $mes; ?></div>
894 <?php }else if( isset($opts['telecom']['activate']) && 'on' == $opts['telecom']['activate'] ){ ?>
895 <div class="message">十分にテストを行ってから運用してください。</div>
896 <?php } ?>
897 <?php } ?>
898 <form action="" method="post" name="telecom_form" id="telecom_form">
899 <table class="settle_table">
900 <tr>
901 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_clientip_telecom');">クライアントIP</a></th>
902 <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>
903 <td><div id="ex_clientip_telecom" class="explanation"><?php _e('契約時にテレコムクレジットから発行されるクライアントIP(半角数字)', 'usces'); ?></div></td>
904 </tr>
905 <tr>
906 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_stype_telecom');">決済タイプ</a></th>
907 <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>
908 <td><div id="ex_stype_telecom" class="explanation"><?php _e('設定依頼書に記載されている決済タイプ。', 'usces'); ?></div></td>
909 </tr>
910 </table>
911 <table class="settle_table">
912 <tr>
913 <th>クレジットカード決済</th>
914 <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>
915 <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>
916 <td></td>
917 </tr>
918 <tr>
919 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_oneclick_telecom');">スピード決済</a></th>
920 <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>
921 <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>
922 <td><div id="ex_oneclick_telecom" class="explanation"><?php _e('2回目以降の利用はカード番号を�
923 �力しなくても決済可能となります。', 'usces'); ?></div></td>
924 </tr>
925 </table>
926 <!--
927 <table class="settle_table">
928 <tr>
929 <th>Edy決済</th>
930 <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>
931 <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>
932 <td></td>
933 </tr>
934 </table>
935 -->
936 <input name="acting" type="hidden" value="telecom" />
937 <input name="usces_option_update" type="submit" class="button" value="テレコムクレジットの設定を更新する" />
938 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
939 </form>
940 <div class="settle_exp">
941 <p><strong>テレコムクレジット</strong></p>
942 <a href="http://www.telecomcredit.co.jp/" target="_blank">テレコムクレジットの詳細はこちら </a>
943 <p> </p>
944 <p>この決済は「外部リンク型」の決済システムです。</p>
945 <p>「外部リンク型」とは、決済会社のページへ遷移してカード�
946 報を�
947 �力する決済システムです。</p>
948 </div>
949 </div><!--uscestabs_telecom-->
950 <!--20120618ysk end-->
951
952 <!--20121206ysk start-->
953 <div id="uscestabs_digitalcheck">
954 <div class="settlement_service"><span class="service_title">ペイデザイン</span></div>
955 <?php if( isset($_POST['acting']) && 'digitalcheck' == $_POST['acting'] ){ ?>
956 <?php if( '' != $mes ){ ?>
957 <div class="error_message"><?php echo $mes; ?></div>
958 <?php }else if( isset($opts['digitalcheck']['activate']) && 'on' == $opts['digitalcheck']['activate'] ){ ?>
959 <div class="message">十分にテストを行ってから運用してください。</div>
960 <?php } ?>
961 <?php } ?>
962 <form action="" method="post" name="digitalcheck_form" id="digitalcheck_form">
963 <table class="settle_table">
964 <tr>
965 <th>クレジットカード決済</th>
966 <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>
967 <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>
968 <td></td>
969 </tr>
970 <tr>
971 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_ip_digitalcheck');">加盟店コード</a></th>
972 <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>
973 <td><div id="ex_card_ip_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店コード(半角英数字)。', 'usces'); ?></div></td>
974 </tr>
975 <tr>
976 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pass_digitalcheck');">加盟店パスワード</a></th>
977 <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>
978 <td><div id="ex_card_pass_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店パスワード(半角英数字)。<br />ユーザID決済をご利用の場合は、�
979 須となります。', 'usces'); ?></div></td>
980 </tr>
981 <tr>
982 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_kakutei');">決済自動確定</a></th>
983 <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>
984 <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>
985 <td><div id="ex_card_kakutei" class="explanation"><?php _e('注文の際にクレジットの与信のみを行ないます。<br />実際の売上として計上するには確定処理が�
986 要となります。省略時は「売上確定(確定まで同時に行う)」です。', 'usces'); ?></div></td>
987 </tr>
988 <tr>
989 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_user_id');">ユーザID決済</a></th>
990 <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>
991 <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>
992 <td><div id="ex_card_user_id" class="explanation"><?php _e('過去にクレジットカードでのお取引があるユーザは、次回からカード�
993 報の�
994 �力を省略することが可能となります。', 'usces'); ?></div></td>
995 </tr>
996 </table>
997 <table class="settle_table">
998 <tr>
999 <th>コンビニ決済</th>
1000 <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>
1001 <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>
1002 <td></td>
1003 </tr>
1004 <tr>
1005 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_ip_digitalcheck');">加盟店コード</a></th>
1006 <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>
1007 <td><div id="ex_conv_ip_digitalcheck" class="explanation"><?php _e('契約時にペイデザインから発行される加盟店コード(半角英数字)', 'usces'); ?></div></td>
1008 </tr>
1009 <tr>
1010 <th rowspan="4"><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_store_digitalcheck');">利用コンビニ</a></th>
1011 <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>
1012 <td rowspan="4"><div id="ex_conv_store_digitalcheck" class="explanation"><?php _e('収納�
1013 �のコンビニを選択します。コンビニ毎の審査が�
1014 要となり、審査通過後にご利用可能となります。', 'usces'); ?></div></td>
1015 </tr>
1016 <tr>
1017 <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>
1018 </tr>
1019 <tr>
1020 <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>
1021 </tr>
1022 <tr>
1023 <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>
1024 </tr>
1025 <tr>
1026 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_kigen_digitalcheck');">支払期限</a></th>
1027 <td colspan="4">
1028 <?php
1029 $selected = array_fill( 1, 30, '' );
1030 if( isset($opts['digitalcheck']['conv_kigen']) ) {
1031 $selected[$opts['digitalcheck']['conv_kigen']] = ' selected';
1032 } else {
1033 $selected[14] = ' selected';
1034 }
1035 ?>
1036 <select name="conv_kigen" id="conv_kigen">
1037 <?php for( $i = 1; $i <= 30; $i++ ): ?>
1038 <option value="<?php echo esc_html($i); ?>"<?php echo esc_html($selected[$i]); ?>><?php echo esc_html($i); ?></option>
1039 <?php endfor; ?>
1040 </select>(日数)</td>
1041 <td><div id="ex_conv_kigen_digitalcheck" class="explanation"><?php _e('コンビニ店頭でお支払いいただける期限となります。', 'usces'); ?></div></td>
1042 </tr>
1043 </table>
1044 <input name="acting" type="hidden" value="digitalcheck" />
1045 <input name="usces_option_update" type="submit" class="button" value="ペイデザインの設定を更新する" />
1046 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1047 </form>
1048 <div class="settle_exp">
1049 <p><strong>ペイデザイン株式会社</strong></p>
1050 <a href="http://www.paydesign.co.jp/" target="_blank">ペイデザインの詳細はこちら 》</a>
1051 <p> </p>
1052 <p>この決済は「外部リンク型」の決済システムです。</p>
1053 <p>「外部リンク型」とは、決済会社のページへ遷移してカード�
1054 報を�
1055 �力する決済システムです。</p>
1056 </div>
1057 </div><!--uscestabs_digitalcheck-->
1058 <!--20121206ysk end-->
1059
1060 <!--20130225ysk start-->
1061 <div id="uscestabs_mizuho">
1062 <div class="settlement_service"><span class="service_title">みずほファクター</span></div>
1063 <?php if( isset($_POST['acting']) && 'mizuho' == $_POST['acting'] ) : ?>
1064 <?php if( '' != $mes ) : ?>
1065 <div class="error_message"><?php echo $mes; ?></div>
1066 <?php elseif( isset($opts['mizuho']['activate']) && 'on' == $opts['mizuho']['activate'] ) : ?>
1067 <div class="message">十分にテストを行ってから運用してください。</div>
1068 <?php endif; ?>
1069 <?php endif; ?>
1070 <form action="" method="post" name="mizuho_form" id="mizuho_form">
1071 <table class="settle_table">
1072 <tr>
1073 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_shopid_mizuho');">加盟店コード</a></th>
1074 <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>
1075 <td><div id="ex_shopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店コード(半角数字6桁)。', 'usces'); ?></div></td>
1076 </tr>
1077 <tr>
1078 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_cshopid_mizuho');">加盟店サブコード</a></th>
1079 <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>
1080 <td><div id="ex_cshopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店サブコード(半角数字5桁)。', 'usces'); ?></div></td>
1081 </tr>
1082 <tr>
1083 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_pass_mizuho');">ハッシュ用パスワード</a></th>
1084 <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>
1085 <td><div id="ex_hash_pass_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行されるハッシュ用パスワード(半角英数字)。', 'usces'); ?></div></td>
1086 </tr>
1087 <tr>
1088 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_mizuho');"><?php _e('Operation Environment', 'usces'); ?></a></th>
1089 <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>
1090 <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>
1091 <td><div id="ex_ope_mizuho" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
1092 </tr>
1093 <tr>
1094 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mizuho');"><?php _e('本番URL', 'usces'); ?></a></th>
1095 <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>
1096 <td><div id="ex_send_url_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続�
1097 �URL(画面連携型)PC」に示されるURLを�
1098 �力してください。', 'usces'); ?></div></td>
1099 </tr>
1100 <?php if( defined('WCEX_MOBILE') ): ?>
1101 <tr>
1102 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_mizuho');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th>
1103 <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>
1104 <td><div id="ex_send_url_mbl_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続�
1105 �URL(画面連携型)MB」に示されるURLを�
1106 �力してください。', 'usces'); ?></div></td>
1107 </tr>
1108 <?php endif; ?>
1109 </table>
1110 <table class="settle_table">
1111 <tr>
1112 <th>クレジットカード決済</th>
1113 <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>
1114 <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>
1115 <td></td>
1116 </tr>
1117 </table>
1118 <!--
1119 <table class="settle_table">
1120 <tr>
1121 <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv1_activate');">ウェルネット決済</a></th>
1122 <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>
1123 <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>
1124 <td><div id="ex_conv1_activate" class="explanation">ローソン、ファミリーマート、サークルK サンクス、ミニストップ、デイリーヤマザキ、スリーエフでのご利用が可能です。</div></td>
1125 </tr>
1126 <tr>
1127 <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv2_activate');">セブンイレブン決済</a></th>
1128 <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>
1129 <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>
1130 <td><div id="ex_conv2_activate" class="explanation">セブンイレブンでのご利用が可能です。</div></td>
1131 </tr>
1132 </table>
1133 -->
1134 <input name="acting" type="hidden" value="mizuho" />
1135 <input name="usces_option_update" type="submit" class="button" value="みずほファクターの設定を更新する" />
1136 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1137 </form>
1138 <div class="settle_exp">
1139 <p><strong>みずほファクター</strong></p>
1140 <a href="http://www.mizuho-factor.co.jp/" target="_blank">みずほファクターの詳細はこちら 》</a>
1141 <p> </p>
1142 <p>この決済は「外部リンク型」の決済システムです。</p>
1143 <p>「外部リンク型」とは、決済会社のページへ遷移してカード�
1144 報を�
1145 �力する決済システムです。</p>
1146 </div>
1147 </div><!--uscestabs_mizuho-->
1148 <!--20130225ysk end-->
1149
1150 <!--20131220ysk start-->
1151 <div id="uscestabs_anotherlane">
1152 <div class="settlement_service"><span class="service_title">アナザーレーン</span></div>
1153 <?php if( isset($_POST['acting']) && 'anotherlane' == $_POST['acting'] ) : ?>
1154 <?php if( '' != $mes ) : ?>
1155 <div class="error_message"><?php echo $mes; ?></div>
1156 <?php elseif( isset($opts['anotherlane']['activate']) && 'on' == $opts['anotherlane']['activate'] ) : ?>
1157 <div class="message">十分にテストを行ってから運用してください。</div>
1158 <?php endif; ?>
1159 <?php endif; ?>
1160 <form action="" method="post" name="anotherlane_form" id="anotherlane_form">
1161 <table class="settle_table">
1162 <tr>
1163 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_siteid_anotherlane');">サイトID</a></th>
1164 <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>
1165 <td><div id="ex_siteid_anotherlane" class="explanation"><?php _e('契約時にアナザーレーンから発行されるID(半角数字)', 'usces'); ?></div></td>
1166 </tr>
1167 <tr>
1168 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sitepass_anotherlane');">サイトパスワード</a></th>
1169 <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>
1170 <td><div id="ex_sitepass_anotherlane" class="explanation"><?php _e('契約時にアナザーレーンから発行されるパスワード(半角英数字)', 'usces'); ?></div></td>
1171 </tr>
1172 <tr>
1173 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_quickcharge_anotherlane');">クイックチャージ</a></th>
1174 <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>
1175 <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>
1176 <td><div id="ex_quickcharge_anotherlane" class="explanation"><?php _e('ログインして一度購�
1177 �したメンバーは、次の購�
1178 �時にはカード番号を�
1179 �力する�
1180 要がなくなります。', 'usces'); ?></div></td>
1181 </tr>
1182 </table>
1183 <table class="settle_table">
1184 <tr>
1185 <th>クレジットカード決済</th>
1186 <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>
1187 <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>
1188 <td></td>
1189 </tr>
1190 </table>
1191 <input name="acting" type="hidden" value="anotherlane" />
1192 <input name="usces_option_update" type="submit" class="button" value="アナザーレーンの設定を更新する" />
1193 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1194 </form>
1195 <div class="settle_exp">
1196 <p><strong>アナザーレーン</strong></p>
1197 <a href="http://www.alij.ne.jp/" target="_blank">アナザーレーンの詳細はこちら </a>
1198 <p> </p>
1199 <p>この決済は「外部リンク型」の決済システムです。</p>
1200 <p>「外部リンク型」とは、決済会社のページへ遷移してカード�
1201 報を�
1202 �力する決済システムです。</p>
1203 </div>
1204 </div><!--uscestabs_anotherlane-->
1205 <!--20131220ysk end-->
1206
1207 <!--20140206ysk start-->
1208 <div id="uscestabs_veritrans">
1209 <div class="settlement_service"><span class="service_title">ベリトランス Air-Web</span></div>
1210 <?php if( isset($_POST['acting']) && 'veritrans' == $_POST['acting'] ) : ?>
1211 <?php if( '' != $mes ) : ?>
1212 <div class="error_message"><?php echo $mes; ?></div>
1213 <?php elseif( isset($opts['veritrans']['activate']) && 'on' == $opts['veritrans']['activate'] ) : ?>
1214 <div class="message">十分にテストを行ってから運用してください。</div>
1215 <?php endif; ?>
1216 <?php endif; ?>
1217 <form action="" method="post" name="veritrans_form" id="veritrans_form">
1218 <table class="settle_table">
1219 <tr>
1220 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchant_id_veritrans');">マーチャントID</a></th>
1221 <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>
1222 <td><div id="ex_merchant_id_veritrans" class="explanation"><?php _e('契約時にベリトランスから発行されるマーチャントID(半角英数字)', 'usces'); ?></div></td>
1223 </tr>
1224 <tr>
1225 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchanthash_veritrans');">マーチャントハッシュキー</a></th>
1226 <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>
1227 <td><div id="ex_merchanthash_veritrans" class="explanation"><?php _e('契約時にベリトランスから発行されるマーチャントハッシュキー(半角英数字)', 'usces'); ?></div></td>
1228 </tr>
1229 <tr>
1230 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_veritrans');">稼働環境</a></th>
1231 <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>
1232 <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>
1233 <td><div id="ex_ope_veritrans" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td>
1234 </tr>
1235 <tr>
1236 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_mailaddress_veritrans');">決済完了通知</a></th>
1237 <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>
1238 <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>
1239 <td><div id="ex_mailaddress_veritrans" class="explanation"><?php _e('購�
1240 ��
1241 にベリトランスからメール通知を行います。', 'usces'); ?></div></td>
1242 </tr>
1243 </table>
1244 <table class="settle_table">
1245 <tr>
1246 <th>クレジットカード決済</th>
1247 <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>
1248 <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>
1249 <td></td>
1250 </tr>
1251 <tr>
1252 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_capture_flag_veritrans');">カード売上フラグ</a></th>
1253 <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>
1254 <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>
1255 <td><div id="ex_card_capture_flag_veritrans" class="explanation"><?php _e('決済の処理方式を指定します。', 'usces'); ?></div></td>
1256 </tr>
1257 </table>
1258 <table class="settle_table">
1259 <tr>
1260 <th>コンビニ決済</th>
1261 <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>
1262 <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>
1263 <td></td>
1264 </tr>
1265 <tr>
1266 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_timelimit_veritrans');">支払期限</a></th>
1267 <td colspan="4">
1268 <?php
1269 $selected = array_fill( 1, 60, '' );
1270 if( isset($opts['veritrans']['conv_timelimit']) ) {
1271 $selected[$opts['veritrans']['conv_timelimit']] = ' selected';
1272 } else {
1273 $selected[60] = ' selected';
1274 }
1275 ?>
1276 <select name="conv_timelimit" id="conv_timelimit">
1277 <?php for( $i = 1; $i <= 60; $i++ ): ?>
1278 <option value="<?php echo esc_html($i); ?>"<?php echo esc_html($selected[$i]); ?>><?php echo esc_html($i); ?></option>
1279 <?php endfor; ?>
1280 </select>(日数)</td>
1281 <td><div id="ex_conv_timelimit_veritrans" class="explanation"><?php _e('コンビニ店頭でお支払いいただける期限となります。', 'usces'); ?></div></td>
1282 </tr>
1283 </table>
1284 <input name="acting" type="hidden" value="veritrans" />
1285 <input name="usces_option_update" type="submit" class="button" value="ベリトランスの設定を更新する" />
1286 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1287 </form>
1288 <div class="settle_exp">
1289 <p><strong>ベリトランス</strong></p>
1290 <a href="https://www.veritrans.co.jp/air/" target="_blank">ベリトランスの詳細はこちら 》</a>
1291 <p> </p>
1292 <p>この決済は「外部リンク型」の決済システムです。</p>
1293 <p>「外部リンク型」とは、決済会社のページへ遷移してカード�
1294 報を�
1295 �力する決済システムです。</p>
1296 </div>
1297 </div><!--uscestabs_veritrans-->
1298 <!--20140206ysk end-->
1299
1300 <!--20140725ysk start-->
1301 <div id="uscestabs_paygent">
1302 <div class="settlement_service"><span class="service_title">ペイジェント</span></div>
1303 <?php if( isset($_POST['acting']) && 'paygent' == $_POST['acting'] ) : ?>
1304 <?php if( '' != $mes ) : ?>
1305 <div class="error_message"><?php echo $mes; ?></div>
1306 <?php elseif( isset($opts['paygent']['activate']) && 'on' == $opts['paygent']['activate'] ) : ?>
1307 <div class="message">十分にテストを行ってから運用してください。</div>
1308 <?php endif; ?>
1309 <?php endif; ?>
1310 <form action="" method="post" name="paygent_form" id="paygent_form">
1311 <table class="settle_table">
1312 <tr>
1313 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_seq_merchant_id_paygent');">マーチャントID</a></th>
1314 <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>
1315 <td><div id="ex_seq_merchant_id_paygent" class="explanation"><?php _e('契約時にペイジェントから割り当てられるマーチャントID(半角数字)', 'usces'); ?></div></td>
1316 </tr>
1317 <tr>
1318 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hc_paygent');">ハッシュ値生成キー</a></th>
1319 <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>
1320 <td><div id="ex_hc_paygent" class="explanation"><?php _e('契約時にペイジェントから発行されるハッシュ値生成キー(半角英数字)', 'usces'); ?></div></td>
1321 </tr>
1322 </table>
1323 <table class="settle_table">
1324 <tr>
1325 <th>クレジットカード決済</th>
1326 <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>
1327 <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>
1328 <td colspan="2"></td>
1329 <td></td>
1330 </tr>
1331 <tr>
1332 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payment_class_paygent');">支払区分</a></th>
1333 <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>
1334 <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">�
1335 �て</label></td>
1336 <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">ボーナス一括以外�
1337 �て</label></td>
1338 <td><div id="ex_payment_class_paygent" class="explanation"><?php _e('ユーザに支払を許可するカード支払方法の区分です。加盟店審査を経て加盟店様ごとに設定された支払可能回数から、購�
1339 ��
1340 に提示する支払回数をさらに絞り込みたい場合に使用してください。', 'usces'); ?></div></td>
1341 </tr>
1342 <tr>
1343 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_use_card_conf_number_paygent');">カード確認番号利用フラグ</a></th>
1344 <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>
1345 <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>
1346 <td colspan="2"></td>
1347 <td><div id="ex_use_card_conf_number_paygent" class="explanation"><?php _e('確認番号の�
1348 �力を�
1349 須とするかどうかを指定します。確認番号が実際に使用されるかどうかは、カードを発行したイシュアーに依存します。', 'usces'); ?></div></td>
1350 </tr>
1351 <tr>
1352 <th>カード�
1353 報お預りモード</th>
1354 <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>
1355 <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>
1356 <td colspan="2"></td>
1357 <td></td>
1358 </tr>
1359 <tr>
1360 <th>3Dセキュア</th>
1361 <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>
1362 <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>
1363 <td colspan="2"></td>
1364 <td></td>
1365 </tr>
1366 </table>
1367 <table class="settle_table">
1368 <tr>
1369 <th>コンビニ決済</th>
1370 <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>
1371 <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>
1372 <td colspan="2"></td>
1373 <td></td>
1374 </tr>
1375 <tr>
1376 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payment_term_day_paygent');">支払期間(日指定)</a></th>
1377 <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>
1378 <td><div id="ex_payment_term_day_paygent" class="explanation"><?php _e('支払うことのできる期限を日で指定します。指定できる範囲は2以上60以下です。(半角数字)', 'usces'); ?></div></td>
1379 </tr>
1380 <tr>
1381 <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payment_term_min_paygent');">支払期間(分指定)</a></th>
1382 <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>
1383 <td><div id="ex_payment_term_min_paygent" class="explanation"><?php _e('支払うことのできる期限を分で指定します。指定できる範囲は5以上2880以下です。(半角数字)', 'usces'); ?></div></td>
1384 </tr>
1385 </table>
1386 <input name="acting" type="hidden" value="paygent" />
1387 <input name="usces_option_update" type="submit" class="button" value="ペイジェントの設定を更新する" />
1388 <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?>
1389 </form>
1390 <div class="settle_exp">
1391 <p><strong>ペイジェント</strong></p>
1392 <a href="http://www.paygent.co.jp/" target="_blank">ペイジェントの詳細はこちら 》</a>
1393 <p> </p>
1394 <p>この決済は「外部リンク型」の決済システムです。</p>
1395 <p>「外部リンク型」とは、決済会社のページへ遷移してカード�
1396 報を�
1397 �力する決済システムです。</p>
1398 </div>
1399 </div><!--uscestabs_paygent-->
1400 <!--20140725ysk end-->
1401
1402 </div><!--uscestabs-->
1403 </div><!--inside-->
1404 </div><!--postbox-->
1405 </div><!--poststuff-->
1406
1407 </div><!--usces_admin-->
1408 </div><!--wrap-->