/* Template Name: Response */ $secret_key = "f433cc7e7aac942b7ea4c9b167dcee03"; // Your Secret Key if(isset($_GET['DR'])) { require('https://gotogermany.in/wp-content/themes/melos-corporate/Decrypt.php'); $DR = preg_replace("/\s/","+",$_GET['DR']); $rc4 = new Crypt_RC4($secret_key); $QueryString = base64_decode($DR); $rc4->decrypt($QueryString); $QueryString = explode('&',$QueryString); $response = array(); foreach($QueryString as $param){ $param = explode('=',$param); $response[$param[0]] = urldecode($param[1]); } } // payment sucess if(($response['ResponseCode'] == 0)) { foreach( $response as $key => $value) { echo $key; echo $value; } } // payment failed if(($response['ResponseCode'] != 0)) { foreach( $response as $key => $value) { echo $key; echo $value; } }