@hmcts/ccpay-web-component 5.0.4-beta07 → 5.0.4-beta10
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 +12 -3
- 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/case-transactions/case-transactions.component.js +3 -3
- package/esm2015/lib/components/payment-view/payment-view.component.js +12 -2
- package/esm5/lib/components/case-transactions/case-transactions.component.js +3 -3
- package/esm5/lib/components/payment-view/payment-view.component.js +12 -2
- package/fesm2015/hmcts-ccpay-web-component.js +13 -3
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +13 -3
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1499,7 +1499,16 @@
|
|
|
1499
1499
|
* @param {?} res
|
|
1500
1500
|
* @return {?}
|
|
1501
1501
|
*/function (res) {
|
|
1502
|
-
|
|
1502
|
+
/** @type {?} */
|
|
1503
|
+
var allPaymentsFailure = [];
|
|
1504
|
+
res.payment_failure_list.forEach(( /**
|
|
1505
|
+
* @param {?} payments
|
|
1506
|
+
* @return {?}
|
|
1507
|
+
*/function (payments) {
|
|
1508
|
+
allPaymentsFailure.push(payments.payment_failure_initiated);
|
|
1509
|
+
allPaymentsFailure.push(payments.payment_failure_closed);
|
|
1510
|
+
}));
|
|
1511
|
+
console.log(allPaymentsFailure);
|
|
1503
1512
|
}));
|
|
1504
1513
|
};
|
|
1505
1514
|
Object.defineProperty(PaymentViewComponent.prototype, "isCardPayment", {
|
|
@@ -3287,8 +3296,8 @@
|
|
|
3287
3296
|
}
|
|
3288
3297
|
this.excReference = this.paymentLibComponent.EXC_REFERENCE;
|
|
3289
3298
|
this.takePayment = this.paymentLibComponent.TAKEPAYMENT;
|
|
3290
|
-
this.servicerequest = this.paymentLibComponent.SERVICEREQUEST
|
|
3291
|
-
if (this.
|
|
3299
|
+
this.servicerequest = this.paymentLibComponent.SERVICEREQUEST;
|
|
3300
|
+
if (this.servicerequest !== undefined && this.servicerequest.toString() === 'true') {
|
|
3292
3301
|
this.serviceRequestValue = 'true';
|
|
3293
3302
|
}
|
|
3294
3303
|
else {
|