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

Fix how you access the email address in certain scenarios #37

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

samhibberd
Copy link

@samhibberd samhibberd commented Nov 13, 2023

When there is no email address on the order, we try to retrieve the email from the customer. As customers are now native users in Craft 4, the getEmail() method is no longer available.

Fixes #36

When there is no email address on the order, we try to retrieve the email from the customer. As customers are now native users in Craft 4, the `getEmail()` method is no longer available.
@samhibberd
Copy link
Author

Any thoughts on getting this fix merged?

@samhibberd
Copy link
Author

Hi @Diewy would it be possible to get this merged? We are still having to use our fork to work around this issue! 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

Successfully merging this pull request may close these issues.

The getEmail() method is no longer available for the order customer as it returns a native craft User?
1 participant