From 7f2ce325dab5d7b3b8cb11e3813e58fbe331ef74 Mon Sep 17 00:00:00 2001 From: yixian Date: Fri, 10 Apr 2020 12:51:52 +0800 Subject: [PATCH] update cardpay ui --- pom.xml | 2 +- src/main/ui/static/templates/payment/v1/card_pay.js | 1 + .../com/royalpay/payment/manage/task/RegisterRpPaymentMch.java | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 2831d4261..ac75bc895 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ au.com.royalpay.payment payment-parent - 2.1.7 + 2.1.8 4.0.0 manage diff --git a/src/main/ui/static/templates/payment/v1/card_pay.js b/src/main/ui/static/templates/payment/v1/card_pay.js index 207023047..b35850228 100644 --- a/src/main/ui/static/templates/payment/v1/card_pay.js +++ b/src/main/ui/static/templates/payment/v1/card_pay.js @@ -13,6 +13,7 @@ $(function () { }; cardFrame.frameStyle = { width: '100%', + height: '400px', border: 'none' }; cardFrame.onError = function (msg) { diff --git a/src/test/java/au/com/royalpay/payment/manage/task/RegisterRpPaymentMch.java b/src/test/java/au/com/royalpay/payment/manage/task/RegisterRpPaymentMch.java index 04baa5727..2d751cd05 100644 --- a/src/test/java/au/com/royalpay/payment/manage/task/RegisterRpPaymentMch.java +++ b/src/test/java/au/com/royalpay/payment/manage/task/RegisterRpPaymentMch.java @@ -28,9 +28,8 @@ public class RegisterRpPaymentMch { private ManagerMapper managerMapper; @Test - @Ignore public void register() { - JSONObject client = mchInfoProvider.getClientInfo(9); + JSONObject client = mchInfoProvider.getClientInfoByMoniker("MATX"); JSONObject manager = managerMapper.findByLoginId("yixian"); api.apply(client, new EmptyMerchantApplication(), manager); }