Skip to Content
StarsellDocs
Customers

Customer accounts

Buyers sign in on the storefront with a code sent to their email - turning accounts on, what buyers see, return requests, checkout, languages and security.

Turning them on

Settings > Customer accounts:

SettingWhat it does
Customer accounts onAn account icon shows in the storefront's header, and the account pages open. Off by default.
Show store credit in accountsBuyers see their store credit balance. On by default.
Buyers can ask for returnsDelivered orders get Request a return. On by default.
For how long after deliveryHow many days after delivery a return can be asked for, 1 to 365. 30 by default.

You need the settings permission to change them. Each change is in the activity log.

Signing in

There are no passwords. At /account on the store's address (for example shop.example.com/account, or /s/<store>/account on the free address):

The buyer types their email and gets a 6-digit code, from the store's email account, in the language they're shopping in.

They type the code. It works for 10 minutes, once.

They're signed in on this store for 30 days, or until they sign out.

Any email can sign in. An email with orders sees them; a new one becomes a customer of the store. Signing in to one store doesn't sign in to another.

The code email waits in the queue until the store has an email account connected. See Email settings.

What buyers see

  • Orders: every order on their customer record, newest first, with the status (preparing, shipped, delivered, returned, cancelled, waiting for payment, refunded), the tracking number, items and total, and their store credit when shown.
  • An order: its lines, subtotal, discount, shipping, VAT and total, the address it ships to, the tracking number, its returns with their status, and Request a return while that's open.
  • Addresses: add, edit, remove, and pick the default. The default fills checkout.
  • Profile: first and last name, phone, and their email and SMS marketing choices. The email is shown but not editable here: it's how they sign in, so the store changes it on the customer's page.
  • Sign out.

A buyer only ever sees their own orders, on the store they signed in to.

Return requests

On a delivered order, within the days set in settings after delivery, Request a return lets the buyer pick lines, how many of each, a reason (size or fit, arrived damaged, not as described, changed my mind, wrong item sent, other) and a note. Units already on another return that wasn't declined can't be asked for again.

The request becomes a return with the status Requested on the order, numbered after its other returns (#1042-R1, #1042-R2), with the buyer's note. The order's timeline and the activity log note it. The team takes it from there in Orders.

Checkout

A signed-in buyer's name, email, phone and default address fill checkout. They can change anything before they order, and the order goes on their customer record whatever email they type.

Languages

Every text on the account pages and in the code email is a storefront text, under Customer accounts in the store's texts, in English, Hebrew and Spanish, and can be reworded per language. See Languages.

Security

  • Codes are kept only as a keyed hash, compared in constant time, and work once.
  • A code allows 5 wrong tries. 10 wrong codes in an hour lock the email for an hour.
  • One email can ask for 3 codes in 10 minutes; one connection for 10 codes and 30 tries in 10 minutes.
  • The session is a random token in an HTTP-only cookie on the store's own address, sent over HTTPS only, and the store keeps only its hash. Signing out ends it.
  • Erasing a customer's data signs them out everywhere.

On this page