How to integrate PayUmoney Cordova Plugin in ionic 3

Someone Please help me with the plugin !!

I’ve done this so far

payu(){
var merchantID = ‘<Your_Merchant_ID>’;
var key = ‘<Your_Merchant_Key>’;
var txnId = ‘<Unique_Transaction_ID>’;
var amount = ‘123.45’; // Amount in INR
var phoneNumber = ‘1234567890’;
var email = ‘abc@de.com’;
var userFirstName = 'UserFirstName ';
var environment_value = PUMEnvironment.PUMEnvironmentTest;
var sURL = ‘<Your_Success_URL>’;
var fURL = ‘<Your_Failure_URL>’;
var product_description = ‘<Your_Product_description>’;
var udf1 = ‘’; transaction
var udf2 = ‘’;
var udf3 = ‘’;
var udf4 = ‘’;
var udf5 = ‘’;
var udf6 = ‘’;
var udf7 = ‘’;
var udf8 = ‘’;
var udf9 = ‘’;
var udf10 = ‘’;

    var txnParam = new PUMTxnParam(key, merchantID, txnId, amount, phoneNumber, email, userFirstName, sURL, fURL, product_description, environment_value, udf1, udf2, udf3, udf4, udf5, udf6, udf7, udf8, udf9, udf10);

txnParam.hashValue = ‘<Hash_Value_For_Current_Transaction>’;

    cordova.plugins.PayUmoneyPnP.showPaymentView(txnSuccessHandler, txnFailureHandler, txnParam );


    var txnSuccessHandler = (response) => {
      console.log('showPaymentView received Success');
      alert(JSON.stringify(response));
    };

    var txnFailureHandler = (response) => {
            console.log('showPaymentView received Failure');
            alert(JSON.stringify(response));
    };

}