@hmcts/ccpay-web-component 5.0.4-beta08 → 5.0.4-beta09

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.
@@ -3287,8 +3287,8 @@
3287
3287
  }
3288
3288
  this.excReference = this.paymentLibComponent.EXC_REFERENCE;
3289
3289
  this.takePayment = this.paymentLibComponent.TAKEPAYMENT;
3290
- //this.servicerequest = this.paymentLibComponent.SERVICEREQUEST.toString();
3291
- if (this.paymentLibComponent.SERVICEREQUEST.toString() === 'true') {
3290
+ this.servicerequest = this.paymentLibComponent.SERVICEREQUEST;
3291
+ if (this.servicerequest !== undefined && this.servicerequest.toString() === 'true') {
3292
3292
  this.serviceRequestValue = 'true';
3293
3293
  }
3294
3294
  else {