| @@ -1,949 +1,104 @@ | ||
| 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 | - $('#uscestabs').tabs({ | |
| 24 | - cookie: { | |
| 25 | - // store cookie for a day, without, it would be a session cookie | |
| 26 | - expires: 1 | |
| 27 | - } | |
| 28 | - }); | |
| 29 | - | |
| 30 | - if( '2' == $("input[name='connection']:checked").val() ){ | |
| 31 | - $("#authkey_zeus").css("display", ""); | |
| 32 | - }else{ | |
| 33 | - $("#authkey_zeus").css("display", "none"); | |
| 34 | - $("#3dsecur_zeus_2").attr("checked", "checked"); | |
| 35 | - } | |
| 36 | - $("input[name='connection']").click(function(){ | |
| 37 | - if( '2' == $("input[name='connection']:checked").val() ){ | |
| 38 | - $("#authkey_zeus").css("display", ""); | |
| 39 | - }else{ | |
| 40 | - $("#authkey_zeus").css("display", "none"); | |
| 41 | - $("#3dsecur_zeus_2").attr("checked", "checked"); | |
| 42 | - } | |
| 43 | - }); | |
| 44 | - | |
| 45 | - if( '1' == $("input[name='3dsecur']:checked").val() ){ | |
| 46 | - $("#connection_zeus_2").attr("checked", "checked"); | |
| 47 | - $("#authkey_zeus").css("display", ""); | |
| 48 | - } | |
| 49 | - $("input[name='3dsecur']").click(function(){ | |
| 50 | - if( '1' == $("input[name='3dsecur']:checked").val() ){ | |
| 51 | - $("#connection_zeus_2").attr("checked", "checked"); | |
| 52 | - $("#authkey_zeus").css("display", ""); | |
| 53 | - } | |
| 54 | - }); | |
| 55 | - | |
| 56 | -// if( '1' == $("input[name='security']:checked").val() ){ | |
| 57 | -// $("input[name='quickcharge']").attr("disabled", "disabled"); | |
| 58 | -// $("#quickcharge_zeus_2").attr("checked", "checked"); | |
| 59 | -// }else{ | |
| 60 | -// $("input[name='quickcharge']").removeAttr("disabled"); | |
| 61 | -// } | |
| 62 | -// $("input[name='security']").click(function(){ | |
| 63 | -// if( '1' == $("input[name='security']:checked").val() ){ | |
| 64 | -// $("input[name='quickcharge']").attr("disabled", "disabled"); | |
| 65 | -// $("#quickcharge_zeus_2").attr("checked", "checked"); | |
| 66 | -// }else{ | |
| 67 | -// $("input[name='quickcharge']").removeAttr("disabled"); | |
| 68 | -// } | |
| 69 | -// }); | |
| 70 | -}); | |
| 71 | - | |
| 72 | -function toggleVisibility(id) { | |
| 73 | - var e = document.getElementById(id); | |
| 74 | - if(e.style.display == 'block') | |
| 75 | - e.style.display = 'none'; | |
| 76 | - else | |
| 77 | - e.style.display = 'block'; | |
| 78 | -} | |
| 79 | -</script> | |
| 80 | -<div class="wrap"> | |
| 81 | -<div class="usces_admin"> | |
| 82 | -<h2><?php _e('Settlement Setting','usces'); ?></h2> | |
| 83 | -<div id="aniboxStatus" class="<?php echo $status; ?>"> | |
| 84 | - <div id="anibox" class="clearfix"> | |
| 85 | - <img src="<?php echo USCES_PLUGIN_URL; ?>/images/list_message_<?php echo $status; ?>.gif" /> | |
| 86 | - <div class="mes" id="info_massage"><?php echo $message; ?></div> | |
| 87 | - </div> | |
| 88 | -</div> | |
| 89 | - | |
| 90 | -<div id="poststuff" class="metabox-holder"> | |
| 91 | -<div class="postbox"> | |
| 92 | -<h3 class="hndle"><span><?php _e('Settlement Setting','usces'); ?></span></h3> | |
| 93 | -<div class="inside"> | |
| 94 | -<div id="uscestabs"> | |
| 95 | - | |
| 96 | - <ul> | |
| 97 | - <li><a href="#uscestabs_zeus"><?php _e('ZEUS','usces'); ?></a></li> | |
| 98 | - <li><a href="#uscestabs_remise"><?php _e('Remise','usces'); ?></a></li> | |
| 99 | -<!--20101018ysk start--> | |
| 100 | - <li><a href="#uscestabs_jpayment">J-Payment</a></li> | |
| 101 | -<!--20101018ysk end--> | |
| 102 | -<!--20110208ysk start--> | |
| 103 | - <li><a href="#uscestabs_paypal">PayPal</a></li> | |
| 104 | -<!--20110208ysk end--> | |
| 105 | -<!--20120413ysk start--> | |
| 106 | - <li><a href="#uscestabs_sbps">ソフトバンク・ペイメント</a></li> | |
| 107 | -<!--20120413ysk end--> | |
| 108 | -<!--20120618ysk start--> | |
| 109 | - <li><a href="#uscestabs_telecom">テレコムクレジット</a></li> | |
| 110 | -<!--20120618ysk end--> | |
| 111 | -<!--20121206ysk start--> | |
| 112 | - <li><a href="#uscestabs_digitalcheck">デジタルチェック</a></li> | |
| 113 | -<!--20121206ysk end--> | |
| 114 | -<!--20130225ysk start--> | |
| 115 | - <li><a href="#uscestabs_mizuho">みずほファクター</a></li> | |
| 116 | -<!--20130225ysk end--> | |
| 117 | - </ul> | |
| 118 | - | |
| 119 | - <div id="uscestabs_zeus"> | |
| 120 | - <div class="settlement_service"><span class="service_title"><?php _e('ZEUS Japanese Settlement', 'usces'); ?></span></a></div> | |
| 121 | - | |
| 122 | - <?php if( isset($_POST['acting']) && 'zeus' == $_POST['acting'] ){ ?> | |
| 123 | - <?php if( isset($opts['zeus']['activate']) && 'on' == $opts['zeus']['activate'] ){ ?> | |
| 124 | - <div class="message">十分にテストを行ってから運用してください。</div> | |
| 125 | - <?php }else if( '' != $mes ){ ?> | |
| 126 | - <div class="error_message"><?php echo $mes; ?></div> | |
| 127 | - <?php } ?> | |
| 128 | - <?php } ?> | |
| 129 | - <form action="" method="post" name="zeus_form" id="zeus_form"> | |
| 130 | - <table class="settle_table"> | |
| 131 | - <tr> | |
| 132 | - <th>クレジットカード決済</th> | |
| 133 | - <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> | |
| 134 | - <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> | |
| 135 | - <td colspan="2"></td> | |
| 136 | - </tr> | |
| 137 | - <tr> | |
| 138 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_clid_zeus');"><?php _e('カード決済IPコード', 'usces'); ?></a></th> | |
| 139 | - <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> | |
| 140 | - <td colspan="2"><div id="ex_clid_zeus" class="explanation"><?php _e('契約時にZEUSから発行されるクレジットカード決済用のIPコード(半角数字)', 'usces'); ?></div></td> | |
| 141 | - </tr> | |
| 142 | - <tr> | |
| 143 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_connection_zeus');"><?php _e('接続方式', 'usces'); ?></a></th> | |
| 144 | - <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> | |
| 145 | - <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> | |
| 146 | - <td colspan="2"><div id="ex_connection_zeus" class="explanation"><?php _e('認証接続方法。契約に従って指定する必要があります。', 'usces'); ?></div></td> | |
| 147 | - </tr> | |
| 148 | - <tr id="authkey_zeus"> | |
| 149 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_authkey_zeus');"><?php _e('認証キー', 'usces'); ?></a></th> | |
| 150 | - <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> | |
| 151 | - <td colspan="2"><div id="ex_authkey_zeus" class="explanation"><?php _e('契約時にZEUSから発行されるSecure API用認証キー(半角数字)', 'usces'); ?></div></td> | |
| 152 | - </tr> | |
| 153 | - <tr> | |
| 154 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_3dsecur_zeus');"><?php _e('3Dセキュア(※)', 'usces'); ?></a></th> | |
| 155 | - <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> | |
| 156 | - <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> | |
| 157 | - <td colspan="2"><div id="ex_3dsecur_zeus" class="explanation"><?php _e('3Dセキュアを利用するにはSecure APIを利用した接続が必要です。契約に従って指定する必要があります。', 'usces'); ?></div></td> | |
| 158 | - </tr> | |
| 159 | - <tr> | |
| 160 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_security_zeus');"><?php _e('セキュリティーコード(※)', 'usces'); ?></a></th> | |
| 161 | - <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> | |
| 162 | - <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> | |
| 163 | - <td colspan="2"><div id="ex_security_zeus" class="explanation"><?php _e('セキュリティーコードの入力を必須とするかどうかを指定します。契約に従って指定する必要があります。セキュリティーコードを利用した場合、クイックチャージは利用できません。', 'usces'); ?></div></td> | |
| 164 | - </tr> | |
| 165 | - <tr> | |
| 166 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_quickcharge_zeus');">クイックチャージ</a></th> | |
| 167 | - <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> | |
| 168 | - <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> | |
| 169 | - <td colspan="2"><div id="ex_quickcharge_zeus" class="explanation"><?php _e('ログインして一度購入したメンバーは、次の購入時にはカード番号を入力する必要がなくなります。', 'usces'); ?></div></td> | |
| 170 | - </tr> | |
| 171 | - <?php if( defined('WCEX_AUTO_DELIVERY') ): ?> | |
| 172 | - <tr> | |
| 173 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_batch_zeus');">バッチ処理</a></th> | |
| 174 | - <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> | |
| 175 | - <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> | |
| 176 | - <td colspan="2"><div id="ex_batch_zeus" class="explanation"><?php _e('ゼウス決済を定期購入でご利用の場合は、「利用する」にしてください。また、クイックチャージも「利用する」にしてください。', 'usces'); ?></div></td> | |
| 177 | - </tr> | |
| 178 | - <?php endif; ?> | |
| 179 | - <tr> | |
| 180 | - <th>お客様の支払方法</th> | |
| 181 | - <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> | |
| 182 | - <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> | |
| 183 | - <td colspan="2"></td> | |
| 184 | - </tr> | |
| 185 | - </table> | |
| 186 | - <table class="settle_table"> | |
| 187 | - <tr> | |
| 188 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_zeus');">入金お任せサービス</a></th> | |
| 189 | - <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> | |
| 190 | - <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> | |
| 191 | - <td><div id="ex_bank_zeus" class="explanation"><?php _e('銀行振り込み支払いの自動照会機能です。振込みが有った場合、自動的に入金済みになり、入金確認メールが自動送信されます。', 'usces'); ?></div></td> | |
| 192 | - </tr> | |
| 193 | - <tr> | |
| 194 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_clid_zeus');"><?php _e('入金お任せIPコード', 'usces'); ?></a></th> | |
| 195 | - <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> | |
| 196 | - <td><div id="ex_bank_clid_zeus" class="explanation"><?php _e('契約時にZEUSから発行される入金お任せサービス用のIPコード(半角数字)', 'usces'); ?></div></td> | |
| 197 | - </tr> | |
| 198 | -<!-- <tr> | |
| 199 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_testid_zeus');"><?php _e('テストカード番号', 'usces'); ?></a></th> | |
| 200 | - <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> | |
| 201 | - <td><div id="ex_bank_testid_zeus" class="explanation"><?php _e('契約時にZEUSから発行される入金お任せサービス接続テストで必要なカード番号です。(半角数字)<br />本稼動の場合は空白にしてください。', 'usces'); ?></div></td> | |
| 202 | - </tr> | |
| 203 | - </table> | |
| 204 | - <table class="settle_table"> | |
| 205 | - <tr> | |
| 206 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_zeus');">コンビニ決済サービス</a></th> | |
| 207 | - <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> | |
| 208 | - <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> | |
| 209 | - <td colspan="2"></td> | |
| 210 | - <td><div id="ex_conv_zeus" class="explanation"><?php _e('コンビニ支払いができる決済サービスです。払い込みが有った場合、自動的に入金済みになります。', 'usces'); ?></div></td> | |
| 211 | - </tr> | |
| 212 | - <tr> | |
| 213 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_clid_zeus');"><?php _e('コンビニ決済IPコード', 'usces'); ?></a></th> | |
| 214 | - <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> | |
| 215 | - <td><div id="ex_conv_clid_zeus" class="explanation"><?php _e('契約時にZEUSから発行されるコンビニ決済サービス用のIPコード(半角数字)', 'usces'); ?></div></td> | |
| 216 | - </tr> | |
| 217 | -<!-- <tr> | |
| 218 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testid_zeus');"><?php _e('テストカード番号', 'usces'); ?></a></th> | |
| 219 | - <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> | |
| 220 | - <td><div id="ex_conv_testid_zeus" class="explanation"><?php _e('契約時にZEUSから発行されるコンビニ決済サービス接続テストで必要なカード番号です。(半角数字)<br />本稼動の場合は空白にしてください。', 'usces'); ?></div></td> | |
| 221 | - </tr> | |
| 222 | - <tr> | |
| 223 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_testtype_zeus');">テストタイプ</a></th> | |
| 224 | - <td><input name="test_type" type="radio" id="conv_testtype_zeus_1" value="0"<?php if( isset($opts['zeus']['test_type_conv']) && WCUtils::is_zero($opts['zeus']['test_type_conv']) ) echo ' checked="checked"'; ?> /></td><td><label for="conv_testtype_zeus_1">入金テスト無し</label></td> | |
| 225 | - <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> | |
| 226 | - <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> | |
| 227 | - <td><div id="ex_conv_testtype_zeus" class="explanation"><?php _e('テスト環境でのテストタイプを指定します。テストカード番号が空白のときはこの項目は無効になります。', 'usces'); ?></div></td> | |
| 228 | - </tr> | |
| 229 | - </table> | |
| 230 | - <input name="conv_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/cvs.cgi" /> | |
| 231 | - <input name="bank_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/ebank.cgi" /> | |
| 232 | - <input name="card_url" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure.cgi" /> | |
| 233 | - <input name="card_secureurl" type="hidden" value="https://linkpt.cardservice.co.jp/cgi-bin/secure/api.cgi" /> | |
| 234 | - <input name="ipaddrs[]" type="hidden" value="210.164.6.67" /> | |
| 235 | - <input name="ipaddrs[]" type="hidden" value="202.221.139.50" /> | |
| 236 | - <input name="pay_cvs[D001]" type="hidden" value="セブンイレブン" /> | |
| 237 | - <input name="pay_cvs[D002]" type="hidden" value="ローソン" /> | |
| 238 | - <input name="pay_cvs[D030]" type="hidden" value="ファミリーマート" /> | |
| 239 | - <input name="pay_cvs[D040]" type="hidden" value="サークルKサンクス" /> | |
| 240 | - <input name="pay_cvs[D015]" type="hidden" value="セイコーマート" /> | |
| 241 | - <input name="acting" type="hidden" value="zeus" /> | |
| 242 | - <input name="usces_option_update" type="submit" class="button" value="ゼウスの設定を更新する" /> | |
| 243 | - </form> | |
| 244 | - <div class="settle_exp"> | |
| 245 | - <p><strong><?php _e('ZEUS Japanese Settlement', 'usces'); ?></strong></p> | |
| 246 | - <a href="http://www.cardservice.co.jp/" target="_blank">ゼウス決済サービスの詳細はこちら 》</a> | |
| 247 | - <p> </p> | |
| 248 | - <p>この決済は「埋め込み型」の決済システムです。</p> | |
| 249 | - <p>「埋め込み型」とは、決済会社のページへは遷移せず、Welcart のページのみで完結する決済システムです。<br /> | |
| 250 | - デザインの統一されたスタイリッシュな決済が可能です。但し、カード番号を扱いますので専用SSLが必須となります。</p> | |
| 251 | - <p>カード番号はZEUS のシステムに送信されるだけで、Welcart に記録は残しません。</p> | |
| 252 | - <p> </p> | |
| 253 | - <p>※ 3Dセキュアとセキュリティーコード </p> | |
| 254 | - <p>3Dセキュアとおよびセキュリティーコードの利用は、決済サービス契約時に決定します。契約内容に従って指定しないと正常に動作しませんのでご注意ください。<br /> | |
| 255 | - また、セキュリティーコードを利用した場合はクイックチャージが利用できなくなります。詳しくは<a href="http://www.cardservice.co.jp/" target="_blank">株式会社ゼウス</a>(代表:03-3498-9030)にお問い合わせください。</p> | |
| 256 | - <!--<p><strong>テスト稼動について</strong></p> | |
| 257 | - <p>入金お任せ及びコンビニ決済のテスト稼動を行なう際は、”テストカード番号”の項目にゼウスから発行されるテストカード番号を入力して下さい。<br /> | |
| 258 | - これを入力することでWelcart は、名前の後ろにテストカード番号を自動的に付けるなどテストモードで動作します。通常の購入方法でテストができます。<br /> | |
| 259 | - また、この項目を空白にすることで本稼動となります。</p>--> | |
| 260 | - </div> | |
| 261 | - </div><!--uscestabs_zeus--> | |
| 262 | - | |
| 263 | - <div id="uscestabs_remise"> | |
| 264 | - <div class="settlement_service"><span class="service_title"><?php _e('Remise Japanese Settlement', 'usces'); ?></span></div> | |
| 265 | - | |
| 266 | - <?php if( isset($_POST['acting']) && 'remise' == $_POST['acting'] ){ ?> | |
| 267 | - <?php if( isset($opts['remise']['activate']) && 'on' == $opts['remise']['activate'] ){ ?> | |
| 268 | - <div class="message">十分にテストを行ってから運用してください。</div> | |
| 269 | - <?php }else if( '' != $mes ){ ?> | |
| 270 | - <div class="error_message"><?php echo $mes; ?></div> | |
| 271 | - <?php } ?> | |
| 272 | - <?php } ?> | |
| 273 | - <form action="" method="post" name="remise_form" id="remise_form"> | |
| 274 | - <table class="settle_table"> | |
| 275 | -<!-- <tr> | |
| 276 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_plan_remise');"><?php _e('契約プラン', 'usces'); ?></a></th> | |
| 277 | - <td> | |
| 278 | - <select name="plan" id="plan_remise"> | |
| 279 | - <option value="0"<?php echo( ( isset($opts['remise']['plan']) && '0' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>-------------------------</option> | |
| 280 | - <option value="1"<?php echo( ( isset($opts['remise']['plan']) && '1' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>スーパーバリュープラン</option> | |
| 281 | - <option value="2"<?php echo( ( isset($opts['remise']['plan']) && '2' === $opts['remise']['plan']) ? ' selected="selected"' : '' ); ?>>ライトプラン</option> | |
| 282 | - </select> | |
| 283 | - </td> | |
| 284 | - <td><div id="ex_plan_remise" class="explanation"><?php _e('ルミーズと契約したサービスプランを選択してください。<br />契約が変更したい場合はルミーズへお問合せください。', 'usces'); ?></div></td> | |
| 285 | - </tr> | |
| 286 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_SHOPCO_remise');"><?php _e('加盟店コード', 'usces'); ?></a></th> | |
| 287 | - <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> | |
| 288 | - <td><div id="ex_SHOPCO_remise" class="explanation"><?php _e('契約時にルミーズから発行される加盟店コード(半角英数)', 'usces'); ?></div></td> | |
| 289 | - </tr> | |
| 290 | - <tr> | |
| 291 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_HOSTID_remise');"><?php _e('ホスト番号', 'usces'); ?></a></th> | |
| 292 | - <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> | |
| 293 | - <td><div id="ex_HOSTID_remise" class="explanation"><?php _e('契約時にルミーズから割り当てられるホスト番号(半角数字)', 'usces'); ?></div></td> | |
| 294 | - </tr> | |
| 295 | - </table> | |
| 296 | - <table class="settle_table"> | |
| 297 | - <tr> | |
| 298 | - <th>クレジットカード決済</th> | |
| 299 | - <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> | |
| 300 | - <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> | |
| 301 | - <td><div></div></td> | |
| 302 | - </tr> | |
| 303 | - <tr> | |
| 304 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_remise');">ジョブコード</a></th> | |
| 305 | -<!-- <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> | |
| 306 | - <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> | |
| 307 | - <td><div id="ex_card_jb_remise" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td> | |
| 308 | - </tr> | |
| 309 | - <tr> | |
| 310 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_payquick_remise');">ペイクイック機能</a></th> | |
| 311 | - <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> | |
| 312 | - <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> | |
| 313 | - <td><div id="ex_payquick_remise" class="explanation"><?php _e('Welcart の会員システムを利用している場合、会員に対して2回目以降の決済の際、クレジットカード番号、有効期限、名義人の入力が不要となります。<br />クレジットカード情報はWelcart では保存せず、「ルミーズ」のデータベースにて安全に保管されます。', 'usces'); ?></div></td> | |
| 314 | - </tr> | |
| 315 | - <tr> | |
| 316 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_howpay_remise');">お客様の支払方法</a></th> | |
| 317 | - <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> | |
| 318 | - <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> | |
| 319 | - <td><div id="ex_howpay_remise" class="explanation"><?php _e('「一括払い」以外をご利用の場合はルミーズ側の設定が必要となります。前もってルミーズにお問合せください。<br >「スーパーバリュープラン」の場合は「一括払いのみ」を選択してください。', 'usces'); ?></div></td> | |
| 320 | - </tr> | |
| 321 | - <?php if( defined('WCEX_DLSELLER') ): ?> | |
| 322 | - <tr> | |
| 323 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_remise');">自動継続課金</a></th> | |
| 324 | - <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> | |
| 325 | - <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> | |
| 326 | - <td><div id="ex_continuation_remise" class="explanation"><?php _e('定期的に発生する月会費などの煩わしい課金処理を完全に自動化することができる機能です。<br />詳しくは「ルミーズ」にお問合せください。', 'usces'); ?></div></td> | |
| 327 | - </tr> | |
| 328 | - <?php endif; ?> | |
| 329 | - <tr> | |
| 330 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pc_ope_remise');">稼働環境</a></th> | |
| 331 | - <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> | |
| 332 | - <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> | |
| 333 | - <td><div id="ex_card_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td> | |
| 334 | - </tr> | |
| 335 | - <tr> | |
| 336 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th> | |
| 337 | - <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> | |
| 338 | - <td><div id="ex_send_url_pc_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td> | |
| 339 | - </tr> | |
| 340 | - <?php if( defined('WCEX_MOBILE') ): ?> | |
| 341 | - <tr> | |
| 342 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th> | |
| 343 | - <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> | |
| 344 | - <td><div id="ex_send_url_mbl_remise" class="explanation"><?php _e('クレジットカード決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td> | |
| 345 | - </tr> | |
| 346 | - <?php endif; ?> | |
| 347 | - </table> | |
| 348 | - <table class="settle_table"> | |
| 349 | - <tr> | |
| 350 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_remise');">コンビニ・電子マネー決済</a></th> | |
| 351 | - <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> | |
| 352 | - <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> | |
| 353 | - <td><div id="ex_conv_remise" class="explanation"><?php _e('コンビニ・電子マネー決済を利用するかどうか', 'usces'); ?></div></td> | |
| 354 | - </tr> | |
| 355 | - <tr> | |
| 356 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_paydate_remise');"><?php _e('支払期限', 'usces'); ?></a></th> | |
| 357 | - <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> | |
| 358 | - <td><div id="ex_paydate_remise" class="explanation"><?php _e('日数を設定します。(半角数字)', 'usces'); ?></div></td> | |
| 359 | - </tr> | |
| 360 | - <tr> | |
| 361 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_pc_ope_remise');">稼働環境</a></th> | |
| 362 | - <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> | |
| 363 | - <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> | |
| 364 | - <td><div id="ex_conv_pc_ope_remise" class="explanation"><?php _e('動作環境を切り替えます', 'usces'); ?></div></td> | |
| 365 | - </tr> | |
| 366 | - <tr> | |
| 367 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_pc_remise');"><?php _e('本番URL(PC)', 'usces'); ?></a></th> | |
| 368 | - <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> | |
| 369 | - <td><div id="ex_send_url_cvs_pc_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(PC)で接続するURLを設定します。', 'usces'); ?></div></td> | |
| 370 | - </tr> | |
| 371 | - <?php if( defined('WCEX_MOBILE') ): ?> | |
| 372 | - <tr> | |
| 373 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_cvs_mbl_remise');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th> | |
| 374 | - <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> | |
| 375 | - <td><div id="ex_send_url_cvs_mbl_remise" class="explanation"><?php _e('コンビニ・電子マネー決済の本番環境(携帯)で接続するURLを設定します。', 'usces'); ?></div></td> | |
| 376 | - </tr> | |
| 377 | - <?php endif; ?> | |
| 378 | - </table> | |
| 379 | - <input name="send_url_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/card/paycard.aspx" /> | |
| 380 | - <input name="send_url_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/card/paycard.aspx" /> | |
| 381 | - <input name="send_url_cvs_pc_test" type="hidden" value="https://test.remise.jp/rpgw2/pc/cvs/paycvs.aspx" /> | |
| 382 | - <input name="send_url_cvs_mbl_test" type="hidden" value="https://test.remise.jp/rpgw2/mbl/cvs/paycvs.aspx" /> | |
| 383 | - <input name="REMARKS3" type="hidden" value="A0000875" /> | |
| 384 | - <input name="acting" type="hidden" value="remise" /> | |
| 385 | - <input name="usces_option_update" type="submit" class="button" value="ルミーズの設定を更新する" /> | |
| 386 | - </form> | |
| 387 | - <div class="settle_exp"> | |
| 388 | - <p><strong><?php _e('Remise Japanese Settlement', 'usces'); ?></strong></p> | |
| 389 | - <a href="http://www.remise.jp/" target="_blank">ルミーズ決済サービスの詳細はこちら 》</a> | |
| 390 | - <p> </p> | |
| 391 | - <p>この決済は「外部リンク型」の決済システムです。</p> | |
| 392 | - <p>「外部リンク型」とは、決済会社のページへは遷移してカード情報を入力する決済システムです。</p> | |
| 393 | - <p>「自動継続課金」を利用するには「DL Seller」拡張プラグインのインストールが必要です。</p> | |
| 394 | - </div> | |
| 395 | - </div><!--uscestabs_remise--> | |
| 396 | - | |
| 397 | -<!--20101018ysk start--> | |
| 398 | - <div id="uscestabs_jpayment"> | |
| 399 | - <div class="settlement_service"><span class="service_title"><?php _e('J-Payment Japanese Settlement', 'usces'); ?></span></div> | |
| 400 | - | |
| 401 | - <?php if( isset($_POST['acting']) && 'jpayment' == $_POST['acting'] ){ ?> | |
| 402 | - <?php if( isset($opts['jpayment']['activate']) && 'on' == $opts['jpayment']['activate'] ){ ?> | |
| 403 | - <div class="message">十分にテストを行ってから運用してください。</div> | |
| 404 | - <?php }else if( '' != $mes ){ ?> | |
| 405 | - <div class="error_message"><?php echo $mes; ?></div> | |
| 406 | - <?php } ?> | |
| 407 | - <?php } ?> | |
| 408 | - <form action="" method="post" name="jpayment_form" id="jpayment_form"> | |
| 409 | - <table class="settle_table"> | |
| 410 | - <tr> | |
| 411 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_aid_jpayment');"><?php _e('店舗ID', 'usces'); ?></a></th> | |
| 412 | - <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> | |
| 413 | - <td><div id="ex_aid_jpayment" class="explanation"><?php _e('契約時にJ-Paymentから発行される店舗ID(半角数字)', 'usces'); ?></div></td> | |
| 414 | - </tr> | |
| 415 | - </table> | |
| 416 | - <table class="settle_table"> | |
| 417 | - <tr> | |
| 418 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jpayment');">クレジットカード決済</a></th> | |
| 419 | - <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> | |
| 420 | - <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> | |
| 421 | - <td><div id="ex_card_jpayment" class="explanation"><?php _e('クレジットカード決済を利用するかどうか<br />※自動継続課金には対応していません。', 'usces'); ?></div></td> | |
| 422 | - </tr> | |
| 423 | - <tr> | |
| 424 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_jb_jpayment');">ジョブタイプ</a></th> | |
| 425 | -<!-- <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> | |
| 426 | - <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> | |
| 427 | - <td><div id="ex_card_jb_jpayment" class="explanation"><?php _e('決済の種類を指定します', 'usces'); ?></div></td> | |
| 428 | - </tr> | |
| 429 | - </table> | |
| 430 | - <table class="settle_table"> | |
| 431 | - <tr> | |
| 432 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_jpayment');">コンビニ決済</a></th> | |
| 433 | - <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> | |
| 434 | - <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> | |
| 435 | - <td><div id="ex_conv_jpayment" class="explanation"><?php _e('コンビニ(ペーパーレス)決済を利用するかどうか', 'usces'); ?></div></td> | |
| 436 | - </tr> | |
| 437 | - </table> | |
| 438 | -<!-- | |
| 439 | - <table class="settle_table"> | |
| 440 | - <tr> | |
| 441 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_webm_jpayment');">WebMoney決済</a></th> | |
| 442 | - <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> | |
| 443 | - <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> | |
| 444 | - <td><div></div></td><td><div></div></td> | |
| 445 | - <td><div id="ex_webm_jpayment" class="explanation"><?php _e('電子マネー(WebMoney)決済を利用するかどうか', 'usces'); ?></div></td> | |
| 446 | - </tr> | |
| 447 | - </table> | |
| 448 | - <table class="settle_table"> | |
| 449 | - <tr> | |
| 450 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bitc_jpayment');">BitCash決済</a></th> | |
| 451 | - <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> | |
| 452 | - <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> | |
| 453 | - <td><div id="ex_bitc_jpayment" class="explanation"><?php _e('電子マネー(BitCash)決済を利用するかどうか', 'usces'); ?></div></td> | |
| 454 | - </tr> | |
| 455 | - </table> | |
| 456 | - <table class="settle_table"> | |
| 457 | - <tr> | |
| 458 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_suica_jpayment');">モバイルSuica決済</a></th> | |
| 459 | - <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> | |
| 460 | - <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> | |
| 461 | - <td><div id="ex_suica_jpayment" class="explanation"><?php _e('電子マネー(モバイルSuica)決済を利用するかどうか', 'usces'); ?></div></td> | |
| 462 | - </tr> | |
| 463 | - </table> | |
| 464 | - <table class="settle_table"> | |
| 465 | - <tr> | |
| 466 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_bank_jpayment');">バンクチェック決済</a></th> | |
| 467 | - <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> | |
| 468 | - <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> | |
| 469 | - <td><div id="ex_bank_jpayment" class="explanation"><?php _e('バンクチェック決済を利用するかどうか', 'usces'); ?></div></td> | |
| 470 | - </tr> | |
| 471 | - </table> | |
| 472 | - <input name="send_url" type="hidden" value="https://credit.j-payment.co.jp/gateway/payform.aspx" /> | |
| 473 | - <input name="acting" type="hidden" value="jpayment" /> | |
| 474 | - <input name="usces_option_update" type="submit" class="button" value="J-Paymentの設定を更新する" /> | |
| 475 | - </form> | |
| 476 | - <div class="settle_exp"> | |
| 477 | - <p><strong><?php _e('J-Payment Japanese Settlement', 'usces'); ?></strong></p> | |
| 478 | - <a href="http://www.j-payment.co.jp/" target="_blank">J-Payment決済サービスの詳細はこちら 》</a> | |
| 479 | - <p> </p> | |
| 480 | - <p>この決済は「外部リンク型」の決済システムです。</p> | |
| 481 | - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p> | |
| 482 | - </div> | |
| 483 | - </div><!--uscestabs_jpayment--> | |
| 484 | -<!--20101018ysk end--> | |
| 485 | -<!--20110208ysk start--> | |
| 486 | - <div id="uscestabs_paypal"> | |
| 487 | - <div class="settlement_service"><span class="service_title"><?php _e('PayPal Express Checkout', 'usces'); ?></span></div> | |
| 488 | - | |
| 489 | - <?php if( isset($_POST['acting']) && 'paypal' == $_POST['acting'] ){ ?> | |
| 490 | - <?php if( isset($opts['paypal']['activate']) && 'on' == $opts['paypal']['activate'] ){ ?> | |
| 491 | - <div class="message"><?php _e('Test thoroughly before use.', 'usces'); ?></div> | |
| 492 | - <?php }else if( '' != $mes ){ ?> | |
| 493 | - <div class="error_message"><?php echo $mes; ?></div> | |
| 494 | - <?php } ?> | |
| 495 | - <?php } ?> | |
| 496 | - <form action="" method="post" name="paypal_form" id="paypal_form"> | |
| 497 | - <table class="settle_table"> | |
| 498 | - <tr> | |
| 499 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ec_activate_paypal');"><?php _e('PayPal Settlement', 'usces'); ?></a></th> | |
| 500 | - <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> | |
| 501 | - <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> | |
| 502 | - <td><div id="ex_ec_activate_paypal" class="explanation"><?php _e('Choose if to use PayPal settlement.', 'usces'); ?></div></td> | |
| 503 | - </tr> | |
| 504 | - <tr> | |
| 505 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_sandbox_paypal');"><?php _e('Operation Environment', 'usces'); ?></a></th> | |
| 506 | - <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> | |
| 507 | - <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> | |
| 508 | - <td><div id="ex_sandbox_paypal" class="explanation"><?php _e("Choose 'Test (Sandbox)' when testing payment settlement by Sandbox.", 'usces'); ?></div></td> | |
| 509 | - </tr> | |
| 510 | - <tr> | |
| 511 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_user_paypal');"><?php _e('API User Name', 'usces'); ?></a></th> | |
| 512 | - <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> | |
| 513 | - <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> | |
| 514 | - </tr> | |
| 515 | - <tr> | |
| 516 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_pwd_paypal');"><?php _e('API Password', 'usces'); ?></a></th> | |
| 517 | - <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> | |
| 518 | - <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> | |
| 519 | - </tr> | |
| 520 | - <tr> | |
| 521 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_signature_paypal');"><?php _e('Signature', 'usces'); ?></a></th> | |
| 522 | - <td colspan="4"><input name="signature" type="text" id="signature_paypal" value="<?php echo esc_html(isset($opts['paypal']['signature']) ? $opts['paypal']['signature'] : ''); ?>" size="50" /></td> | |
| 523 | - <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> | |
| 524 | - </tr> | |
| 525 | -<!--20110412ysk start--> | |
| 526 | - <?php if( defined('WCEX_DLSELLER') ): ?> | |
| 527 | - <tr> | |
| 528 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_paypal');"><?php _e('Recurring Payment', 'usces'); ?></a></th> | |
| 529 | - <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> | |
| 530 | - <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> | |
| 531 | - <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> | |
| 532 | - </tr> | |
| 533 | - <?php endif; ?> | |
| 534 | -<!--20110412ysk end--> | |
| 535 | - </table> | |
| 536 | - <input name="acting" type="hidden" value="paypal" /> | |
| 537 | - <input name="usces_option_update" type="submit" class="button" value="<?php _e('Update PayPal Settings', 'usces'); ?>" /> | |
| 538 | - </form> | |
| 539 | - <div class="settle_exp"> | |
| 540 | - <p><strong><?php _e('PayPal Express Checkout', 'usces'); ?></strong></p> | |
| 541 | - <a href="https://www.paypal.com/" target="_blank"><?php _e('For the details on PayPal settlement service, click here >>', 'usces'); ?></a> | |
| 542 | - <p> </p> | |
| 543 | - <p><?php _e("This settlement uses 'Express Checkout'.", 'usces'); ?></p> | |
| 544 | - <p><?php _e("If the 'OpenSSL' module is not installed in the server you're using, you cannot settle payments by 'ExpressCheckout'.", 'usces'); ?></p> | |
| 545 | - </div> | |
| 546 | - </div><!--uscestabs_paypal--> | |
| 547 | -<!--20110208ysk end--> | |
| 548 | -<!--20120413ysk start--> | |
| 549 | - <div id="uscestabs_sbps"> | |
| 550 | - <div class="settlement_service"><span class="service_title">ソフトバンク・ペイメント・サービス</span></div> | |
| 551 | - | |
| 552 | - <?php if( isset($_POST['acting']) && 'sbps' == $_POST['acting'] ){ ?> | |
| 553 | - <?php if( isset($opts['sbps']['activate']) && 'on' == $opts['sbps']['activate'] ){ ?> | |
| 554 | - <div class="message">十分にテストを行ってから運用してください。</div> | |
| 555 | - <?php }else if( '' != $mes ){ ?> | |
| 556 | - <div class="error_message"><?php echo $mes; ?></div> | |
| 557 | - <?php } ?> | |
| 558 | - <?php } ?> | |
| 559 | - <form action="" method="post" name="sbps_form" id="sbps_form"> | |
| 560 | - <table class="settle_table"> | |
| 561 | - <tr> | |
| 562 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_merchant_id_sbps');">マーチャントID</a></th> | |
| 563 | - <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> | |
| 564 | - <td><div id="ex_merchant_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるマーチャントID(半角数字)', 'usces'); ?></div></td> | |
| 565 | - </tr> | |
| 566 | - <tr> | |
| 567 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_service_id_sbps');">サービスID</a></th> | |
| 568 | - <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> | |
| 569 | - <td><div id="ex_service_id_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行されるサービスID(半角数字)', 'usces'); ?></div></td> | |
| 570 | - </tr> | |
| 571 | - <tr> | |
| 572 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_key_sbps');">Hash KEY</a></th> | |
| 573 | - <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> | |
| 574 | - <td><div id="ex_hash_key_sbps" class="explanation"><?php _e('契約時にソフトバンク・ペイメント・サービスから発行される Hash KEY(半角英数)', 'usces'); ?></div></td> | |
| 575 | - </tr> | |
| 576 | - <tr> | |
| 577 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_sbps');"><?php _e('Operation Environment', 'usces'); ?></a></th> | |
| 578 | - <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> | |
| 579 | - <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> | |
| 580 | - <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> | |
| 581 | - <td><div id="ex_ope_sbps" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td> | |
| 582 | - </tr> | |
| 583 | - <tr> | |
| 584 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_sbps');"><?php _e('本番URL', 'usces'); ?></a></th> | |
| 585 | - <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> | |
| 586 | - <td><div id="ex_send_url_sbps" class="explanation"><?php _e('本番環境で接続するURLを設定します。「購入要求(画面遷移要求)」に示されるURLを入力してください。', 'usces'); ?></div></td> | |
| 587 | - </tr> | |
| 588 | - </table> | |
| 589 | - <table class="settle_table"> | |
| 590 | - <tr> | |
| 591 | - <th>クレジットカード決済</th> | |
| 592 | - <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> | |
| 593 | - <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> | |
| 594 | - <td></td> | |
| 595 | - </tr> | |
| 596 | - <tr> | |
| 597 | - <th>3Dセキュア</th> | |
| 598 | - <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> | |
| 599 | - <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> | |
| 600 | - <td></td> | |
| 601 | - </tr> | |
| 602 | - <?php if( defined('WCEX_DLSELLER') ): ?> | |
| 603 | -<!-- <tr> | |
| 604 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_continuation_sbps');">簡易継続課金</a></th> | |
| 605 | - <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> | |
| 606 | - <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> | |
| 607 | - <td><div id="ex_continuation_sbps" class="explanation"><?php _e('定期的に発生する月会費などの煩わしい課金処理を完全に自動化することができる機能です。<br />詳しくはソフトバンク・ペイメント・サービスにお問合せください。', 'usces'); ?></div></td> | |
| 608 | - </tr> | |
| 609 | - </table> | |
| 610 | - <table class="settle_table"> | |
| 611 | - <tr> | |
| 612 | - <th>WEBコンビニ決済</th> | |
| 613 | - <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> | |
| 614 | - <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> | |
| 615 | - <td></td> | |
| 616 | - </tr> | |
| 617 | - </table> | |
| 618 | - <table class="settle_table"> | |
| 619 | - <tr> | |
| 620 | - <th>ペイジー決済</th> | |
| 621 | - <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> | |
| 622 | - <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> | |
| 623 | - <td></td> | |
| 624 | - </tr> | |
| 625 | - </table> | |
| 626 | - <table class="settle_table"> | |
| 627 | - <tr> | |
| 628 | - <th>ヤフーウォレット決済</th> | |
| 629 | - <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> | |
| 630 | - <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> | |
| 631 | - <td></td> | |
| 632 | - </tr> | |
| 633 | - <tr> | |
| 634 | - <th>楽天あんしん決済</th> | |
| 635 | - <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> | |
| 636 | - <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> | |
| 637 | - <td></td> | |
| 638 | - </tr> | |
| 639 | - <tr> | |
| 640 | - <th>ペイパル</th> | |
| 641 | - <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> | |
| 642 | - <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> | |
| 643 | - <td></td> | |
| 644 | - </tr> | |
| 645 | - <tr> | |
| 646 | - <th>ネットマイル</th> | |
| 647 | - <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> | |
| 648 | - <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> | |
| 649 | - <td></td> | |
| 650 | - </tr> | |
| 651 | - <tr> | |
| 652 | - <th>アリペイ国際決済</th> | |
| 653 | - <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> | |
| 654 | - <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> | |
| 655 | - <td></td> | |
| 656 | - </tr> | |
| 657 | - </table> | |
| 658 | - <table class="settle_table"> | |
| 659 | - <tr> | |
| 660 | - <th>DoCoMoケータイ支払い</th> | |
| 661 | - <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> | |
| 662 | - <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> | |
| 663 | - <td></td> | |
| 664 | - </tr> | |
| 665 | - <tr> | |
| 666 | - <th>S!まとめて決済</th> | |
| 667 | - <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> | |
| 668 | - <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> | |
| 669 | - <td></td> | |
| 670 | - </tr> | |
| 671 | - <tr> | |
| 672 | - <th>auかんたん決済</th> | |
| 673 | - <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> | |
| 674 | - <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> | |
| 675 | - <td></td> | |
| 676 | - </tr> | |
| 677 | - <tr> | |
| 678 | - <th>ソフトバンク<br />まとめて支払い</th> | |
| 679 | - <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> | |
| 680 | - <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> | |
| 681 | - <td></td> | |
| 682 | - </tr> | |
| 683 | - </table> | |
| 684 | - <input name="send_url_check" type="hidden" value="https://stbfep.sps-system.com/Extra/BuyRequestAction.do" /> | |
| 685 | - <input name="send_url_test" type="hidden" value="https://stbfep.sps-system.com/f01/FepBuyInfoReceive.do" /> | |
| 686 | - <input name="acting" type="hidden" value="sbps" /> | |
| 687 | - <input name="usces_option_update" type="submit" class="button" value="ソフトバンク・ペイメントの設定を更新する" /> | |
| 688 | - </form> | |
| 689 | - <div class="settle_exp"> | |
| 690 | - <p><strong>ソフトバンク・ペイメント・サービス</strong></p> | |
| 691 | - <a href="http://www.welcart.com/wc-settlement/sbps_guide/" target="_blank">ソフトバンク・ペイメント・サービスの詳細はこちら 》</a> | |
| 692 | - <p> </p> | |
| 693 | - <p>この決済は「外部リンク型」の決済システムです。</p> | |
| 694 | - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p> | |
| 695 | - <!--<p>「簡易継続課金」を利用するには「DL Seller」拡張プラグインのインストールが必要です。</p>--> | |
| 696 | - <p>尚、本番環境では、正規SSL証明書のみでのSSL通信となりますのでご注意ください。</p> | |
| 697 | - </div> | |
| 698 | - </div><!--uscestabs_sbps--> | |
| 699 | -<!--20120413ysk end--> | |
| 700 | -<!--20120618ysk start--> | |
| 701 | - <div id="uscestabs_telecom"> | |
| 702 | - <div class="settlement_service"><span class="service_title">テレコムクレジット</span></div> | |
| 703 | - <?php if( isset($_POST['acting']) && 'telecom' == $_POST['acting'] ){ ?> | |
| 704 | - <?php if( isset($opts['telecom']['activate']) && 'on' == $opts['telecom']['activate'] ){ ?> | |
| 705 | - <div class="message">十分にテストを行ってから運用してください。</div> | |
| 706 | - <?php }else if( '' != $mes ){ ?> | |
| 707 | - <div class="error_message"><?php echo $mes; ?></div> | |
| 708 | - <?php } ?> | |
| 709 | - <?php } ?> | |
| 710 | - <form action="" method="post" name="telecom_form" id="telecom_form"> | |
| 711 | - <table class="settle_table"> | |
| 712 | - <tr> | |
| 713 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_clientip_telecom');">クライアントIP</a></th> | |
| 714 | - <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> | |
| 715 | - <td><div id="ex_clientip_telecom" class="explanation"><?php _e('契約時にテレコムクレジットから発行されるクライアントIP(半角数字)', 'usces'); ?></div></td> | |
| 716 | - </tr> | |
| 717 | - <tr> | |
| 718 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_stype_telecom');">決済タイプ</a></th> | |
| 719 | - <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> | |
| 720 | - <td><div id="ex_stype_telecom" class="explanation"><?php _e('設定依頼書に記載されている決済タイプ。', 'usces'); ?></div></td> | |
| 721 | - </tr> | |
| 722 | - </table> | |
| 723 | - <table class="settle_table"> | |
| 724 | - <tr> | |
| 725 | - <th>クレジットカード決済</th> | |
| 726 | - <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> | |
| 727 | - <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> | |
| 728 | - <td></td> | |
| 729 | - </tr> | |
| 730 | - </table> | |
| 731 | -<!-- | |
| 732 | - <table class="settle_table"> | |
| 733 | - <tr> | |
| 734 | - <th>Edy決済</th> | |
| 735 | - <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> | |
| 736 | - <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> | |
| 737 | - <td></td> | |
| 738 | - </tr> | |
| 739 | - </table> | |
| 740 | - <input name="acting" type="hidden" value="telecom" /> | |
| 741 | - <input name="usces_option_update" type="submit" class="button" value="テレコムクレジットの設定を更新する" /> | |
| 742 | - </form> | |
| 743 | - <div class="settle_exp"> | |
| 744 | - <p><strong>テレコムクレジット</strong></p> | |
| 745 | - <a href="http://www.telecomcredit.co.jp/" target="_blank">テレコムクレジットの詳細はこちら 》</a> | |
| 746 | - <p> </p> | |
| 747 | - <p>この決済は「外部リンク型」の決済システムです。</p> | |
| 748 | - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p> | |
| 749 | - </div> | |
| 750 | - </div><!--uscestabs_telecom--> | |
| 751 | -<!--20120618ysk end--> | |
| 752 | - | |
| 753 | -<!--20121206ysk start--> | |
| 754 | - <div id="uscestabs_digitalcheck"> | |
| 755 | - <div class="settlement_service"><span class="service_title">デジタルチェック</span></div> | |
| 756 | - <?php if( isset($_POST['acting']) && 'digitalcheck' == $_POST['acting'] ){ ?> | |
| 757 | - <?php if( isset($opts['digitalcheck']['activate']) && 'on' == $opts['digitalcheck']['activate'] ){ ?> | |
| 758 | - <div class="message">十分にテストを行ってから運用してください。</div> | |
| 759 | - <?php }else if( '' != $mes ){ ?> | |
| 760 | - <div class="error_message"><?php echo $mes; ?></div> | |
| 761 | - <?php } ?> | |
| 762 | - <?php } ?> | |
| 763 | - <form action="" method="post" name="digitalcheck_form" id="digitalcheck_form"> | |
| 764 | - <table class="settle_table"> | |
| 765 | - <tr> | |
| 766 | - <th>クレジットカード決済</th> | |
| 767 | - <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> | |
| 768 | - <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> | |
| 769 | - <td></td> | |
| 770 | - </tr> | |
| 771 | - <tr> | |
| 772 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_ip_digitalcheck');">加盟店コード</a></th> | |
| 773 | - <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> | |
| 774 | - <td><div id="ex_card_ip_digitalcheck" class="explanation"><?php _e('契約時にデジタルチェックから発行される加盟店コード(半角英数字)。', 'usces'); ?></div></td> | |
| 775 | - </tr> | |
| 776 | - <tr> | |
| 777 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_pass_digitalcheck');">加盟店パスワード</a></th> | |
| 778 | - <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> | |
| 779 | - <td><div id="ex_card_pass_digitalcheck" class="explanation"><?php _e('契約時にデジタルチェックから発行される加盟店パスワード(半角英数字)。<br />ユーザID決済をご利用の場合は、必須となります。', 'usces'); ?></div></td> | |
| 780 | - </tr> | |
| 781 | - <tr> | |
| 782 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_kakutei');">決済自動確定</a></th> | |
| 783 | - <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> | |
| 784 | - <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> | |
| 785 | - <td><div id="ex_card_kakutei" class="explanation"><?php _e('注文の際にクレジットの与信のみを行ないます。<br />実際の売上として計上するには確定処理が必要となります。省略時は「売上確定(確定まで同時に行う)」です。', 'usces'); ?></div></td> | |
| 786 | - </tr> | |
| 787 | - <tr> | |
| 788 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_card_user_id');">ユーザID決済</a></th> | |
| 789 | - <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> | |
| 790 | - <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> | |
| 791 | - <td><div id="ex_card_user_id" class="explanation"><?php _e('過去にクレジットカードでのお取引があるユーザは、次回からカード情報の入力を省略することが可能となります。', 'usces'); ?></div></td> | |
| 792 | - </tr> | |
| 793 | - </table> | |
| 794 | - <table class="settle_table"> | |
| 795 | - <tr> | |
| 796 | - <th>コンビニ決済</th> | |
| 797 | - <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> | |
| 798 | - <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> | |
| 799 | - <td></td> | |
| 800 | - </tr> | |
| 801 | - <tr> | |
| 802 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_ip_digitalcheck');">加盟店コード</a></th> | |
| 803 | - <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> | |
| 804 | - <td><div id="ex_conv_ip_digitalcheck" class="explanation"><?php _e('契約時にデジタルチェックから発行される加盟店コード(半角英数字)', 'usces'); ?></div></td> | |
| 805 | - </tr> | |
| 806 | - <tr> | |
| 807 | - <th rowspan="4"><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_store_digitalcheck');">利用コンビニ</a></th> | |
| 808 | - <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> | |
| 809 | - <td rowspan="4"><div id="ex_conv_store_digitalcheck" class="explanation"><?php _e('収納先のコンビニを選択します。コンビニ毎の審査が必要となり、審査通過後にご利用可能となります。', 'usces'); ?></div></td> | |
| 810 | - </tr> | |
| 811 | - <tr> | |
| 812 | - <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> | |
| 813 | - </tr> | |
| 814 | - <tr> | |
| 815 | - <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> | |
| 816 | - </tr> | |
| 817 | - <tr> | |
| 818 | - <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> | |
| 819 | - </tr> | |
| 820 | - <tr> | |
| 821 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv_kigen_digitalcheck');">支払期限</a></th> | |
| 822 | - <td colspan="4"> | |
| 823 | -<?php | |
| 824 | - $selected = array_fill( 1, 30, '' ); | |
| 825 | - if( isset($opts['digitalcheck']['conv_kigen']) ) { | |
| 826 | - $selected[$opts['digitalcheck']['conv_kigen']] = ' selected'; | |
| 827 | - } else { | |
| 828 | - $selected[14] = ' selected'; | |
| 829 | - } | |
| 830 | -?> | |
| 831 | - <select name="conv_kigen" id="conv_kigen"> | |
| 832 | - <?php for( $i = 1; $i <= 30; $i++ ): ?> | |
| 833 | - <option value="<?php echo esc_html($i); ?>"<?php echo esc_html($selected[$i]); ?>><?php echo esc_html($i); ?></option> | |
| 834 | - <?php endfor; ?> | |
| 835 | - </select>(日数)</td> | |
| 836 | - <td><div id="ex_conv_kigen_digitalcheck" class="explanation"><?php _e('コンビニ店頭でお支払いいただける期限となります。', 'usces'); ?></div></td> | |
| 837 | - </tr> | |
| 838 | - </table> | |
| 839 | - <input name="acting" type="hidden" value="digitalcheck" /> | |
| 840 | - <input name="usces_option_update" type="submit" class="button" value="デジタルチェックの設定を更新する" /> | |
| 841 | - </form> | |
| 842 | - <div class="settle_exp"> | |
| 843 | - <p><strong>デジタルチェック</strong></p> | |
| 844 | - <a href="http://www.digitalcheck.co.jp/" target="_blank">デジタルチェックの詳細はこちら 》</a> | |
| 845 | - <p> </p> | |
| 846 | - <p>この決済は「外部リンク型」の決済システムです。</p> | |
| 847 | - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p> | |
| 848 | - </div> | |
| 849 | - </div><!--uscestabs_digitalcheck--> | |
| 850 | -<!--20121206ysk end--> | |
| 851 | - | |
| 852 | -<!--20130225ysk start--> | |
| 853 | - <div id="uscestabs_mizuho"> | |
| 854 | - <div class="settlement_service"><span class="service_title">みずほファクター</span></div> | |
| 855 | - <?php if( isset($_POST['acting']) && 'mizuho' == $_POST['acting'] ) : ?> | |
| 856 | - <?php if( isset($opts['mizuho']['activate']) && 'on' == $opts['mizuho']['activate'] ) : ?> | |
| 857 | - <div class="message">十分にテストを行ってから運用してください。</div> | |
| 858 | - <?php elseif( '' != $mes ) : ?> | |
| 859 | - <div class="error_message"><?php echo $mes; ?></div> | |
| 860 | - <?php endif; ?> | |
| 861 | - <?php endif; ?> | |
| 862 | - <form action="" method="post" name="mizuho_form" id="mizuho_form"> | |
| 863 | - <table class="settle_table"> | |
| 864 | - <tr> | |
| 865 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_shopid_mizuho');">加盟店コード</a></th> | |
| 866 | - <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> | |
| 867 | - <td><div id="ex_shopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店コード(半角数字6桁)。', 'usces'); ?></div></td> | |
| 868 | - </tr> | |
| 869 | - <tr> | |
| 870 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_cshopid_mizuho');">加盟店サブコード</a></th> | |
| 871 | - <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> | |
| 872 | - <td><div id="ex_cshopid_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行される加盟店サブコード(半角数字5桁)。', 'usces'); ?></div></td> | |
| 873 | - </tr> | |
| 874 | - <tr> | |
| 875 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_hash_pass_mizuho');">ハッシュ用パスワード</a></th> | |
| 876 | - <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> | |
| 877 | - <td><div id="ex_hash_pass_mizuho" class="explanation"><?php _e('契約時にみずほファクターから発行されるハッシュ用パスワード(半角英数字)。', 'usces'); ?></div></td> | |
| 878 | - </tr> | |
| 879 | - <tr> | |
| 880 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_ope_mizuho');"><?php _e('Operation Environment', 'usces'); ?></a></th> | |
| 881 | - <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> | |
| 882 | - <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> | |
| 883 | - <td><div id="ex_ope_mizuho" class="explanation"><?php _e('動作環境を切り替えます。', 'usces'); ?></div></td> | |
| 884 | - </tr> | |
| 885 | - <tr> | |
| 886 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mizuho');"><?php _e('本番URL', 'usces'); ?></a></th> | |
| 887 | - <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> | |
| 888 | - <td><div id="ex_send_url_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続先URL(画面連携型)PC」に示されるURLを入力してください。', 'usces'); ?></div></td> | |
| 889 | - </tr> | |
| 890 | - <?php if( defined('WCEX_MOBILE') ): ?> | |
| 891 | - <tr> | |
| 892 | - <th><a style="cursor:pointer;" onclick="toggleVisibility('ex_send_url_mbl_mizuho');"><?php _e('本番URL(携帯)', 'usces'); ?></a></th> | |
| 893 | - <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> | |
| 894 | - <td><div id="ex_send_url_mbl_mizuho" class="explanation"><?php _e('本番環境で接続するURLを設定します。決済インタフェース「接続先URL(画面連携型)MB」に示されるURLを入力してください。', 'usces'); ?></div></td> | |
| 895 | - </tr> | |
| 896 | - <?php endif; ?> | |
| 897 | - </table> | |
| 898 | - <table class="settle_table"> | |
| 899 | - <tr> | |
| 900 | - <th>クレジットカード決済</th> | |
| 901 | - <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> | |
| 902 | - <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> | |
| 903 | - <td></td> | |
| 904 | - </tr> | |
| 905 | - </table> | |
| 906 | -<!-- | |
| 907 | - <table class="settle_table"> | |
| 908 | - <tr> | |
| 909 | - <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv1_activate');">ウェルネット決済</a></th> | |
| 910 | - <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> | |
| 911 | - <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> | |
| 912 | - <td><div id="ex_conv1_activate" class="explanation">ローソン、ファミリーマート、サークルK サンクス、ミニストップ、デイリーヤマザキ、スリーエフでのご利用が可能です。</div></td> | |
| 913 | - </tr> | |
| 914 | - <tr> | |
| 915 | - <th>コンビニ決済<br><a style="cursor:pointer;" onclick="toggleVisibility('ex_conv2_activate');">セブンイレブン決済</a></th> | |
| 916 | - <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> | |
| 917 | - <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> | |
| 918 | - <td><div id="ex_conv2_activate" class="explanation">セブンイレブンでのご利用が可能です。</div></td> | |
| 919 | - </tr> | |
| 920 | - </table> | |
| 921 | - <input name="acting" type="hidden" value="mizuho" /> | |
| 922 | - <input name="usces_option_update" type="submit" class="button" value="みずほファクターの設定を更新する" /> | |
| 923 | - </form> | |
| 924 | - <div class="settle_exp"> | |
| 925 | - <p><strong>みずほファクター</strong></p> | |
| 926 | - <a href="http://www.mizuho-factor.co.jp/" target="_blank">みずほファクターの詳細はこちら 》</a> | |
| 927 | - <p> </p> | |
| 928 | - <p>この決済は「外部リンク型」の決済システムです。</p> | |
| 929 | - <p>「外部リンク型」とは、決済会社のページへ遷移してカード情報を入力する決済システムです。</p> | |
| 930 | - </div> | |
| 931 | - </div><!--uscestabs_mizuho--> | |
| 932 | -<!--20130225ysk end--> | |
| 933 | - | |
| 934 | -</div><!--uscestabs--> | |
| 935 | -</div><!--inside--> | |
| 936 | -</div><!--postbox--> | |
| 937 | -</div><!--poststuff--> | |
| 938 | - | |
| 939 | -</div><!--usces_admin--> | |
| 940 | -</div><!--wrap--> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Admin - Settlement Setting Page. | |
| 4 | + * | |
| 5 | + * @package Welcart | |
| 6 | + */ | |
| 7 | + | |
| 8 | +// $opts = $this->options['acting_settings']; | |
| 9 | +$openssl = extension_loaded( 'openssl' ); | |
| 10 | +$curl = extension_loaded( 'curl' ); | |
| 11 | +$available_settlement = get_option( 'usces_available_settlement', array() ); | |
| 12 | +$settlement_selected = get_option( 'usces_settlement_selected', array() ); | |
| 13 | +$post_data = wp_unslash( $_POST ); | |
| 14 | +?> | |
| 15 | +<script type="text/javascript"> | |
| 16 | +jQuery( function($) { | |
| 17 | + if ( $.fn.jquery < "1.10" ) { | |
| 18 | + $( '#uscestabs_settlement' ).tabs({ | |
| 19 | + cookie: { | |
| 20 | + // store cookie for a day, without, it would be a session cookie | |
| 21 | + expires: 1 | |
| 22 | + } | |
| 23 | + }); | |
| 24 | + } else { | |
| 25 | + $( "#uscestabs_settlement" ).tabs({ | |
| 26 | + active: ( $.cookie( "uscestabs_settlement" ) ) ? $.cookie( "uscestabs_settlement" ) : 0 | |
| 27 | + , activate: function( event, ui ) { | |
| 28 | + $.cookie( "uscestabs_settlement", $( this ).tabs( "option", "active" ) ); | |
| 29 | + } | |
| 30 | + }); | |
| 31 | + } | |
| 32 | + | |
| 33 | + $( function() { | |
| 34 | + $( ".settlement-ui-sortable" ).sortable( { | |
| 35 | + connectWith: ".settlement-ui-sortable", | |
| 36 | + update: function( e, ui ) { | |
| 37 | + var updateArray = $( "#settlement-selected" ).sortable( "toArray" ).join( "," ); | |
| 38 | + $( "#settlement-selected-update" ).val( updateArray ); | |
| 39 | + } | |
| 40 | + }); | |
| 41 | + $( ".settlement-ui-sortable" ).disableSelection(); | |
| 42 | + }); | |
| 43 | +<?php do_action( 'usces_action_settlement_script' ); ?> | |
| 44 | +}); | |
| 45 | +</script> | |
| 46 | +<div class="wrap"> | |
| 47 | +<div class="usces_admin"> | |
| 48 | +<h1>Welcart Shop <?php esc_html_e( 'Settlement Setting', 'usces' ); ?></h1> | |
| 49 | +<?php usces_admin_action_status(); ?> | |
| 50 | +<div id="uscestabs_settlement" class="uscestabs usces_settlement"> | |
| 51 | + <ul> | |
| 52 | + <li><a href="#uscestabs_settlement_top"><?php esc_html_e( 'Selecting a Settlement Module', 'usces' ); ?></a></li> | |
| 53 | + <?php do_action( 'usces_action_settlement_tab_title' ); ?> | |
| 54 | + </ul> | |
| 55 | + <div id="uscestabs_settlement_top"> | |
| 56 | + <form action="" method="post" id="settlement_top_form"> | |
| 57 | + <div class="settlement-left"> | |
| 58 | + <h2><?php esc_html_e( 'Available settlement modules', 'usces' ); ?></h2> | |
| 59 | + <div class="settlement-description"> | |
| 60 | + <p class="description"><?php _e( 'Drag the settlement module you want to use to the right. <br />After dragging it, be sure to click the "Update the modules to use" button.', 'usces' ); ?></p> | |
| 61 | + </div> | |
| 62 | + <ul class="settlement-ui-sortable" id="available-settlement"> | |
| 63 | + <?php foreach ( (array) $available_settlement as $key => $name ) : ?> | |
| 64 | + <?php if ( ! in_array( $key, (array) $settlement_selected, true ) ) : ?> | |
| 65 | + <?php | |
| 66 | + if ( 'paypal_cp' === $key ) { | |
| 67 | + $name = __( 'PayPal Commerce Platform', 'usces' ); | |
| 68 | + } | |
| 69 | + ?> | |
| 70 | + <li class="ui-available-settlement" id="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $name ); ?></li> | |
| 71 | + <?php endif; ?> | |
| 72 | + <?php endforeach; ?> | |
| 73 | + </ul> | |
| 74 | + </div> | |
| 75 | + <div class="settlement-right"> | |
| 76 | + <div class="settlement-selected-header"><?php esc_html_e( 'Settlement modules in use', 'usces' ); ?></div> | |
| 77 | + <ul class="settlement-ui-sortable" id="settlement-selected"> | |
| 78 | + <?php if ( is_array( $settlement_selected ) ) : ?> | |
| 79 | + <?php foreach ( (array) $settlement_selected as $key ) : ?> | |
| 80 | + <?php if ( array_key_exists( $key, (array) $available_settlement ) ) : ?> | |
| 81 | + <li class="ui-settlement-selected" id="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $available_settlement[ $key ] ); ?></li> | |
| 82 | + <?php endif; ?> | |
| 83 | + <?php endforeach; ?> | |
| 84 | + <?php endif; ?> | |
| 85 | + </ul> | |
| 86 | + <?php if ( isset( $post_data['acting'] ) && 'settlement_selected' === $post_data['acting'] ) : ?> | |
| 87 | + <?php if ( '' != $mes ) : ?> | |
| 88 | + <div class="error_message"><?php wel_esc_script_e( $mes ); ?></div> | |
| 89 | + <?php endif; ?> | |
| 90 | + <?php endif; ?> | |
| 91 | + <div class="settlement-selected-footer"> | |
| 92 | + <input name="acting" type="hidden" value="settlement_selected" /> | |
| 93 | + <input name="settlement_selected" id="settlement-selected-update" type="hidden" value="<?php echo esc_attr( implode( ',', (array) $settlement_selected ) ); ?>" /> | |
| 94 | + <input name="usces_option_update" type="submit" class="button button-primary" value="<?php esc_attr_e( 'Update the modules to use', 'usces' ); ?>" /> | |
| 95 | + <?php wp_nonce_field( 'admin_settlement', 'wc_nonce' ); ?> | |
| 96 | + </div> | |
| 97 | + </div> | |
| 98 | + <div class="clear"></div> | |
| 99 | + </form> | |
| 100 | + </div><!-- uscestabs_settlement_top --> | |
| 101 | + <?php do_action( 'usces_action_settlement_tab_body' ); ?> | |
| 102 | +</div><!--uscestabs--> | |
| 103 | +</div><!--usces_admin--> | |
| 104 | +</div><!--wrap--> | |