@hmcts/ccpay-web-component 5.2.8-beta06 → 5.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-ccpay-web-component.umd.js +26 -28
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +26 -24
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -5
- package/esm2015/lib/services/payment-view/payment-view.service.js +1 -1
- package/fesm2015/hmcts-ccpay-web-component.js +25 -27
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/components/pba-payment/pba-payment.component.d.ts.map +1 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4252,14 +4252,10 @@
|
|
|
4252
4252
|
this.isMarkAsUnidentifiedbtnEnabled = true;
|
|
4253
4253
|
}
|
|
4254
4254
|
else if (this.isUnprocessedRecordSelected && !this.isExceptionCase && !this.FEE_RECORDS_EXISTS) {
|
|
4255
|
-
//SNI-3692 - WIP
|
|
4256
|
-
//} else if ( this.isUnprocessedRecordSelected && !this.isExceptionCase && this.FEE_RECORDS_EXISTS!== null && !this.FEE_RECORDS_EXISTS) {
|
|
4257
4255
|
this.isAllocateToExistingFeebtnEnabled = false;
|
|
4258
4256
|
this.isAllocatedToNewFeebtnEnabled = true;
|
|
4259
4257
|
}
|
|
4260
4258
|
else if (this.isUnprocessedRecordSelected && !this.isExceptionCase && this.FEE_RECORDS_EXISTS) {
|
|
4261
|
-
//SNI-3692 - WIP
|
|
4262
|
-
//} else if( this.isUnprocessedRecordSelected && !this.isExceptionCase && (this.FEE_RECORDS_EXISTS === null || this.FEE_RECORDS_EXISTS) ) {
|
|
4263
4259
|
if (!this.ISTURNOFF) {
|
|
4264
4260
|
this.isAllocateToExistingFeebtnEnabled = true;
|
|
4265
4261
|
this.isAllocatedToNewFeebtnEnabled = false;
|
|
@@ -7250,30 +7246,32 @@
|
|
|
7250
7246
|
this.isPBAAccountPaymentSuccess = false;
|
|
7251
7247
|
this.isContinueButtondisabled = true;
|
|
7252
7248
|
if (this.pbaAccountList.indexOf(this.selectedPbaAccount) !== -1) {
|
|
7253
|
-
var
|
|
7254
|
-
|
|
7255
|
-
.
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7249
|
+
var requestBody_1 = new IserviceRequestPbaPayment(this.selectedPbaAccount, this.pbaPayOrderRef.orderTotalFees, this.pbaAccountRef, this.orgName);
|
|
7250
|
+
setTimeout(function () {
|
|
7251
|
+
_this.paymentViewService.postPBAaccountPayment(_this.pbaPayOrderRef.orderRefId, requestBody_1)
|
|
7252
|
+
.subscribe(function (r) {
|
|
7253
|
+
try {
|
|
7254
|
+
_this.pbaAccountrPaymentResult = JSON.parse(r);
|
|
7255
|
+
}
|
|
7256
|
+
catch (e) {
|
|
7257
|
+
_this.pbaAccountrPaymentResult = r;
|
|
7258
|
+
}
|
|
7259
|
+
_this.isPBAAccountPaymentSuccess = true;
|
|
7260
|
+
}, function (e) {
|
|
7261
|
+
if (e.status == '402') {
|
|
7262
|
+
_this.isInSufficiantFund = true;
|
|
7263
|
+
}
|
|
7264
|
+
else if (e.status == '410') {
|
|
7265
|
+
_this.isPBAAccountNotExist = true;
|
|
7266
|
+
}
|
|
7267
|
+
else if (e.status == '412') {
|
|
7268
|
+
_this.isPBAAccountHold = true;
|
|
7269
|
+
}
|
|
7270
|
+
else {
|
|
7271
|
+
_this.isPBAServerError = true;
|
|
7272
|
+
}
|
|
7273
|
+
});
|
|
7274
|
+
}, 5000);
|
|
7277
7275
|
}
|
|
7278
7276
|
else {
|
|
7279
7277
|
this.isPBAServerError = true;
|