- "Get paid" card in Settings: connect Stripe, finish setup, Stripe checking, connected with payouts status
- Payment pages and discount coupons are made in the merchant's own Stripe account; we take no cut
- Checkout is closed ("not taking orders yet") until Stripe approves the store
- FPX is requested and switched on for shoppers once the merchant finishes Stripe's form
- Second webhook for payments on merchants' accounts (STRIPE_CONNECT_WEBHOOK_SECRET)
- Overview: "Connect Stripe" step and a warning for live stores that cannot take payments
- Terms and privacy pages say how merchants are paid
- New stripe_accounts table and orders.payment_account (run php artisan migrate)
EOF
- Store "Email for shoppers" in Settings: order emails come under the store's name, replies go to the store
Add EasyParcel courier booking and clearer back buttons
- Connect each store to the merchant's own EasyParcel account (guided setup in Settings, sign in and allow)
- Pickup address and usual parcel size in Settings
- On a paid order: compare courier prices, book one, print the label, tracking number filled in and shopper emailed
- Prices match what EasyParcel charges; low-credit and other EasyParcel errors shown in plain words
- Tested with the EasyParcel sandbox: real prices and a real booking with label
- Clear "Back" buttons at the top of every store page, including add and edit pages
- New easyparcel_accounts table and pickup/shipment columns (run php artisan migrate)
Add subscription billing with free trial and plan limits
Step 6:
- Plans in a database table (prices in sen); 14-day free trial for
every new account.
- Stripe subscriptions behind a SubscriptionGateway interface:
subscribe, switch plan, cancel at period end, undo.
- Billing page with usage meters and plan cards; sidebar link; trial
notice on the dashboard.
- Limits enforced for stores, regenerations and AI edits. With no plan,
AI, new stores and publishing are refused and live stores go offline.
- The Stripe webhook also keeps subscriptions in step.
Tests: 164 pass (14 new). Verified with a real Stripe test
subscription: subscribe, cancel, undo.
Step 5:
- Publish, publish changes and take offline, with a panel on the store
page showing the live address.
- Live stores open at <store name>.<domain> with no login. Shoppers see
a saved copy of the design (published_plan); products stay live.
- One Storefront class decides live or preview, so the same controllers
and pages serve both.
- On a store's address only store pages exist; the dashboard and login
give "not found".
- More reserved store names; STOREFRONT_DOMAIN setting.
Add cart, Stripe checkout, orders and order confirmation email
Step 4 part 2:
- Session cart per store with stock limits and self-correction.
- Checkout: shopper details, order snapshot, Stripe hosted payment page
behind a PaymentGateway interface, return-page and webhook confirmation.
- Orders tab for the merchant and a confirmation email in the store language.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Split settings into a shared .env and a private .env.local
.env is now tracked and holds only basic, non-secret settings; secrets
and all AI settings are blank. .env.local is ignored, holds everything
needed to run, and is loaded instead of .env when it exists.
Removes .env.example.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Add AI store generation, chat edits and plan limits
Step 3: swappable AI layer (Claude via the official SDK, DeepSeek via an
OpenAI-compatible driver, and a fake provider), full store generation,
chat edits, background job with a progress screen, usage counting and
limits per plan. Removes the temporary sample-design button.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>