hi,
In xcart4.7 i use this below code in path ( >>payment >> payment_offline.php )
$emailAddress = $userinfo['email'];
// required, get from session or db...
$cartTotal = $cart['total_cost']; // optional, more accurate reporting...
$url =
"
https://domain.com/ss/v1/?key=6cc64f627ae9418b820a41891dce6b13&siteid=k 5BYYFZK&e
mail=".$emailAddress."&total=". $cartTotal;
// Initialize cURL...
$ch = curl_init();
// Set URL and Return directives...
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// Send the request...
$jsonResponse = curl_exec($ch);
// Close cURL...
curl_close($ch);
// Handle JSON response...
$response = json_decode($jsonResponse, true);
// Successful call is response code 100...
if ($response['resp'] != "100"

{ /* Handle error responses, see "Response Codes" above... */ } it is working
in 5.3 where i use this code please mention the file path and give a some guidins