@@ -253,7 +253,7 @@ class OnepageController extends APIController
if (!$giftCard) {
throw new \Exception('The gift card does not exist or has been deleted. Please select a new gift card');
}
- if ($giftCard->remaining_giftcard_amount < $cart->giftcard_amount) {
+ if (core()->convertPrice($giftCard->remaining_giftcard_amount) < $cart->giftcard_amount) {
throw new \Exception(
sprintf(
'The gift card balance is insufficient (current balance: %s, required payment: %s). Please reselect a payment method',