-
Notifications
You must be signed in to change notification settings - Fork 90
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
1.3.1 cannot find Shippo_Address
#45
Comments
So, with the way that the wrapper is setup, Shippo_Address isn't a method of the class So the way of calling that method from the Shippo namespace for the Shippo_Address class should be formed as This should look into the I hope that clears things up, but if I am missing something here, please let me know. |
I'm not sure what you're getting at in your first paragraph. The problem is that the It is trying to instantiate |
So, admittedly I am not as well versed in PHP, but the issue appears to be a result of how namespacing was done here (along the lines of what you mentioned with missing fully qualified namespaces). We rolled back the changes and as of #48 should be resolved. |
Do you guys accept PRs? |
We most certainly do! If you want to contribute, feel free to fork the repo and create some proposed changes and submit them as a PR. We'll review it and provide feedback, and should the changes look good, we'll merging them into the repo. |
Calling
\Shippo\Shippo_Address::create($params);
throws:in Object.php.
The problem is that
$class
should contain the fully qualified namespace as explained here.The text was updated successfully, but these errors were encountered: