$kit->customers->findOrCreateByEmail()storage adapter is configured, calls findUserByEmail($email). If that returns a record with a stripeCustomerId, the matching customer is retrieved from Stripe via retrieve() and returned immediately.create(), passing through $extra and the resolved userId from your storage adapter, if any.| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | The email address to look up or create. |
extra | array | No | Any additional fields accepted by create() (name, phone, address, metadata, and so on), used only if a new customer needs to be created. |
create() / retrieve():create() and retrieve(), depending on which path is taken.