{{log.clearing_time|limitTo:10}}
-
+
|
Card Payment
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 2cbd7be32..8975a1efe 100644
--- a/src/main/ui/static/templates/payment/v1/card_pay.js
+++ b/src/main/ui/static/templates/payment/v1/card_pay.js
@@ -25,7 +25,8 @@ $(function () {
if (msg.success) {
location.href = './result'
} else {
- $errorMsgBox.text('[' + evt.errCode + ']' + evt.errMsg).show();
+ ctrl.pending = false;
+ $errorMsgBox.text('[' + msg.errCode + ']' + msg.errMsg).show();
}
$('.threeds-container').addClass('hide');
}
diff --git a/src/test/java/au/com/royalpay/payment/manage/support/sms/SmsSenderDaasImplTest.java b/src/test/java/au/com/royalpay/payment/manage/support/sms/SmsSenderDaasImplTest.java
index b7257cb4b..e6bddccbc 100644
--- a/src/test/java/au/com/royalpay/payment/manage/support/sms/SmsSenderDaasImplTest.java
+++ b/src/test/java/au/com/royalpay/payment/manage/support/sms/SmsSenderDaasImplTest.java
@@ -6,8 +6,6 @@ import org.junit.jupiter.api.Test;
import java.util.Locale;
-import static org.junit.jupiter.api.Assertions.*;
-
class SmsSenderDaasImplTest {
private SmsSender sender;
|