-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Commerce Shipping Estimator #147
Comments
Fixed for the next release. To get this early, run |
Thanks for the quick fix, but I'm now getting this error: verbb\shippy\models\Address::setFirstName(): Argument #1 ($firstName) must be of type string, null given, called in /var/www/html/vendor/verbb/shippy/src/models/Model.php on line 43 I tried adding a field to the Shipping Estimator form with a pre-filled value but it didn't seem to make a difference: |
Just pushed another fix for that. You can run |
It's not throwing any errors now, but it's returning $0 for the shipping estimate. I peaked at the log file and I see the zip from the form but not the State, log attached. This is what the State field looks like in the Shipping estimator: |
Oops the field markup didn't come across: |
Looks like that's an issue with As for the state being empty, that actually looks like a Commerce issue, as the Address model's state value isn't populated, so we'll have to raise an issue there for that one. |
@engram-design I get the same error using 5.0.7
|
Fixed for Craft 5. You can run |
Question
FIrst time trying Postie, so far got it all working with the stock Commerce 4.7.0 example templates, but the Shipping Estimator appears to be broken now. Anyone else run into this and have a solution to the form? verbb\postie\helpers\ShippyHelper::toAddress(): Argument #2 ($address) must be of type craft\elements\Address, null given, called in /var/www/html/vendor/verbb/postie/src/services/Service.php on line 55
Additional context
No response
The text was updated successfully, but these errors were encountered: