How to redirect to the Paytm app or website on click of the 'Pay' button

Hello!
I am working on a project in which I want to redirect to the Paytm app or website on click of the 'Pay' button with copying the payable amount of it and automatically paste it on the amount textbox on Paytm.

1 Reply 1 reply marked as answer

MK Mohan Kumar Ramasamy Syncfusion Team February 4, 2021 03:49 AM UTC

Hi Ishan, 
 
We have checked your reported query, We have update the textbox value in button click event. Please refer below code snippets. 
 
 
<div class="button-section"> 
  <div id="button-control"> 
    <div class="col-xs-6 col-sm-6 col-lg-6 col-md-6"> 
      <ejs-textbox 
        placeholder="Amount" 
        cssClass="e-outline" 
        floatLabelType="Auto" 
        width="300px" 
        #textbox 
      ></ejs-textbox> 
    </div> 
    <br /> 
    <br /> 
    <div class="col-xs-12 col-sm-12 col-lg-6 col-md-6"> 
      <button ejs-button [isPrimary]="true" (click)="btnClick()"> 
        Pay 
      </button> 
    </div> 
  </div> 
</div> 
 
   //Toggle button click event handler 
    btnClick() { 
       this.textbox.value = 145; 
    } 
 
For your reference, we have prepared a sample based on this. Please refer below link. 
 
 
Please let us know, if you need any further assistance. 
 
Regards, 
Mohan kumar R 


Marked as answer
Loader.
Up arrow icon