avadev / AvaTax-Calc-REST-PHP

PHP sample for the AvaTax Calc REST API
Apache License 2.0
9 stars 28 forks source link

Fix for TaxDetail not being parsed when Summary is used. #29

Closed lukestokes closed 8 years ago

lukestokes commented 8 years ago

If you use a DetailLevel of Summary you'll get this error: Undefined property: stdClass::$TaxDetails

lukestokes commented 8 years ago

Huh, seems I didn't have the latest version of the code, for some reason. I pulled down the latest directly instead relying on Composer, and I see this change now which I think should fix the problem I was seeing: https://github.com/avadev/AvaTax-Calc-REST-PHP/blob/master/src/AvaTax/GetTaxResult.php#L91

Closing.