'.print_r($_SESSION[[wpsc_previous_selected_gateway], true).''.get_option('payment_gateway')); if(($_SESSION['wpsc_previous_selected_gateway'] == 'paypal_certified') && ($_SESSION['paypalExpressMessage'] != '')){ echo $_SESSION['paypalExpressMessage']; } else { if($_SESSION['wpsc_previous_selected_gateway']== 'dps') { $sessionid = decrypt_dps_response(); //exit($sessionid); if($sessionid != ''){ //exit('
'.print_r($sessionid, true).'
'); transaction_results($sessionid, true); }else{ _e('Sorry your transaction was not accepted.
Click here to go back to checkout page.'); } } else { echo transaction_results($sessionid, true); } } ?>