
Originally Posted by
BlessIsaacola
Ropu,
any response to the above post? GCV1.2RC3 does not work when Taxable Good is enable. please read the above scenarios for recreating the rror.
Thanks!
Bless, thanks for your feedback, i think i found the bug
I was using a different way to find out If there are multiple shipping options selected and they use different shipping tax tables or some dont use tax tables.
I was comparing count(DV) instead of count(shipping providers), its a bug from the time i added Merchant calculations.
Thanks again.
change this in googlecheckout/gcheckout.php line 431
PHP Code:
if(sizeof($tax_class_unique) == 1 &&
sizeof($options) == sizeof($tax_class)) {
for
PHP Code:
if(sizeof($tax_class_unique) == 1 &&
sizeof($module_info) == sizeof($tax_class)) {
and
change this in googlecheckout/gcheckout.php line 469
PHP Code:
if(sizeof($tax_class_unique) > 1 ||
(sizeof($tax_class_unique) == 1 &&
sizeof($options) != sizeof($tax_class) )) {
$googlepayment->variant = "disabled";
$current_checkout_url = selfURL();
}
for
PHP Code:
if(sizeof($tax_class_unique) > 1 ||
(sizeof($tax_class_unique) == 1 &&
sizeof($module_info) != sizeof($tax_class) )) {
$googlepayment->variant = "disabled";
$current_checkout_url = selfURL();
}
im updating the SVN, and later the RC
and issa, please tell us if this worked for you.
ropu
Bookmarks