Double-check unpaid orders and let shoppers complete their payment
- Every 5 minutes, ask Stripe or HitPay about unpaid orders whose payment news may have been missed, and mark them paid
- After 25 hours with no payment, the order becomes "Not paid" and is left alone
- Both payment pages now close 23 hours after the order, and that deadline is shown to shoppers
- Order page: "Complete payment" button with the deadline; "Payment time is over" after it
- Cart page: banner for the shopper's own unpaid order (same browser only)
- One "Complete your payment" email about 30 minutes after an unpaid order, in English or Malay; not sent if they paid, ordered again, the provider could not be checked, or under an hour is left
- Every "Complete payment" link asks the provider first, so a paid or expired order goes to the order page
- Merchant order page: notes for orders waiting for payment and for "Not paid" orders
- New columns on orders: payment_checked_at, payment_url, payment_expires_at, payment_reminded_at (run php artisan migrate)
Add GrabPay, and DuitNow QR and e-wallets through HitPay
- GrabPay is switched on for every merchant's own Stripe account, like FPX; stores set up earlier get it on their next check
- Merchants can connect their own HitPay account in Settings with their API key (checked with HitPay, stored encrypted) and choose DuitNow QR, Touch 'n Go and ShopeePay
- At checkout, shoppers choose Stripe (card, FPX, GrabPay) or HitPay (DuitNow QR, e-wallets); a store with only HitPay can take orders too
- HitPay orders are marked paid only after asking HitPay directly, on the return page and from HitPay's webhook
- Methods HitPay refuses are left out for an hour, the shopper pays with what is left, and the merchant sees a warning in Settings
- The HitPay key is kept out of error logs
- HITPAY_SANDBOX setting; run php artisan migrate (grabpay_requested, hitpay_accounts)
- "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 collections, shop by, bento and video sections
- Collections in the Products tab or by chat, with their own pages and links
- Shop by section: collections as round photos or tiles
- Bento section: 3-6 tiles of different sizes, with photos or brand colours
- Video section: YouTube or Vimeo, loads only when the shopper presses play
- Video and Bento boxes in the Design tab to add and edit without chat
- All Design tab boxes fold open and closed, with arrows
- AI only uses real collections and video links the merchant gave
- Reviews moved to part 8; main and redesign kept apart for comparison
- Folding sections: product's own (form or chat) plus shipping from real fees
- Trust points and WhatsApp question link under the button
- Sticky add-to-cart bar on phones; photos stay in view on wide screens
- Pairs well with: bundle partners first, then other products
- Phone menu for the store header
Add automatic discounts and AI product descriptions
- Discounts with no code: min items or spend, all or chosen products, dates
- One discount per order: the better of code and automatic discount
- Cart nudge, product page note, name on order, Stripe and email
- Chat commands can create automatic discounts and write product descriptions
Add chat commands for products, discounts and bundles
- AI proposes store changes from the chat; nothing changes until Confirm
- Same rules as the forms; all or nothing on confirm
- Shared discount code rules
- Fix flaky cart test
- Bundles of other products at one price, stock taken from the items inside
- "What's inside" on the product page
- Paying lowers each item's stock; checkout checks shared stock
- Order page shows what to pack
- Up to 2 options per product, each combination with its own price and stock
- Option buttons on the product page; sold-out choices crossed out
- Variant shown in cart, checkout, Stripe, orders and email
- Paying lowers the stock of the chosen variant
- Discounts tab: percent or fixed off, min spend, dates, usage limit
- Code box in cart; discount on products only, not shipping
- Orders save code and amount; Stripe shows it as a coupon
- Use counted only when the order is paid
Add shipping fees, mark as shipped and WhatsApp links
Step 7 part 1:
- Store Settings tab with WhatsApp number and flat shipping fees for
Peninsular and East Malaysia, plus optional free shipping.
- Shipping fee behind a ShippingProvider interface; added at checkout,
sent to Stripe as its own line, shown on the thank-you page and email.
- Mark as shipped with courier and tracking number; the shopper is
emailed once, in the store language.
- WhatsApp chat button on the store and wa.me links on order pages.
- Checkout and cart messages in Bahasa Malaysia; Malaysian-only phone
numbers for WhatsApp.
- Fix live-store menu links on pages other than home.
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>