@funnelsgrove/cli 0.1.297 → 0.1.299
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.
- package/funnel-contract-compatibility.json +32 -32
- package/package.json +1 -1
- package/template_docs/.funnelsgrove-docs.json +5 -5
- package/template_docs/docs/funnelsgrove/contracts/payments.md +9 -0
- package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_docs/docs/funnelsgrove/steps/upsell_offer.md +2 -2
- package/template_docs/funnel-docs.config.json +1 -1
- package/template_scaffold/.funnelsgrove-docs.json +5 -5
- package/template_scaffold/.funnelsgrove-scaffold.json +7 -7
- package/template_scaffold/docs/funnelsgrove/contracts/payments.md +9 -0
- package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_scaffold/docs/funnelsgrove/steps/upsell_offer.md +2 -2
- package/template_scaffold/funnel-docs.config.json +1 -1
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"minimumCliVersion": "0.1.20",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
7
|
-
"repositoryCliVersion": "0.1.
|
|
7
|
+
"repositoryCliVersion": "0.1.299",
|
|
8
8
|
"manifest": {
|
|
9
9
|
"schemaVersion": 1,
|
|
10
|
-
"bundleVersion": "2.0.
|
|
10
|
+
"bundleVersion": "2.0.292",
|
|
11
11
|
"stepContractVersion": 3,
|
|
12
12
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
13
13
|
"managedFiles": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"path": "docs/funnelsgrove/contracts/payments.md",
|
|
40
|
-
"sha256": "
|
|
40
|
+
"sha256": "6e64acdf171351fddedc96e908f4135e2240751a726c05d938c6e8644ab42082"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"path": "docs/funnelsgrove/contracts/step-metadata.md",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
48
|
-
"sha256": "
|
|
48
|
+
"sha256": "c0dd6a75b2a824e38686b0ef29721b8bf6c61267254cfefeb036279eb40ddc0b"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"path": "docs/funnelsgrove/steps/upsell_offer.md",
|
|
140
|
-
"sha256": "
|
|
140
|
+
"sha256": "4a4d6122e868bbef1ca9e11238f6e7f4f8e03b5bf7dba7a1a0205c3ac422d4bd"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"path": "docs/funnelsgrove/steps/value_prop_story.md",
|
|
@@ -145,16 +145,16 @@
|
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"path": "funnel-docs.config.json",
|
|
148
|
-
"sha256": "
|
|
148
|
+
"sha256": "f381938717d2b2bf89f9ee4a8b671ac6a7618d63aad64f4abbeb214d1426de39"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"repositoryCliVersion": "0.1.
|
|
154
|
+
"repositoryCliVersion": "0.1.298",
|
|
155
155
|
"manifest": {
|
|
156
156
|
"schemaVersion": 1,
|
|
157
|
-
"bundleVersion": "2.0.
|
|
157
|
+
"bundleVersion": "2.0.291",
|
|
158
158
|
"stepContractVersion": 3,
|
|
159
159
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
160
160
|
"managedFiles": [
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
"path": "docs/funnelsgrove/contracts/payments.md",
|
|
187
|
-
"sha256": "
|
|
187
|
+
"sha256": "6e64acdf171351fddedc96e908f4135e2240751a726c05d938c6e8644ab42082"
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
190
|
"path": "docs/funnelsgrove/contracts/step-metadata.md",
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
195
|
-
"sha256": "
|
|
195
|
+
"sha256": "df3f4992dbf8ebbdb06b2da5fa93084f2a8e509e633ab84031677b6adfa34f1c"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
"path": "docs/funnelsgrove/steps/upsell_offer.md",
|
|
287
|
-
"sha256": "
|
|
287
|
+
"sha256": "4a4d6122e868bbef1ca9e11238f6e7f4f8e03b5bf7dba7a1a0205c3ac422d4bd"
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
"path": "docs/funnelsgrove/steps/value_prop_story.md",
|
|
@@ -292,16 +292,16 @@
|
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
"path": "funnel-docs.config.json",
|
|
295
|
-
"sha256": "
|
|
295
|
+
"sha256": "2c04ca52e82df96a208fc3f16f38fd98b92b01062505dce8b4b9bd01a6917811"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"repositoryCliVersion": "0.1.
|
|
301
|
+
"repositoryCliVersion": "0.1.297",
|
|
302
302
|
"manifest": {
|
|
303
303
|
"schemaVersion": 1,
|
|
304
|
-
"bundleVersion": "2.0.
|
|
304
|
+
"bundleVersion": "2.0.290",
|
|
305
305
|
"stepContractVersion": 3,
|
|
306
306
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
307
307
|
"managedFiles": [
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
},
|
|
340
340
|
{
|
|
341
341
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
342
|
-
"sha256": "
|
|
342
|
+
"sha256": "7bc1a8807979f1804f27ec95c049ea18c8637438c5e4c7f8cfb502a856f1d7fe"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
345
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -439,16 +439,16 @@
|
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
441
|
"path": "funnel-docs.config.json",
|
|
442
|
-
"sha256": "
|
|
442
|
+
"sha256": "75d2fc9faa26a9f5eb31048efd086908d75c0dfcad3a9cd91d79a738dff74127"
|
|
443
443
|
}
|
|
444
444
|
]
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
"repositoryCliVersion": "0.1.
|
|
448
|
+
"repositoryCliVersion": "0.1.296",
|
|
449
449
|
"manifest": {
|
|
450
450
|
"schemaVersion": 1,
|
|
451
|
-
"bundleVersion": "2.0.
|
|
451
|
+
"bundleVersion": "2.0.289",
|
|
452
452
|
"stepContractVersion": 3,
|
|
453
453
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
454
454
|
"managedFiles": [
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
489
|
-
"sha256": "
|
|
489
|
+
"sha256": "f822b4943245eed41a35a42ec4e88712213d4f456d6bfeba73138168b292acb8"
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -586,16 +586,16 @@
|
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
"path": "funnel-docs.config.json",
|
|
589
|
-
"sha256": "
|
|
589
|
+
"sha256": "3e3cdfabee902dfdb2fe31dc439d71c9b3a2137ea4222fcc1a7169b431ab8680"
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"repositoryCliVersion": "0.1.
|
|
595
|
+
"repositoryCliVersion": "0.1.295",
|
|
596
596
|
"manifest": {
|
|
597
597
|
"schemaVersion": 1,
|
|
598
|
-
"bundleVersion": "2.0.
|
|
598
|
+
"bundleVersion": "2.0.288",
|
|
599
599
|
"stepContractVersion": 3,
|
|
600
600
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
601
601
|
"managedFiles": [
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
635
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
636
|
-
"sha256": "
|
|
636
|
+
"sha256": "93b18e9d64291582895c0236b6dfb95c8b261f7fce375ed4163598891d2504e5"
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
639
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -733,16 +733,16 @@
|
|
|
733
733
|
},
|
|
734
734
|
{
|
|
735
735
|
"path": "funnel-docs.config.json",
|
|
736
|
-
"sha256": "
|
|
736
|
+
"sha256": "af0ab4eb198669c6a97291986a6f17b80ea93294f8e15633cfe58e71f6b172ed"
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"repositoryCliVersion": "0.1.
|
|
742
|
+
"repositoryCliVersion": "0.1.294",
|
|
743
743
|
"manifest": {
|
|
744
744
|
"schemaVersion": 1,
|
|
745
|
-
"bundleVersion": "2.0.
|
|
745
|
+
"bundleVersion": "2.0.287",
|
|
746
746
|
"stepContractVersion": 3,
|
|
747
747
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
748
748
|
"managedFiles": [
|
|
@@ -780,7 +780,7 @@
|
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
782
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
783
|
-
"sha256": "
|
|
783
|
+
"sha256": "1f7f3d76856b2096ebde3bb0dd83dfabd131823476c8be151849e3bf57c91c28"
|
|
784
784
|
},
|
|
785
785
|
{
|
|
786
786
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -880,16 +880,16 @@
|
|
|
880
880
|
},
|
|
881
881
|
{
|
|
882
882
|
"path": "funnel-docs.config.json",
|
|
883
|
-
"sha256": "
|
|
883
|
+
"sha256": "8470d2655720e6c3bb6e210b98d61fb7222deeef9607db6d03cca40e3b06fec7"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
|
-
"repositoryCliVersion": "0.1.
|
|
889
|
+
"repositoryCliVersion": "0.1.293",
|
|
890
890
|
"manifest": {
|
|
891
891
|
"schemaVersion": 1,
|
|
892
|
-
"bundleVersion": "2.0.
|
|
892
|
+
"bundleVersion": "2.0.286",
|
|
893
893
|
"stepContractVersion": 3,
|
|
894
894
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
895
895
|
"managedFiles": [
|
|
@@ -927,7 +927,7 @@
|
|
|
927
927
|
},
|
|
928
928
|
{
|
|
929
929
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
930
|
-
"sha256": "
|
|
930
|
+
"sha256": "f1831876670eae6a6029f8f48d12038de408d4fb31a3332f7cec5cb3c7e4ff1d"
|
|
931
931
|
},
|
|
932
932
|
{
|
|
933
933
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
},
|
|
1028
1028
|
{
|
|
1029
1029
|
"path": "funnel-docs.config.json",
|
|
1030
|
-
"sha256": "
|
|
1030
|
+
"sha256": "53e951dfdadfc634fa7bbd53615a5e2e3019cd1bce24b3a4d667e50557268dd7"
|
|
1031
1031
|
}
|
|
1032
1032
|
]
|
|
1033
1033
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.292",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
5
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
6
6
|
"managedFiles": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"path": "docs/funnelsgrove/contracts/payments.md",
|
|
33
|
-
"sha256": "
|
|
33
|
+
"sha256": "6e64acdf171351fddedc96e908f4135e2240751a726c05d938c6e8644ab42082"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"path": "docs/funnelsgrove/contracts/step-metadata.md",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
41
|
-
"sha256": "
|
|
41
|
+
"sha256": "c0dd6a75b2a824e38686b0ef29721b8bf6c61267254cfefeb036279eb40ddc0b"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"path": "docs/funnelsgrove/steps/upsell_offer.md",
|
|
133
|
-
"sha256": "
|
|
133
|
+
"sha256": "4a4d6122e868bbef1ca9e11238f6e7f4f8e03b5bf7dba7a1a0205c3ac422d4bd"
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
"path": "docs/funnelsgrove/steps/value_prop_story.md",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"path": "funnel-docs.config.json",
|
|
141
|
-
"sha256": "
|
|
141
|
+
"sha256": "f381938717d2b2bf89f9ee4a8b671ac6a7618d63aad64f4abbeb214d1426de39"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -70,6 +70,15 @@ non-empty `idempotencyKey`. The retry reuses the identical checkout identity and
|
|
|
70
70
|
ownership seed. HTTP errors are not transport-retried, and a failed transport
|
|
71
71
|
retry is not followed by identity refresh or another checkout request.
|
|
72
72
|
|
|
73
|
+
SolidGate one-click upsells use `completeSolidgateOneClickPayment` with the
|
|
74
|
+
original paid Solidgate `attemptId` as `checkoutSessionId`, the external `userId`,
|
|
75
|
+
the published selection, and a stable `idempotencyKey`. It charges the card,
|
|
76
|
+
Apple Pay, Google Pay or PayPal instrument saved by that payment, without showing
|
|
77
|
+
a wallet button again, and waits for the verified outcome; `succeeded` is the
|
|
78
|
+
only paid result. On `SolidgateSavedPaymentMethodUnavailableError`, show a fresh
|
|
79
|
+
`SolidgateCheckoutDialog` with `checkoutType: 'one_time'`. Retry a declined
|
|
80
|
+
charge only after the user asks again, with a new key.
|
|
81
|
+
|
|
73
82
|
SolidGate uses the same V2 checkout-session contract. Forward the published
|
|
74
83
|
`offerSetId`, `paymentProfileId`, `provider: 'solidgate'`, `providerPlanId`,
|
|
75
84
|
`planKey`, `environment`, and `checkoutType`. Status polling uses the shared V2
|
|
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
|
|
|
17
17
|
|
|
18
18
|
### Package release order
|
|
19
19
|
|
|
20
|
-
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.35.0`, then `@funnelsgrove/analytics` `0.17.0`, then `@funnelsgrove/payments` `0.47.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.299`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
|
|
21
21
|
<!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
|
|
22
22
|
|
|
23
23
|
## Version-last policy
|
|
@@ -83,11 +83,11 @@ The controller owns lifecycle completion/exit; the payment boundary owns semanti
|
|
|
83
83
|
|
|
84
84
|
## Required semantic conversions
|
|
85
85
|
|
|
86
|
-
For embedded checkout, pass `checkoutAnalytics` to the shared dialog/surface and let the payments package own the three checkout semantic events. For an authorized post-purchase charge, use `completeStripeOneClickPayment` so required Stripe confirmation is not reimplemented locally.
|
|
86
|
+
For embedded checkout, pass `checkoutAnalytics` to the shared dialog/surface and let the payments package own the three checkout semantic events. For an authorized post-purchase charge, use `completeStripeOneClickPayment` so required Stripe confirmation is not reimplemented locally, or `completeSolidgateOneClickPayment` for a Solidgate offer set.
|
|
87
87
|
|
|
88
88
|
## Approved shared helpers
|
|
89
89
|
|
|
90
|
-
Use `completeStripeOneClickPayment` or the shared Checkout Session components, plus manifest routing.
|
|
90
|
+
Use `completeStripeOneClickPayment`, `completeSolidgateOneClickPayment` or the shared Checkout Session components, plus manifest routing.
|
|
91
91
|
|
|
92
92
|
## MUST rules
|
|
93
93
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.292",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
5
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
6
6
|
"managedFiles": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"path": "docs/funnelsgrove/contracts/payments.md",
|
|
33
|
-
"sha256": "
|
|
33
|
+
"sha256": "6e64acdf171351fddedc96e908f4135e2240751a726c05d938c6e8644ab42082"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"path": "docs/funnelsgrove/contracts/step-metadata.md",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
41
|
-
"sha256": "
|
|
41
|
+
"sha256": "c0dd6a75b2a824e38686b0ef29721b8bf6c61267254cfefeb036279eb40ddc0b"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"path": "docs/funnelsgrove/steps/upsell_offer.md",
|
|
133
|
-
"sha256": "
|
|
133
|
+
"sha256": "4a4d6122e868bbef1ca9e11238f6e7f4f8e03b5bf7dba7a1a0205c3ac422d4bd"
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
"path": "docs/funnelsgrove/steps/value_prop_story.md",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"path": "funnel-docs.config.json",
|
|
141
|
-
"sha256": "
|
|
141
|
+
"sha256": "f381938717d2b2bf89f9ee4a8b671ac6a7618d63aad64f4abbeb214d1426de39"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "e75b4bf2583c7982713b3cf96489f70404a0c6585572d60f59caa611ff0f2b28",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.292",
|
|
6
6
|
"files": [
|
|
7
7
|
{
|
|
8
8
|
"path": ".env.example",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"path": ".funnelsgrove-docs.json",
|
|
19
|
-
"sha256": "
|
|
19
|
+
"sha256": "ea0ddb1dae13a686a35f24c12d88d9df3bb567d08e1338c2c04428b50a09876e",
|
|
20
20
|
"mode": "100644"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"path": "docs/funnelsgrove/contracts/payments.md",
|
|
69
|
-
"sha256": "
|
|
69
|
+
"sha256": "6e64acdf171351fddedc96e908f4135e2240751a726c05d938c6e8644ab42082",
|
|
70
70
|
"mode": "100644"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
79
|
-
"sha256": "
|
|
79
|
+
"sha256": "c0dd6a75b2a824e38686b0ef29721b8bf6c61267254cfefeb036279eb40ddc0b",
|
|
80
80
|
"mode": "100644"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
"path": "docs/funnelsgrove/steps/upsell_offer.md",
|
|
194
|
-
"sha256": "
|
|
194
|
+
"sha256": "4a4d6122e868bbef1ca9e11238f6e7f4f8e03b5bf7dba7a1a0205c3ac422d4bd",
|
|
195
195
|
"mode": "100644"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"path": "funnel-docs.config.json",
|
|
209
|
-
"sha256": "
|
|
209
|
+
"sha256": "f381938717d2b2bf89f9ee4a8b671ac6a7618d63aad64f4abbeb214d1426de39",
|
|
210
210
|
"mode": "100644"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
@@ -70,6 +70,15 @@ non-empty `idempotencyKey`. The retry reuses the identical checkout identity and
|
|
|
70
70
|
ownership seed. HTTP errors are not transport-retried, and a failed transport
|
|
71
71
|
retry is not followed by identity refresh or another checkout request.
|
|
72
72
|
|
|
73
|
+
SolidGate one-click upsells use `completeSolidgateOneClickPayment` with the
|
|
74
|
+
original paid Solidgate `attemptId` as `checkoutSessionId`, the external `userId`,
|
|
75
|
+
the published selection, and a stable `idempotencyKey`. It charges the card,
|
|
76
|
+
Apple Pay, Google Pay or PayPal instrument saved by that payment, without showing
|
|
77
|
+
a wallet button again, and waits for the verified outcome; `succeeded` is the
|
|
78
|
+
only paid result. On `SolidgateSavedPaymentMethodUnavailableError`, show a fresh
|
|
79
|
+
`SolidgateCheckoutDialog` with `checkoutType: 'one_time'`. Retry a declined
|
|
80
|
+
charge only after the user asks again, with a new key.
|
|
81
|
+
|
|
73
82
|
SolidGate uses the same V2 checkout-session contract. Forward the published
|
|
74
83
|
`offerSetId`, `paymentProfileId`, `provider: 'solidgate'`, `providerPlanId`,
|
|
75
84
|
`planKey`, `environment`, and `checkoutType`. Status polling uses the shared V2
|
|
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
|
|
|
17
17
|
|
|
18
18
|
### Package release order
|
|
19
19
|
|
|
20
|
-
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.35.0`, then `@funnelsgrove/analytics` `0.17.0`, then `@funnelsgrove/payments` `0.47.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.299`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
|
|
21
21
|
<!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
|
|
22
22
|
|
|
23
23
|
## Version-last policy
|
|
@@ -83,11 +83,11 @@ The controller owns lifecycle completion/exit; the payment boundary owns semanti
|
|
|
83
83
|
|
|
84
84
|
## Required semantic conversions
|
|
85
85
|
|
|
86
|
-
For embedded checkout, pass `checkoutAnalytics` to the shared dialog/surface and let the payments package own the three checkout semantic events. For an authorized post-purchase charge, use `completeStripeOneClickPayment` so required Stripe confirmation is not reimplemented locally.
|
|
86
|
+
For embedded checkout, pass `checkoutAnalytics` to the shared dialog/surface and let the payments package own the three checkout semantic events. For an authorized post-purchase charge, use `completeStripeOneClickPayment` so required Stripe confirmation is not reimplemented locally, or `completeSolidgateOneClickPayment` for a Solidgate offer set.
|
|
87
87
|
|
|
88
88
|
## Approved shared helpers
|
|
89
89
|
|
|
90
|
-
Use `completeStripeOneClickPayment` or the shared Checkout Session components, plus manifest routing.
|
|
90
|
+
Use `completeStripeOneClickPayment`, `completeSolidgateOneClickPayment` or the shared Checkout Session components, plus manifest routing.
|
|
91
91
|
|
|
92
92
|
## MUST rules
|
|
93
93
|
|