Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Merge branch 'main' into feat/seller-payouts

Damian Legawiec2b8f60f37f2d
diff --cc packages/admin-sdk/src/types/generated/Store.ts
index b6c0c09b2b,845d187725..607065b2f5
--- a/packages/admin-sdk/src/types/generated/Store.ts
+++ b/packages/admin-sdk/src/types/generated/Store.ts
@@@ -1,4 -1,4 +1,4 @@@
- // Typelizer digest 7456a5ab83a9e63d9d779cf4b10b9bc9
-// Typelizer digest 102abca36b8e5d494043132f520dc76b
++// Typelizer digest 43a5aa9bd73eaa44ecbb36e06339dd3c
//
// DO NOT MODIFY: This file was automatically generated by Typelizer.
import type {SetupTask} from '@/types'
diff --cc spree/core/lib/spree/core/engine.rb
index 5d2be32aa3,9e18f5f6fb..88f076be7b
--- a/spree/core/lib/spree/core/engine.rb
+++ b/spree/core/lib/spree/core/engine.rb
@@@ -277,13 -268,10 +277,16 @@@ module Spre
# what is installed (see docs/plans/6.0-third-party-pricing-inventory.md).
Rails.application.config.spree.pricing_providers.concat [Spree::PricingProvider::Internal]
Rails.application.config.spree.inventory_providers.concat [Spree::InventoryProvider::Internal]
+ # 'manual' is the negotiated-price marker on line items, so no pricing
+ # engine may answer under it — fail the boot rather than the checkout.
+ Spree::PricingProvider.verify_registry!
+ # How sellers are paid when a store names nothing: the books are kept
+ # and the operator settles offline. Assigned only if an initializer has
+ # not already chosen one.
+ Rails.application.config.spree.default_payout_provider ||= Spree::PayoutProvider::System
+ Rails.application.config.spree.payout_providers.concat [Spree::PayoutProvider::System]
+
# Password policy for the default auth models. Swap for corporate rules,
# breach-list lookups or entropy scoring.
Rails.application.config.spree.password_validator = Spree::PasswordLengthValidator