Try this:
Code:
$sips = $order->info['total'];
//code added by PK
if ($sips >= 200) {
echo $sips = $this->makeRequest($order->info['total']*0.30, $currency);
} else {
echo $sips = $this->makeRequest($order->info['total'], $currency);
}
echo '">'."\n";
//end code added by PK
or even this:
Code:
// NOT NEEDED: $sips = $order->info['total'];
//code added by PK
if ($order->info['total'] >= 200) {
echo $sips = $this->makeRequest($order->info['total']*0.30, $currency);
} else {
echo $sips = $this->makeRequest($order->info['total'], $currency);
}
echo '">'."\n";
//end code added by PK
Bookmarks