@schematichq/schematic-components 2.22.2 → 2.24.0

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/README.md CHANGED
@@ -60,6 +60,7 @@ const config = {
60
60
  feat_cns2asuKAG2: 3, // "feat_cns2asuKAG2" is a feature id, 3 is the quantity
61
61
  },
62
62
  promoCode: 'SUMMER20', // pre-apply a Stripe promotion code (optional)
63
+ showBillingDisclaimer: false, // if false, hide the recurring billing disclaimer (optional)
63
64
  skipped: {
64
65
  planStage: true, // if true, skip Plan selection
65
66
  addOnStage: true, // if true, skip Add-on selection
@@ -83,6 +84,12 @@ customer-facing code such as `SUMMER20`, not the underlying coupon id. The
83
84
  discount is applied on load, so the previewed charges reflect it and it ships
84
85
  with the final checkout request.
85
86
 
87
+ `showBillingDisclaimer` controls the fine print under the checkout totals, e.g.
88
+ "You will be billed $50.00 for this subscription every month on the 17th unless
89
+ you unsubscribe." It is shown by default; set it to `false` when your own UI
90
+ states the billing terms. Hiding it does not affect the scheduled-downgrade
91
+ notice that appears in the same spot.
92
+
86
93
  The Plans and Add-ons available to the checkout flows must be live in your
87
94
  Schematic account [Catalog configuration](https://docs.schematichq.com/catalog/overview).
88
95