Payu is not working in WKWebview objective c

93 views Asked by At

I am trying to use PayU in WKWebiew , After filling all the credentials related to payment when I click on pay now button, nothing happens except loading

-(void)setupWebVw : (NSString*)url{

    netConnAvailable = [[AppDelegate getdelegate] checkInternetConn];
    if(netConnAvailable){

        self.wkWebView.hidden = NO;
        NSURL *fileUrl = [NSURL URLWithString:url];
        NSURLRequest *requestObj = [NSURLRequest requestWithURL:fileUrl];
        [_wkWebView setUserInteractionEnabled:YES];
        [_wkWebView loadRequest:requestObj];
        fileData = [NSData dataWithContentsOfURL:fileUrl];
        self.networkErrorVw.hidden = YES;

    }else{

        self.wkWebView.hidden = YES;
        self.networkErrorVw.hidden = NO;
    } 
}
0

There are 0 answers