diff --git a/pom.xml b/pom.xml
index de74e29ee..a8188ffd8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
UTF-8
1.1.2
- 1.1.14
+ 1.1.15
diff --git a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/ManageAppServiceImp.java b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/ManageAppServiceImp.java
index 2de0ebf03..140bcc3e0 100644
--- a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/ManageAppServiceImp.java
+++ b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/ManageAppServiceImp.java
@@ -138,6 +138,10 @@ public class ManageAppServiceImp implements ManageAppService {
String clientType = device.getString("client_type");
manageDeviceSupport.findRegister(clientType);
JSONObject manager = managerMapper.findById(device.getString("manager_id"));
+ if (StringUtils.isNotBlank(info.getClient_pay_type())&& StringUtils.isNotBlank(info.getClient_pay_desc())) {
+ info.setClient_pay_type("");
+ info.setClient_pay_desc("");
+ }
clientManager.updateClientRegisterInfo(manager, clientMoniker, info);
}
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 523f6837e..e96836e20 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
@@ -767,8 +767,10 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
JSONObject clientConfig = new JSONObject();
clientConfig.put("client_id", clientId);
clientConfig.put("client_moniker", client.getString("client_moniker"));
- clientConfig.put("client_pay_type", updateInfo.getString("client_pay_type"));
- clientConfig.put("client_pay_desc", updateInfo.get("client_pay_desc"));
+ if (StringUtils.isNotBlank(updateInfo.getString("client_pay_type"))&& StringUtils.isNotBlank(updateInfo.getString("client_pay_desc"))) {
+ clientConfig.put("client_pay_type", updateInfo.getString("client_pay_type"));
+ clientConfig.put("client_pay_desc", updateInfo.getString("client_pay_desc"));
+ }
clientConfigMapper.update(clientConfig);
clientInfoCacheSupport.clearClientCache(clientId);
}