Customer account / Customer login / adding data to the customer object
I copied some of the demo code for the checkout flow and now, at this stage, in the database, after going through the checkout flow, I see
- Entries in the addresses table
- Bill payers
- Orders
Now I have he following questions
Why do I have no customer in the customers table ? I was assuming the customer would be linked to a Laravel user account or something so that the customer could log back in his/her account later (and see an order list for example). Today, the order is linked to the billpayer but I see no way for this billpayer to authenticate. Actually, this billpayer does not have an email …. So, numbering my questions :
- How to create a customer account so that the user can authenticate later ?
- How to add an email to the customer or billpayer ?
- How to add data to the customer object (like phone)
- What are the order statuses today ? Pending means paid and processed by seller ? Or means awaiting payment ?
- Also, in the example I do not see any code to populate the "notes" field of the order
Thanks for your help
any update on this?
-
1.Binding of customers/users hasn't been implemented yet in the framework, coming in 2.1. -
2.and3.Customer has these fields, so$customer->email = '[email protected]';see https://vanilo.io/docs/1.1/customers#fields -
4.Order statuses are completely up to you. You can customize them freely, see: https://vanilo.io/docs/1.1/enums#customizing-enums -
5.That's also in progress at the moment will ship with 2.0 within 2 weeks.
Could you please provide us a status update regarding 2.0 ?
@ghermans done
