public function getRemovebeneotp() { $input = Xmlicash::removebenotpverify(Input::all()); $data = Icash::registerkyc($input); $output = Xmltoarray::arr($data); $city = $output['SOAP:ENVELOPE']['SOAP:BODY']['REMOVEBENEOTPRESPONSE']['REMOVEBENEOTPRESULT']; $output1 = Xmltoarray::arr($city); //print_r($output); exit; if ($output1['REMOVEBENEOTPRESPONSE']['STATUSCODE'] == 0) { //jsoninput=Jsonicash::removeben(Input::all()); //$jsonresult=Icash::removebene($jsoninput); //print_r($jsoninput);exit; return Redirect::to('retailer/icash/manage'); } else { return Redirect::to('retailer/icash/benotp/' . Input::get('benid'))->with('failure', $output1['REMOVEBENEOTPRESPONSE']['STATUS']); } }