I am using the latest version of Expression Engine, Zoo Visitors and Expresso Store 2.
I would like to use the automatic member creation functionality that comes with store 2.
However I'm having some difficulties.
I have the following code in my template (unrelated stuff removed)
{exp:store:checkout
form_class="form-horizontal"
return="store_example/order/ORDER_HASH"
error_handling="inline"
error_delimiters='<span class="help-inline">|</span>'
payment_method="PayPal_Express"
register_member="yes"
}
{field:register_member} <label for="register_member">Register Member Account?</label>
<div>
<label for="password">Password</label>
{field:password}
</div>
<div class="form-actions">
<a href="{path='store_example/checkout2'}" class="btn">Back</a>
<input type="submit" name="submit" value="Place Order" class="btn btn-success" />
</div>
{/exp:store:checkout}
After completing payment on Paypal I get the following errors, which area presented in the standard ee error screen.
The form you submitted contained the following errors
You must submit a username You must submit a username You must submit an email address
Return to Previous Page
It says in the documentation that the username will use the order_email field. I have not explicitly requested that a username be entered.
Not sure where I'm going wrong here. Just wondering if Zoo Visitor is impacting on this process.
I'm expecting the user to receive an order confirmation email, and also an email with their account details.
Any help greatly appreciated.
Thanks Dave