/* public function checkAndGetPaymentMethodInsideCart($id, $total, $shippingId) {
if ((int)$id > 0 && !empty($total)) {
return $this->checkAndGetPaymentMethods($id, 0, $total, $shippingId);
}
return false;
}*/
/**
* Check current payment method
* Payment method must be selected
* @param number $id
* @return boolean|array
*/
public function checkAndGetPaymentMethod($id = 0, $total = array(), $shippingId = 0)
{
if ($id > 0) {
return $this->checkAndGetPaymentMethods($id, 0, $total, $shippingId);
}
return false;
}