Skip to content

chore(release): S-Cart 3.4.0 — require core 3.8, front 3.5, shop 3.7

Choose a tag to compare

@gp247net gp247net released this 02 Nov 13:29
· 10 commits to master since this release

Sell through your own app and sync with your ERP over the REST API.

Includes: core 3.8.0 · front 3.5.0 · shop 3.7.0

✨ New

  • Sell through your own app — the store's app keeps the cart, places orders and pays online through the API; the site owner turns on "Orders via API" (docs)
  • Customer accounts in the app — sign up, password reset, profile, address book; long sign-ins with a refresh token
  • Sync with ERP and warehouse software — update order status, tracking numbers, prices and stock through the admin API, with the same permissions as the admin screens
  • Event log and webhooks — the ERP knows at once when orders, stock, products or customers change; off by default
  • Faster apps — fetch only the fields you need; unchanged data is not downloaded again (304)
  • For developers: an extension point for two-factor authentication (MFA) on API sign-in; Idempotency-Key against duplicate writes; an API deprecation policy; generate a TypeScript client from openapi.json

🐞 Fixes

  • Out-of-stock products still showed the buy button
  • Sign-up and password change accepted an empty password
  • The API answered 500 without an Accept header

⚠️ To do when updating

  • Back up the database and the site folder, then run composer update gp247/core gp247/front gp247/shop and php artisan gp247:update — it creates the API session, event log and webhook tables and the sync indexes
  • (Stock management on without stock entered) turn off Stock management or turn on Allow selling when out of stock, otherwise the buy button disappears on products with 0 stock
  • (Several apps sharing one API account) the 1000 requests/minute limit now counts per account — split the accounts or raise GP247_API_THROTTLE

Release notes for every S-Cart version: S-Cart releases and security