@spree/docs 0.1.243 → 0.1.245
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -134,7 +134,7 @@ Spree.integrations << 'MyApp::AcmeIntegration'
|
|
|
134
134
|
Spree.payout_providers << MyApp::PayoutProvider
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
The operator then picks it under **Settings →
|
|
137
|
+
The operator then picks it under **Settings → Marketplace**, which is the store's `payout_provider` preference. The picker is built from the registry, so your provider appears alongside the built-in one and reports whether the store can use it today:
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
```typescript Admin SDK
|
|
@@ -149,6 +149,11 @@ curl https://your-store.com/api/v3/admin/payout_providers \
|
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
|
|
152
|
+
> **NOTE:** `available` is what `available_for_store?` answers. A provider that returns
|
|
153
|
+
> false still appears in the picker, greyed out, with the dashboard explaining
|
|
154
|
+
> what the operator has to connect first — so implement it to mean "usable
|
|
155
|
+
> today", not "installed".
|
|
156
|
+
|
|
152
157
|
A store whose configured provider disappears from the registry — a gem removed, a class renamed — silently falls back to the built-in one so the ledger keeps recording. Rename with `def self.provider_key` pinned to the old name if you ever need to, or the rows written under the old name stop matching.
|
|
153
158
|
|
|
154
159
|
## Errors decide what happens next
|
|
@@ -14,7 +14,7 @@ Stripe Connect is the payout provider that ships with Spree's Stripe integration
|
|
|
14
14
|
|
|
15
15
|
## Turn it on
|
|
16
16
|
|
|
17
|
-
Go to **Settings →
|
|
17
|
+
Go to **Settings → Marketplace** and choose **Stripe Connect** as the payout provider. The option is only offered once an active Stripe payment method exists on the store. The schedule and minimum on the same page decide when Spree settles each seller.
|
|
18
18
|
|
|
19
19
|
The same setting through the Admin API:
|
|
20
20
|
|