Zen Cart Logo
Forums / General Questions / Google Checkout Coupon Error

Google Checkout Coupon Error

Locked

Views: 760

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
2 May 2010, 11:41 PM
#1
nbordeau avatar

nbordeau

Zen Follower

Join Date:
Apr 2010
Location:
Rochester, New York
Posts:
97
Plugin Contributions:
0

Google Checkout Coupon Error

Hey All,

So I cannot implement the coupon part of the Google Checout Mod...

Everytime I try to use a coupon it gives me this error:

Invalid Coupon
Minimum Order not met

Here is the code that is responsible for this:

else if ($coupon->fields['coupon_minimum_order'] > 0 && $order->info['total'] < $coupon->fields['coupon_minimum_order']) {
        $text_coupon_help = GOOGLECHECKOUT_COUPON_ERR_MIN_PURCHASE;
        $coupons = new GoogleCoupons("false", $curr_code['code'], 0, $text_coupon_help);
        $merchant_result->AddCoupons($coupons);

My guess is that it is not reading in the minimum order...

Any one know what the value should be or what files controls the coupons for Zen-Cart admin?

Thanks,
Nick