diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java index 8235414a4..57ad85576 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java @@ -2096,8 +2096,11 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid if (newConfig.getBigDecimal("cb_bankpay_rate_value") != null) { clientRateMapper.saveRate(newConfig); } - } else if ("AlipayAps".equalsIgnoreCase(channel)) { - newConfig.put("transaction_fee", newConfig.getFloatValue("service_fee_value")); + } else if ("ApsInStore".equalsIgnoreCase(channel)) { + newConfig.put("transaction_fee", newConfig.getFloatValue("retail_service_fee_value")); + clientRateMapper.saveRate(newConfig); + } else if ("ApsCashier".equalsIgnoreCase(channel)) { + newConfig.put("transaction_fee", newConfig.getFloatValue("online_service_fee_value")); clientRateMapper.saveRate(newConfig); } else { clientRateMapper.saveRate(newConfig); diff --git a/src/main/ui/static/config/organizations/templates/org_detail.html b/src/main/ui/static/config/organizations/templates/org_detail.html index 346fe2832..1de510682 100644 --- a/src/main/ui/static/config/organizations/templates/org_detail.html +++ b/src/main/ui/static/config/organizations/templates/org_detail.html @@ -182,7 +182,7 @@
-
China Wallet
+
China Wallets Rate
-
A+ Rate
+
Alipay+ Rate
-
China Wallet
+
China Wallets Rate
-
A+ Rate
+
Alipay+ Rate
-
-

China Wallet

+
+

China Wallets Rate

+ + Add Rate +
@@ -266,11 +271,6 @@ ng-click="bankCtrl.rate_name='CB_BankPay'" ng-if="sysconfig.active_channels.indexOf('CB_BankPay')!=-1">CB_BankPay - - Add Rate -
@@ -385,8 +385,13 @@ -
+

Card Payment Rate

+ + Add Card Payment Rates +
@@ -398,11 +403,6 @@ - - Add Card Payment Rates -
@@ -453,8 +453,13 @@ -
-

A+

+
+

Alipay+ Rate

+ + Add A+(APS) Rate +
@@ -468,11 +473,6 @@ role="button" ng-click="apsBankCtrl.rate_name='ApsCashier'">A+(Online) - - Add A+(APS) Rate -
diff --git a/src/main/ui/static/payment/partner/templates/rate_config_dialog.html b/src/main/ui/static/payment/partner/templates/rate_config_dialog.html index 5bb048de0..586607cba 100644 --- a/src/main/ui/static/payment/partner/templates/rate_config_dialog.html +++ b/src/main/ui/static/payment/partner/templates/rate_config_dialog.html @@ -14,10 +14,10 @@
-