diff --git a/src/app/pmtservice/pmtservice.component.ts b/src/app/pmtservice/pmtservice.component.ts index 7593ab5..e755311 100644 --- a/src/app/pmtservice/pmtservice.component.ts +++ b/src/app/pmtservice/pmtservice.component.ts @@ -148,7 +148,7 @@ export class PmtserviceComponent implements OnInit { this.activatedRoute.queryParams.subscribe((params) => { this.pmtData.ownerId = params["owner"]; this.pmtData.invoice = params["invoiceNo"]; - this.pmtData.amount = params["amount"]; + this.pmtData.amount = +params["amount"]; this.pmtData.currency = params["currency"]; this.pmtData.shortcode = params["shortCode"]; this.getInvoiceData( this.pmtData );