kiranpatil353 / google-checkout-php-sample-code

Automatically exported from code.google.com/p/google-checkout-php-sample-code
0 stars 0 forks source link

Default sales tax rules are not set properly #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a default sales tax rule.
2. It's not being added to the xml that is sent to Google. 

What is the expected output? What do you see instead?

The sales tax array is not being set to the right variable in the function
AddDefaultTaxRules in library/googlecart.php:

function AddDefaultTaxRules($rules) {
      $this->default_tax_table = true;
      $this->default_tax_rule_arr[] = $rules;
      //the above line should be $this->default_tax_rules_arr[] = $rules;
}

What version of the product are you using? On what operating system?

1.0.2 on some version of Linux

Please provide any additional information below.

Original issue reported on code.google.com by thephp...@gmail.com on 25 Feb 2007 at 6:35

GoogleCodeExporter commented 8 years ago

Original comment by rovagn...@gmail.com on 13 Jun 2007 at 4:20