Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Host must be a string" error #40

Closed
bporcelli opened this issue Dec 18, 2019 · 2 comments
Closed

"Host must be a string" error #40

bporcelli opened this issue Dec 18, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@bporcelli
Copy link
Owner

Due to Guzzle issue #2458, some merchants with older versions of PHP intl/ICU installed on their system are getting a "host must be a string" error during checkout.

Proposed solution

Disable IDN conversion by passing idn_conversion => false to the Guzzle client constructor. We only ever make requests to taxcloud.com, which is not an IDN.

@bporcelli bporcelli added the bug Something isn't working label Dec 18, 2019
@bporcelli bporcelli self-assigned this Dec 18, 2019
@bporcelli
Copy link
Owner Author

Moving to the bporcelli/php-taxcloud repository.

@bporcelli
Copy link
Owner Author

Re-opening here for future reference.

@bporcelli bporcelli reopened this Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant