concretecms-community-store / community_store

An open, free and community developed eCommerce system for Concrete CMS
https://concretecms-community-store.github.io/community_store/
MIT License
106 stars 66 forks source link

Use "store-email" instead of "email" in guest checkout #784

Closed mlocati closed 1 year ago

mlocati commented 1 year ago

When we allow guest checkouts, we ask the customer email address with an input named store-email, not just email.

Without this fix, guest checkout is impossible.

mlocati commented 1 year ago

See https://github.com/concretecms-community-store/community_store/blob/v2.5.1/single_pages/checkout.php#L72

Mesuva commented 1 year ago

I'm in a bit of shock this one hasn't been picked up earlier.

I think it's something that was 'working' under PHP7.4 but then under PHP8 it was never noticed.

I'll merge this, review your other changes and put out a new release asap.