<p>Commerce is going to require an email address to checkout. It's a required field for a customer.</p>
<p>You could try to &quot;fake&quot; an email address and then try to update it before the order completes (<code>beforeCompleteOrder</code>) after the transaction succeeds, but I think that's more error prone because Commerce has already setup a customer and order details based on that information.</p>
<p>However, you could work around it.</p>
<p>I'm not sure how your payment provider works but on the cart page, you could start the payment process &quot;manually&quot;.</p>
<p>Every field is optional - up until you send the order to Commerce Payment model.</p>
<p>You might have a button that says &quot;Login with Provider&quot; or whatever on the cart page. After someone presses that button, behind the scenes, you're calling your own logic.</p>
<p>You might set some fields up for that session including a token to continue the transaction. As far as Commerce is concerned, it hasn't started checkout yet but it feels that way to the customer.</p>
<p>Then after you've grabbed the customer's details and setup the cart, then you can proceed with sending Commerce the details it needs.</p>

CC BY-SA 4.0
2021-01-15T18:17:01.897Z
2021-01-15T18:17:01.897Z
RitterKnight
<p>Is it possible for Users to checkout without an email or address?</p>
<p>I want to give users the option to switch to a payment provider in the cart and fetch the address later via the provider.
Unfortunately I get an error message that no email is associated with the cart \ order.</p>
<p>Is there a way to checkout without an email?
Or Is it possible to edit an Order before passing it to an payment gateway to include an fake email?</p>

<plugin-craftcommerce>
Craft Commerce: Checkout without email / address
# Craft Commerce: Checkout without email / address

(Asked by: username_0 on 2021-01-14)

Is it possible for Users to checkout without an email or address?

I want to give users the option to switch to a payment provider in the cart and fetch the address later via the provider.
Unfortunately I get an error message that no email is associated with the cart \ order.

Is there a way to checkout without an email?
Or Is it possible to edit an Order before passing it to an payment gateway to include an fake email?

**Tags:** plugin-craftcommerce

---

## 1 answers

### Answer by username_1 on 2021-01-15. Score: 1

Commerce is going to require an email address to checkout. It's a required field for a customer.

You could try to "fake" an email address and then try to update it before the order completes (`beforeCompleteOrder`) after the transaction succeeds, but I think that's more error prone because Commerce has already setup a customer and order details based on that information.

However, you could work around it.

I'm not sure how your payment provider works but on the cart page, you could start the payment process "manually".

Every field is optional - up until you send the order to Commerce Payment model.

You might have a button that says "Login with Provider" or whatever on the cart page. After someone presses that button, behind the scenes, you're calling your own logic.

You might set some fields up for that session including a token to continue the transaction. As far as Commerce is concerned, it hasn't started checkout yet but it feels that way to the customer.

Then after you've grabbed the customer's details and setup the cart, then you can proceed with sending Commerce the details it needs.


---

