“;
//print_r($res_data);die;
if($res_data->result==’SUCCESS’){
//header (“Location: “.$res_data->paymentLink->url);die;
$url_data = $res_data->paymentLink->url;
} else {
$error1 = $res_data->error->cause;
$error2 = $res_data->error->explanation;
//echo ‘Payments
‘.$res_data->error->cause.’
‘; //echo ‘‘.$res_data->error->explanation.’
‘; } } ?>