rhyswynne / easy-digital-downloads-taxamo-integration

Integrate Taxamo into Easy Digital Downloads. Make yourself Compatible with the VATMOSS EU Legislation
2 stars 6 forks source link

Correctly pass APIClient as argument to Taxamo class instantiator. #36

Closed ericnicolaas closed 7 years ago

ericnicolaas commented 7 years ago

This resolves a fatal error that happens when refunding a payment:

PHP Fatal error:  Uncaught Error: Call to a member function toPathValue() on string in /path/to/wp/wp-content/plugins/easy-digital-downloads-taxamo-integration/includes/libraries/taxamo-api/Taxamo.php:54
NateWr commented 7 years ago

Awesome! I've been meaning to look into this error for a while. :+1:

rhyswynne commented 7 years ago

Thanks for this! Much appreciated :)