8000 Cart without email throws error · Issue #144 · verbb/postie · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cart without email throws error #144

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

Closed
maccadesign opened this issue Oct 9, 2024 · 3 comments
Closed

Cart without email throws error #144

maccadesign opened this issue Oct 9, 2024 · 3 comments

Comments

@maccadesign
Copy link

Describe the bug

verbb\shippy\models\Address::setEmail(): Argument #1 ($email) must be of type string, null given when calling get-cart.

Steps to reproduce

  1. Add product to basket
  2. Set a delivery address
  3. Attempt to fetch the cart via /actions/commerce/cart/get-cart

Craft CMS version

4.12.5

Plugin version

4.0.7

Multi-site?

No

Additional context

The checkout is a single page checkout, so the user can fill in the address before the email which causes the issue.

@engram-design
Copy link
Member

Fixed for the next release. To get this early, run composer require verbb/postie:"dev-craft-4 as 4.0.7".

@engram-design
Copy link
Member

Fixed in 4.0.8

@maccadesign
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0