@ -4,28 +4,33 @@
< div class = "row" >
< div class = "col-sm-12" >
< div class = "form-horizontal" ng-form = "configForm" >
< div class = "form-group" >
<!-- <div class="form - group" >
< label class = "col-sm-3 control-label" > WeChat Sub Merchant Id< / label >
< div class = "col-sm-9" >
< p ng-if = "!ctrl.editSubMerchant" class = "form-control-static" >
{{paymentInfo.sub_merchant_id||'Not Configure'}}
< a role = "button" ng-click = "ctrl.editSubMerchant=true" ng-if = "'011'|withRole" > < i class = "fa fa-edit" > < / i > < / a >
< a role = "button" ng-click = "queryWechatSubMerchantIdStatus()" > < i class = "fa fa-refresh" > < / i > < / a >
< i class = "fa fa-clock-o text-danger" title = "Using temp Sub Merchant ID" ng-if = "paymentInfo.temp_sub_merchant" > < / i >
< span class = "small" ng-if = "('10'|withRole) &&paymentInfo.sub_merchant_id&&paymentInfo.merchant_id" > < b > Merchant ID< / b > :{{paymentInfo.merchant_id | choose_merchant_id}}< / span >
< a role = "button" ng-click = "ctrl.editSubMerchant=true" ng-if = "'011'|withRole" > < i
class="fa fa-edit">< / i > < / a >
< a role = "button" ng-click = "queryWechatSubMerchantIdStatus()" > < i
class="fa fa-refresh">< / i > < / a >
< i class = "fa fa-clock-o text-danger" title = "Using temp Sub Merchant ID"
ng-if="paymentInfo.temp_sub_merchant">< / i >
< span class = "small"
ng-if="('10'|withRole) & & paymentInfo.sub_merchant_id& & paymentInfo.merchant_id">< b > Merchant
ID< / b > :{{paymentInfo.merchant_id | choose_merchant_id}}< / span >
< span class = "small"
ng-if="('10'|withRole) & & paymentInfo.sub_merchant_id& & paymentInfo.sub_merchant_id_log">
ng-if="('10'|withRole) & & paymentInfo.sub_merchant_id& & paymentInfo.sub_merchant_id_log">
< a class = "text-primary" role = "button" title = "modify logs"
ng-click="showSubMerchantLogs(sub_merchant_id_logs)">
< span class = "pull-right-container" >
< span class = "label label-primary" > history< / span >
< / span >
< / a >
< / span >
ng-click="showSubMerchantLogs(sub_merchant_id_logs)">
< span class = "pull-right-container" >
< span class = "label label-primary" > history< / span >
< / span >
< / a >
< / span >
< / p >
< div class = "input-group" ng-if = "ctrl.editSubMerchant" >
< input type = "text" class = "form-control" ng-model = "paymentInfo.sub_merchant_id"
title="WeChat Sub Merchant Id">
title="WeChat Sub Merchant Id">
< div class = "input-group-btn" >
< button class = "btn btn-success" ng-click = "saveSubMerchantId()" >
< i class = "fa fa-check" > < / i >
@ -44,7 +49,8 @@
< div class = "col-sm-9" >
< p class = "form-control-static" >
{{paymentInfo.wechat_institution_merchant_id||'初始化'}}
< a role = "button" ng-click = "refreshWechatInstitutionMerchantId()" > < i class = "fa fa-refresh" > < / i > < / a >
< a role = "button" ng-click = "refreshWechatInstitutionMerchantId()" > < i
class="fa fa-refresh">< / i > < / a >
< / p >
< / div >
< / div >
@ -62,17 +68,22 @@
< div class = "col-sm-9" >
< p ng-if = "!ctrl.editAliSubMerchant" class = "form-control-static" >
{{paymentInfo.ali_sub_merchant_id||'Not Configure'}}
< a role = "button" ng-click = "ctrl.editAliSubMerchant=true" ng-if = "'10'|withRole" > < i class = "fa fa-edit" > < / i > < / a >
< a role = "button" ng-click = "submitAlipaySubId()" > < i class = "fa fa-arrow-up" title = "Alipay进件" > < / i > < / a >
< a role = "button" ng-click = "queryAlipayGms()" > < i class = "fa fa-refresh" title = "Alipay进件" > < / i > < / a >
< a role = "button" ng-click = "ctrl.editAliSubMerchant=true" ng-if = "'10'|withRole" > < i
class="fa fa-edit">< / i > < / a >
< a role = "button" ng-click = "submitAlipaySubId()" > < i class = "fa fa-arrow-up"
title="Alipay进件">< / i > < / a >
< a role = "button" ng-click = "queryAlipayGms()" > < i class = "fa fa-refresh"
title="Alipay进件">< / i > < / a >
|
< a role = "button" ng-click = "submitAlipayOnlineSubId()" > < i class = "fa fa-arrow-up" title = "AlipayOnline进件" > < / i > < / a >
< a role = "button" ng-click = "queryAlipayOnlineGms()" > < i class = "fa fa-refresh" title = "AlipayOnline进件" > < / i > < / a >
< a role = "button" ng-click = "submitAlipayOnlineSubId()" > < i class = "fa fa-arrow-up"
title="AlipayOnline进件">< / i > < / a >
< a role = "button" ng-click = "queryAlipayOnlineGms()" > < i class = "fa fa-refresh"
title="AlipayOnline进件">< / i > < / a >
(AlipayOnline)
< / p >
< div class = "input-group" ng-if = "ctrl.editAliSubMerchant" >
< input type = "text" class = "form-control" ng-model = "paymentInfo.ali_sub_merchant_id"
title="Ali Sub Merchant Id">
title="Ali Sub Merchant Id">
< div class = "input-group-btn" >
< button class = "btn btn-success" ng-click = "saveAliSubMerchantId()" >
< i class = "fa fa-check" > < / i >
@ -89,9 +100,10 @@
< div class = "form-group" ng-if = "'10'|withRole" >
< label class = "col-sm-3 control-label" > Common Sub Merchant Id< / label >
< div class = "col-xs-9" >
< input type = "checkbox" ng-model = "paymentInfo.common_sub_merchant_id" bs-switch switch-change = "switchCommonSubMerchantId()" >
< input type = "checkbox" ng-model = "paymentInfo.common_sub_merchant_id" bs-switch
switch-change="switchCommonSubMerchantId()">
< / div >
< / div >
< / div > -->
< div class = "form-group" >
< label class = "col-sm-3 control-label" > Max Order Amount< / label >
< div class = "col-sm-9" >
@ -102,19 +114,22 @@
< div class = "input-group" ng-if = "ctrl.editMaxOrderAmount" >
< div class = "input-group-addon" > AUD< / div >
< input type = "number" class = "form-control" ng-model = "paymentInfo.max_order_amount"
title="Max Order Amount">
title="Max Order Amount">
< div class = "input-group-btn" >
< button class = "btn btn-success" title = "Save" ng-click = "saveMaxOrderAmount(paymentInfo.max_order_amount)" >
< button class = "btn btn-success" title = "Save"
ng-click="saveMaxOrderAmount(paymentInfo.max_order_amount)">
< i class = "fa fa-check" > < / i >
< / button >
< / div >
< div class = "input-group-btn" >
< button class = "btn btn-danger" title = "Clear Limit" ng-click = "saveMaxOrderAmount(null)" >
< button class = "btn btn-danger" title = "Clear Limit"
ng-click="saveMaxOrderAmount(null)">
< i class = "fa fa-ban" > < / i >
< / button >
< / div >
< div class = "input-group-btn" >
< button class = "btn btn-danger" title = "Cancel" ng-click = "ctrl.editMaxOrderAmount=false" >
< button class = "btn btn-danger" title = "Cancel"
ng-click="ctrl.editMaxOrderAmount=false">
< i class = "fa fa-remove" > < / i >
< / button >
< / div >
@ -126,15 +141,18 @@
< div class = "col-sm-9" >
< p ng-if = "!ctrl.editCustomerSurchargeRate" class = "form-control-static" >
{{paymentInfo.customer_surcharge_rate||'Not Configure'}}
< a role = "button" ng-click = "ctrl.editCustomerSurchargeRate=true" > < i class = "fa fa-edit" > < / i > < / a >
< a role = "button" ng-click = "ctrl.editCustomerSurchargeRate=true" > < i
class="fa fa-edit">< / i > < / a >
< / p >
< div class = "input-group" ng-if = "ctrl.editCustomerSurchargeRate" >
< input type = "number" class = "form-control" ng-model = "paymentInfo.customer_surcharge_rate"
title="Customer Surcharge Rate" max="{{paymentInfo.max_customer_surcharge_rate}}" min="{{paymentInfo.min_customer_surcharge_rate}}" name="customer_surcharge_rate">
title="Customer Surcharge Rate" max="{{paymentInfo.max_customer_surcharge_rate}}"
min="{{paymentInfo.min_customer_surcharge_rate}}" name="customer_surcharge_rate">
< div class = "input-group-addon" > %< / div >
< div class = "input-group-btn" >
< button class = "btn btn-success" title = "Save" ng-click = "saveCustomerSurchargeRate(paymentInfo.customer_surcharge_rate)" >
< button class = "btn btn-success" title = "Save"
ng-click="saveCustomerSurchargeRate(paymentInfo.customer_surcharge_rate)">
< i class = "fa fa-check" > < / i >
< / button >
< / div >
@ -144,12 +162,15 @@
< / button >
< / div >
< div class = "input-group-btn" >
< button class = "btn btn-danger" title = "Cancel" ng-click = "ctrl.editCustomerSurchargeRate=false" >
< button class = "btn btn-danger" title = "Cancel"
ng-click="ctrl.editCustomerSurchargeRate=false">
< i class = "fa fa-remove" > < / i >
< / button >
< / div >
< / div >
< p ng-if = "configForm.customer_surcharge_rate.$invalid" class = "text-danger" > valid range({{paymentInfo.min_customer_surcharge_rate}}%~{{paymentInfo.max_customer_surcharge_rate}}%)< / p >
< p ng-if = "configForm.customer_surcharge_rate.$invalid" class = "text-danger" > valid
range({{paymentInfo.min_customer_surcharge_rate}}%~{{paymentInfo.max_customer_surcharge_rate}}%)
< / p >
< / div >
< / div >
@ -158,13 +179,15 @@
< div class = "col-sm-9" >
< p ng-if = "!ctrl.editOrderExpiryConfig" class = "form-control-static" >
{{paymentInfo.order_expiry_config||'Not Configure'}}
< a role = "button" ng-click = "ctrl.editOrderExpiryConfig=true" ng-if = "'01'|withRole" > < i class = "fa fa-edit" > < / i > < / a >
< a role = "button" ng-click = "ctrl.editOrderExpiryConfig=true" ng-if = "'01'|withRole" > < i
class="fa fa-edit">< / i > < / a >
< / p >
< div class = "input-group" ng-if = "ctrl.editOrderExpiryConfig" >
< input type = "text" class = "form-control" ng-model = "paymentInfo.order_expiry_config"
title="Prevent not enough refund">
title="Prevent not enough refund">
< div class = "input-group-btn" >
< button class = "btn btn-success" ng-click = "saveOrderExpiryConfig(paymentInfo.order_expiry_config)" >
< button class = "btn btn-success"
ng-click="saveOrderExpiryConfig(paymentInfo.order_expiry_config)">
< i class = "fa fa-check" > < / i >
< / button >
< / div >
@ -177,10 +200,10 @@
< / div >
< / div >
<!-- <div class="form - group" ng - if="('10'|withRole) && partner.parent_client_id==null"> -->
<!-- <label class="col - sm - 3 control - label">Sub Partners Manage</label> -->
<!-- <div class="col - xs - 9" title="开启后,父商户具有帮子商户新建账户、退款等管理权限"> -->
<!-- <input type="checkbox" ng - model="paymentInfo.sub_manage" bs - switch switch - change="switchSubManage()"> -->
<!-- </div> -->
<!-- <label class="col - sm - 3 control - label">Sub Partners Manage</label> -->
<!-- <div class="col - xs - 9" title="开启后,父商户具有帮子商户新建账户、退款等管理权限"> -->
<!-- <input type="checkbox" ng - model="paymentInfo.sub_manage" bs - switch switch - change="switchSubManage()"> -->
<!-- </div> -->
<!-- </div> -->
< / div >
< / div >
@ -194,32 +217,37 @@
< div class = "form-group col-sm-4" >
< label class = "col-xs-6 control-label" > Alipay|支付宝< / label >
< div class = "col-xs-6" >
< input type = "checkbox" ng-model = "paymentInfo.enable_alipay" bs-switch switch-change = "toggleChannel('alipay')" >
< input type = "checkbox" ng-model = "paymentInfo.enable_alipay" bs-switch
switch-change="toggleChannel('alipay')">
< / div >
< / div >
< div class = "form-group col-sm-4" >
< label class = "col-xs-6 control-label" > WeChat|微信< / label >
< div class = "col-xs-6" >
< input type = "checkbox" ng-model = "paymentInfo.enable_wechat" bs-switch switch-change = "toggleChannel('wechat')" >
< input type = "checkbox" ng-model = "paymentInfo.enable_wechat" bs-switch
switch-change="toggleChannel('wechat')">
< / div >
< / div >
< div class = "form-group col-sm-4" >
< label class = "col-xs-6 control-label" > CB BankPay|快捷支付< / label >
< div class = "col-xs-6" >
< input type = "checkbox" ng-model = "paymentInfo.enable_cb_bankpay" bs-switch switch-change = "toggleChannel('cb_bankpay')" >
< input type = "checkbox" ng-model = "paymentInfo.enable_cb_bankpay" bs-switch
switch-change="toggleChannel('cb_bankpay')">
< / div >
< / div >
< div class = "form-group col-sm-4" >
< label class = "col-xs-6 control-label" > Card Payment|银行卡支付< / label >
< div class = "col-xs-6" >
< input type = "checkbox" ng-model = "paymentInfo.enable_rpaypmt_card" bs-switch switch-change = "toggleChannel('rpaypmt_card')" >
< input type = "checkbox" ng-model = "paymentInfo.enable_rpaypmt_card" bs-switch
switch-change="toggleChannel('rpaypmt_card')">
< / div >
< / div >
< div class = "form-group col-sm-4" >
< label class = "col-xs-6 control-label" > Direct Debit|银行账户支付< / label >
< div class = "col-xs-6" >
< input type = "checkbox" ng-model = "paymentInfo.enable_rpaypmt_dd" bs-switch switch-change = "toggleChannel('rpaypmt_dd')" >
< input type = "checkbox" ng-model = "paymentInfo.enable_rpaypmt_dd" bs-switch
switch-change="toggleChannel('rpaypmt_dd')">
< / div >
< / div >
@ -239,7 +267,8 @@
< div class = "form-group" ng-if = "'qrcode_surcharge'|withFunc" >
< label class = "col-sm-2 control-label" > Customer Pay for Surcharge On QRCode< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.qrcode_surcharge" bs-switch switch-change = "updateClientQRCodePaySurCharge()" >
< input type = "checkbox" ng-model = "paymentInfo.qrcode_surcharge" bs-switch
switch-change="updateClientQRCodePaySurCharge()">
< / div >
< / div >
< div class = "form-group" >
@ -255,13 +284,13 @@
< input type = "checkbox" ng-model = "qrConfig.preauth" ng-change = "reloadQRCode()" >
Pre Authorization
< i class = "fa fa-question-circle text-gray"
uib-tooltip="Pre Authorize means this bill will not be settled until completion">< / i >
uib-tooltip="Pre Authorize means this bill will not be settled until completion">< / i >
< / label >
< label >
< input type = "checkbox" ng-model = "qrConfig.customerrate" ng-change = "reloadQRCode()" >
Customer Pay for Surcharge
< i class = "fa fa-question-circle text-gray"
uib-tooltip="Customer pay for rate means after customer input the price, system will add rate value into the final price. Client will receive full value customer input after settlement. 客户支付费率勾选后将自动在输入金额基础上加上手续费金额,商户将在清算时收到用户输入的金额">< / i >
uib-tooltip="Customer pay for rate means after customer input the price, system will add rate value into the final price. Client will receive full value customer input after settlement. 客户支付费率勾选后将自动在输入金额基础上加上手续费金额,商户将在清算时收到用户输入的金额">< / i >
< / label >
< / p >
@ -271,26 +300,29 @@
< / div >
< div class = "col-xs-12" >
< p >
< a ng-href = "{{qrcode.qrcode}}" download > < i class = "fa fa-download" > < / i > Download QR Code Image (支付二维码)< / a >
< a ng-href = "{{qrcode.qrcode}}" download > < i class = "fa fa-download" > < / i > Download QR Code
Image (支付二维码)< / a >
< / p >
<!-- <p> -->
<!-- <a ng - href="/sys/partners/{{partner.client_moniker}}/qrcode_board?currency={{qrConfig.currency}}&preauth={{qrConfig.preauth==true}}&qrcode={{qrConfig.qrcode==true}}&customerrate={{qrConfig.customerrate==true}}" -->
<!-- download><i class="fa fa - download"></i> Download QR Board Image (微信支付水晶立牌)</a> -->
<!-- <a ng - href="/sys/partners/{{partner.client_moniker}}/qrcode_board?currency={{qrConfig.currency}}&preauth={{qrConfig.preauth==true}}&qrcode={{qrConfig.qrcode==true}}&customerrate={{qrConfig.customerrate==true}}" -->
<!-- download><i class="fa fa - download"></i> Download QR Board Image (微信支付水晶立牌)</a> -->
<!-- </p> -->
<!-- <p> -->
<!-- <a ng - href="/sys/partners/{{partner.client_moniker}}/poster" target="_blank"><i class="fa fa - download"></i> Download Poster (微信支付海报)</a> -->
<!-- <a ng - href="/sys/partners/{{partner.client_moniker}}/poster" target="_blank"><i class="fa fa - download"></i> Download Poster (微信支付海报)</a> -->
<!-- </p> -->
<!-- <p> -->
<!-- <a ng - href="/sys/partners/{{partner.client_moniker}}/activities/alipayluckmoney/poster" target="_blank"> -->
<!-- <i class="fa fa - download"></i> Alipay Lucky Money Poster (支付宝店长红包海报) -->
<!-- </a> -->
<!-- <a ng - href="/sys/partners/{{partner.client_moniker}}/activities/alipayluckmoney/poster" target="_blank"> -->
<!-- <i class="fa fa - download"></i> Alipay Lucky Money Poster (支付宝店长红包海报) -->
<!-- </a> -->
<!-- </p> -->
< p >
< a ng-href = "/sys/partners/{{partner.client_moniker}}/poster/aggregate" target = "_blank" > < i class = "fa fa-download" > < / i > Download Aggregate Poster (聚合支付海报)< / a >
< a ng-href = "/sys/partners/{{partner.client_moniker}}/poster/aggregate" target = "_blank" > < i
class="fa fa-download">< / i > Download Aggregate Poster (聚合支付海报)< / a >
< / p >
< p >
< a ng-href = "/sys/partners/{{partner.client_moniker}}/qrcode_board/aggregate?currency={{qrConfig.currency}}&preauth={{qrConfig.preauth==true}}&qrcode={{qrConfig.qrcode==true}}&customerrate={{qrConfig.customerrate==true}}"
download>< i class = "fa fa-download" > < / i > Download Aggregate QR Board Image (聚合支付水晶立牌:支持支付宝、微信、翼支付)< / a >
download>< i class = "fa fa-download" > < / i > Download Aggregate QR Board Image
(聚合支付水晶立牌:支持支付宝、微信、翼支付)< / a >
< / p >
< / div >
< / div >
@ -306,28 +338,33 @@
< label class = "col-sm-2 control-label" > Enable Socket< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.enable_gateway" bs-switch
switch-change="toggleGateway()">
switch-change="toggleGateway()">
< / div >
< / div >
< div class = "form-group" ng-if = "'gateway_upgrade'|withFunc" >
< label class = "col-sm-2 control-label" > Upgrade QRCode< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.gateway_upgrade" bs-switch switch-change = "toggleGatewayUpgrade()" >
< input type = "checkbox" ng-model = "paymentInfo.gateway_upgrade" bs-switch
switch-change="toggleGatewayUpgrade()">
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-2 control-label" > Use Alipay Online< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.gateway_alipay_online" bs-switch switch-change = "toggleGatewayAlipayOnline()" >
< input type = "checkbox" ng-model = "paymentInfo.gateway_alipay_online" bs-switch
switch-change="toggleGatewayAlipayOnline()">
< / div >
< / div >
< div class = "form-group" ng-if = "'api_surcharge'|withFunc" >
< label class = "col-sm-2 control-label" > Customer Pay for Surcharge On Gateway< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.api_surcharge" bs-switch switch-change = "updateClientApiSurCharge()" >
< input type = "checkbox" ng-model = "paymentInfo.api_surcharge" bs-switch
switch-change="updateClientApiSurCharge()">
< p class = "text-info" >
< i class = "fa fa-info" > < / i > If client have already attached surcharge in their own system, ignore this choice.< br >
< i class = "fa fa-info" > < / i > It is recommended to notice customers about they will pay addition money as surcharge in the payment page. < br >
< i class = "fa fa-info" > < / i > If client have already attached surcharge in their own system, ignore
this choice.< br >
< i class = "fa fa-info" > < / i > It is recommended to notice customers about they will pay addition
money as surcharge in the payment page. < br >
< i class = "fa fa-info" > < / i > 如果商户已有系统已经自动添加了手续费,请忽略本选项< br >
< i class = "fa fa-info" > < / i > 建议使用此功能的商户在自有系统支付页中提示用户将会支付额外的手续费
< / p >
@ -401,25 +438,30 @@
< div class = "form-group" >
< label class = "col-sm-2 control-label" > CB Bank Pay Link< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.enable_cb_bankpay_link" bs-switch ng-change = "toggleCBBankPayLink()" >
< a href = {{paymentInfo.cb_bankpay_url}} target = "_Blank" > < span ng-if = "paymentInfo.enable_cb_bankpay_link" > {{paymentInfo.cb_bankpay_url}}< / span > < / a >
< i ng-if = "paymentInfo.enable_cb_bankpay_link" class = "fa fa-clipboard margin-r-5" style = "cursor: pointer" ng-click = "copyCBBankPayLink()" > < / i >
< input ng-if = "paymentInfo.enable_cb_bankpay_link" style = "opacity: 0" id = "cpcbbankpay" value = {{paymentInfo.cb_bankpay_url}} readonly >
< input type = "checkbox" ng-model = "paymentInfo.enable_cb_bankpay_link" bs-switch
ng-change="toggleCBBankPayLink()">
< a href = {{paymentInfo.cb_bankpay_url}} target = "_Blank" > < span
ng-if="paymentInfo.enable_cb_bankpay_link">{{paymentInfo.cb_bankpay_url}}< / span > < / a >
< i ng-if = "paymentInfo.enable_cb_bankpay_link" class = "fa fa-clipboard margin-r-5"
style="cursor: pointer" ng-click="copyCBBankPayLink()">< / i >
< input ng-if = "paymentInfo.enable_cb_bankpay_link" style = "opacity: 0" id = "cpcbbankpay"
value={{paymentInfo.cb_bankpay_url}} readonly>
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-2 control-label" > Customer Pay for Surcharge for CBBank Pay< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.cbbank_surcharge" bs-switch ng-change = "updateClientCBBankPaySurCharge()" >
< input type = "checkbox" ng-model = "paymentInfo.cbbank_surcharge" bs-switch
ng-change="updateClientCBBankPaySurCharge()">
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-2 control-label" > CB Bank Pay Channel< / label >
< div class = "col-sm-3" >
< select class = "form-control" name = "industry" ng-change = "updateCBBankPayConfig('cb_channel_id',partner.cb_channel_id)"
ng-model="partner.cb_channel_id "
id="cbbankpay-input" required
ng-options="channel.channel_id as channel.channel_name for channel in cb_bankpay">
< select class = "form-control" name = "industry"
ng-change="updateCBBankPayConfig('cb_channel_id',partner.cb_channel_id) "
ng-model="partner.cb_channel_id" id="cbbankpay-input" required
ng-options="channel.channel_id as channel.channel_name for channel in cb_bankpay">
< option value = "" > 跟随系统< / option >
< / select >
< / div >
@ -427,20 +469,22 @@
< div class = "form-group" ng-if = "paymentInfo.enable_cb_bankpay && paymentInfo.enable_cb_bankpay_link" >
< label class = "col-sm-2 control-label" > CB Bank Pay QR Code< / label >
< div class = "col-sm-10" >
< img ng-src = "{{paymentInfo.cbBankPayQrcodeUrl}}" class = "img-responsive" / >
< div >
< span style = "padding-left: 4.2%;font-size:9px;" > 仅支持微信客户端扫描< / span >
< / div >
< p >
< a ng-href = "/sys/partners/{{partner.client_moniker}}/qrcode_board/CBBankAggregate"
download>< i class = "fa fa-download" > < / i > Download Aggregate QR Board Image (聚合支付水晶立牌:支持支付宝、微信、翼支付)< / a >
< / p >
< img ng-src = "{{paymentInfo.cbBankPayQrcodeUrl}}" class = "img-responsive" / >
< div >
< span style = "padding-left: 4.2%;font-size:9px;" > 仅支持微信客户端扫描< / span >
< / div >
< p >
< a ng-href = "/sys/partners/{{partner.client_moniker}}/qrcode_board/CBBankAggregate" download > < i
class="fa fa-download">< / i > Download Aggregate QR Board Image
(聚合支付水晶立牌:支持支付宝、微信、翼支付)< / a >
< / p >
< / div >
< / div >
< div class = "form-group col-sm-6" ng-if = "paymentInfo.enable_cb_bankpay" >
< label class = "col-sm-4 control-label" > Select Version< / label >
< div class = "col-sm-6" >
< select class = "form-control" ng-change = "changeCBBankPaymentPage()" ng-model = "paymentInfo.cbbank_paypad_version" title = "Payment Page" >
< select class = "form-control" ng-change = "changeCBBankPaymentPage()"
ng-model="paymentInfo.cbbank_paypad_version" title="Payment Page">
< option value = "v1" > v1< / option >
< option value = "v2" > v2< / option >
< / select >
@ -448,8 +492,10 @@
< div class = "col-sm-12" >
< label class = "col-sm-4 control-label" > < / label >
< div class = "col-sm-8" style = "margin-top: 10px;" >
< img style = "width: 200px" ng-if = "paymentInfo.cbbank_paypad_version=='v1'" src = "/static/images/cbbank_payment_page_v1.jpg" >
< img style = "width: 200px" ng-if = "paymentInfo.cbbank_paypad_version=='v2'" src = "/static/images/cbbank_payment_page_v2.jpg" >
< img style = "width: 200px" ng-if = "paymentInfo.cbbank_paypad_version=='v1'"
src="/static/images/cbbank_payment_page_v1.jpg">
< img style = "width: 200px" ng-if = "paymentInfo.cbbank_paypad_version=='v2'"
src="/static/images/cbbank_payment_page_v2.jpg">
< / div >
< / div >
< / div >
@ -467,14 +513,14 @@
< label class = "col-sm-2 control-label" > Enable International Card< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.enable_international_card" bs-switch
switch-change="switchInternationalCard()">
switch-change="switchInternationalCard()">
< / div >
< / div >
< div class = "form-group" ng-if = "'111'|withRole" >
< label class = "col-sm-2 control-label" > Enable 3DS< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.enable_threeds" bs-switch
switch-change="switchThreeDS()">
switch-change="switchThreeDS()">
< / div >
< / div >
< / div >
@ -490,13 +536,14 @@
< label class = "col-sm-2 control-label" > Enable Socket< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.enable_retail" bs-switch
switch-change="toggleOffline()">
switch-change="toggleOffline()">
< / div >
< / div >
< div class = "form-group" ng-if = "'retail_surcharge'|withFunc" >
< label class = "col-sm-2 control-label" > Customer Pay for Surcharge for Retail< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.retail_surcharge" bs-switch switch-change = "updateClientRetailPaySurCharge()" >
< input type = "checkbox" ng-model = "paymentInfo.retail_surcharge" bs-switch
switch-change="updateClientRetailPaySurCharge()">
< / div >
< / div >
< / div >
@ -511,7 +558,7 @@
< label class = "col-sm-2 control-label" > Enable Refund< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.enable_refund" bs-switch
switch-change="toggleRefund()">
switch-change="toggleRefund()">
< / div >
< / div >
@ -519,7 +566,7 @@
< label class = "col-sm-2 control-label" > Enable Pre-authorize Refund< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.enable_pre_refund" bs-switch
switch-change="togglePreRefund()">
switch-change="togglePreRefund()">
< / div >
< / div >
@ -534,10 +581,9 @@
< / p >
< div class = "input-group" ng-if = "ctrl.editRefundCreditLine" >
< input type = "number" maxlength = "6" class = "form-control"
ng-model="paymentInfo.refund_credit_line">
ng-model="paymentInfo.refund_credit_line">
< div class = "input-group-btn" >
< button class = "btn btn-success"
ng-click="setRefundCreditLine()">
< button class = "btn btn-success" ng-click = "setRefundCreditLine()" >
< i class = "fa fa-check" > < / i >
< / button >
< / div >
@ -558,10 +604,10 @@
class="fa fa-edit">< / i > < / a >
< / p >
< div class = "input-group" ng-if = "ctrl.editRefundPwd" >
< input type = "text" class = "form-control" maxlength = "6" minlength = "1" ng-model = "paymentInfo.new_refund_password" >
< input type = "text" class = "form-control" maxlength = "6" minlength = "1"
ng-model="paymentInfo.new_refund_password">
< div class = "input-group-btn" >
< button class = "btn btn-success"
ng-click="resetRefundPwd(paymentInfo.new_refund_password)">
< button class = "btn btn-success" ng-click = "resetRefundPwd(paymentInfo.new_refund_password)" >
< i class = "fa fa-check" > < / i >
< / button >
< / div >
@ -586,14 +632,14 @@
< label class = "col-sm-2 control-label" > Require Customer Information< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.require_custinfo" bs-switch
switch-change="toggleRequireCustInfo()">
switch-change="toggleRequireCustInfo()">
< / div >
< / div >
< div class = "form-group" ng-if = "'1000000000111'|withRole" >
< label class = "col-sm-2 control-label" > Require Remark< / label >
< div class = "col-sm-10" >
< input type = "checkbox" ng-model = "paymentInfo.require_remark" bs-switch
switch-change="toggleRequireRemark()">
switch-change="toggleRequireRemark()">
< / div >
< / div >
< / div >
@ -602,23 +648,24 @@
< div class = "panel panel-default" ng-if = "('100000000'|withRole) && paymentInfo.ext_params" >
< div class = "panel-heading" > Ext Config< / div >
< div class = "panel-body" >
< div class = "form-horizontal" >
< div class = "form-group" ng-repeat = "param in convertExtParams" >
< div class = "form-horizontal" >
< div class = "form-group" ng-repeat = "param in convertExtParams" >
< label class = "col-sm-2 control-label" > {{param.name.toUpperCase()}}< / label >
< div class = "col-sm-10" >
< div ng-if = "param.type=='boolean'" >
< input type = "checkbox" ng-model = "param.value" bs-switch
ng-change="extChangeParam(param.name,param.value)">
ng-change="extChangeParam(param.name,param.value)">
< / div >
< div ng-if = "param.type == 'string'" >
< p ng-if = "!param.flag" class = "form-control-static" >
{{param.value}}
< a role = "button" ng-click = "param.flag=true" ng-if = "'01'|withRole" > < i class = "fa fa-edit" > < / i > < / a >
< a role = "button" ng-click = "param.flag=true" ng-if = "'01'|withRole" > < i
class="fa fa-edit">< / i > < / a >
< / p >
< div class = "input-group" ng-if = "param.flag" >
< input type = "text" class = "form-control" ng-model = "param.value"
title="Prevent not enough refund">
title="Prevent not enough refund">
< div class = "input-group-btn" >
< button class = "btn btn-success" ng-click = "extChangeParam(param.name,param.value)" >
< i class = "fa fa-check" > < / i >
@ -645,7 +692,8 @@
< div class = "form-group col-sm-6" >
< label class = "col-sm-4 control-label" > Select Version< / label >
< div class = "col-sm-6" >
< select class = "form-control" ng-change = "changePaymentPage()" ng-model = "paymentInfo.paypad_version" title = "Payment Page" >
< select class = "form-control" ng-change = "changePaymentPage()" ng-model = "paymentInfo.paypad_version"
title="Payment Page">
< option value = "v1" > v1< / option >
< option value = "v2" > v2< / option >
< option value = "v3" > v3< / option >
@ -657,35 +705,41 @@
< div class = "col-sm-12" >
< label class = "col-sm-4 control-label" > < / label >
< div class = "col-sm-8" style = "margin-top: 10px;" >
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v1'" src = "/static/images/payment_page_v1.jpg" >
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v2'" src = "/static/images/payment_page_v2.jpg" >
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v3'" src = "/static/images/payment_page_v3.jpg" >
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v4'" src = "/static/images/payment_page_v4.jpg" >
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v5'" src = "/static/images/payment_page_v5.jpg" >
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v6'" src = "/static/images/payment_page_v6.jpg" >
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v1'"
src="/static/images/payment_page_v1.jpg">
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v2'"
src="/static/images/payment_page_v2.jpg">
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v3'"
src="/static/images/payment_page_v3.jpg">
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v4'"
src="/static/images/payment_page_v4.jpg">
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v5'"
src="/static/images/payment_page_v5.jpg">
< img style = "width: 200px" ng-if = "paymentInfo.paypad_version=='v6'"
src="/static/images/payment_page_v6.jpg">
< / div >
< / div >
< / div >
<!-- 先注释支付成功页选项 -->
<!-- <div class="form - group col - sm - 6"> -->
<!-- <label class="col - sm - 4 control - label">Select Version</label> -->
<!-- <div class="col - sm - 6"> -->
<!-- <select class="form - control" ng - change="changePaySuccessPage()" ng - model="paymentInfo.paysuccess_version" -->
<!-- title="Payment Success Page"> -->
<!-- <option value="v1">v1</option> -->
<!-- <option value="v2">v2</option> -->
<!-- </select> -->
<!-- </div> -->
<!-- <div class="col - sm - 12"> -->
<!-- <label class="col - sm - 4 control - label"></label> -->
<!-- <div class="col - sm - 8" style="margin - top: 10px;"> -->
<!-- <img style="width: 200px" ng - if="paymentInfo.paysuccess_version=='v1'" -->
<!-- src="/static/images/paysuccess_v1.png"> -->
<!-- <img style="width: 200px" ng - if="paymentInfo.paysuccess_version=='v2'" -->
<!-- src="/static/images/paysuccess_v2.png"> -->
<!-- </div> -->
<!-- </div> -->
<!-- <label class="col - sm - 4 control - label">Select Version</label> -->
<!-- <div class="col - sm - 6"> -->
<!-- <select class="form - control" ng - change="changePaySuccessPage()" ng - model="paymentInfo.paysuccess_version" -->
<!-- title="Payment Success Page"> -->
<!-- <option value="v1">v1</option> -->
<!-- <option value="v2">v2</option> -->
<!-- </select> -->
<!-- </div> -->
<!-- <div class="col - sm - 12"> -->
<!-- <label class="col - sm - 4 control - label"></label> -->
<!-- <div class="col - sm - 8" style="margin - top: 10px;"> -->
<!-- <img style="width: 200px" ng - if="paymentInfo.paysuccess_version=='v1'" -->
<!-- src="/static/images/paysuccess_v1.png"> -->
<!-- <img style="width: 200px" ng - if="paymentInfo.paysuccess_version=='v2'" -->
<!-- src="/static/images/paysuccess_v2.png"> -->
<!-- </div> -->
<!-- </div> -->
<!-- </div> -->
< / div >
< / div >