Skip to content

Customer account / Customer login / adding data to the customer object #53

Description

@samo9789

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

  1. Entries in the addresses table
  2. Bill payers
  3. 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 :

  1. How to create a customer account so that the user can authenticate later ?
  2. How to add an email to the customer or billpayer ?
  3. How to add data to the customer object (like phone)
  4. What are the order statuses today ? Pending means paid and processed by seller ? Or means awaiting payment ?
  5. Also, in the example I do not see any code to populate the "notes" field of the order

Thanks for your help

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions