reveclicat 0.2.0 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reveclicat",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Unofficial CLI to simulate RevenueCat subscription lifecycles and test webhooks locally and in CI. Not affiliated with RevenueCat, Inc.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -0,0 +1,19 @@
1
+ name: stripe-billing-issue-recovers
2
+ description: Stripe subscription — trial converts, the next charge fails (RevenueCat sends BILLING_ISSUE and a BILLING_ERROR cancellation together), then the customer pays and recovers
3
+ subscriber:
4
+ app_user_id: auto
5
+ store: stripe # si_… ids that never change; renewal_number on every event; no UNCANCELLATION/TEST
6
+ product_id: prod_RccPremiumMonthly # Stripe Product id
7
+ period: P1M
8
+ trial: P1W
9
+ steps:
10
+ - event: INITIAL_PURCHASE # trial (renewal_number 1)
11
+ - advance: P1W
12
+ - event: RENEWAL # conversion (renewal_number 2)
13
+ - advance: P1M
14
+ - event: BILLING_ISSUE # failed attempt: expiration already extended, grace_period_expiration_at_ms null
15
+ - event: CANCELLATION # dispatched by RevenueCat together with the billing issue (cancel_reason BILLING_ERROR)
16
+ - advance: P3D
17
+ - event: RENEWAL # invoice paid: recovery, expiration unchanged
18
+ expect:
19
+ all_responses_status: 200