From 74f67d87149e49ec90b4704423bdb31ee9f601ad Mon Sep 17 00:00:00 2001 From: luoyang Date: Wed, 29 Apr 2020 14:16:14 +0800 Subject: [PATCH] fix add card payment rates --- .../payment/manage/merchants/core/impls/ClientManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 eee2e9153..502f86752 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 @@ -468,7 +468,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid JSONObject org = orgMapper.findOne(manager.getIntValue("org_id")); boolean bdRateEditable = client.getIntValue("approve_result") != 1 || org.getBooleanValue("rate_editable"); client.put("rate_editable", bdRateEditable); - boolean bdCardRateEditable = (clientConfig.getBoolean("enable_card_payment") && !client.containsKey("upay_approve_result"); + boolean bdCardRateEditable = (clientConfig.getBoolean("enable_card_payment") && !client.containsKey("upay_approve_result")); client.put("card_rate_editable", bdCardRateEditable); client.put("company_phone", "******"); client.put("contact_person", "******");