Skip to content

Commit 932a909

Browse files
committed
our beloved tables
1 parent 472f6b5 commit 932a909

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/monetization/Implementing_App_Subscriptions.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ When a user subscribes to a new subscription, you will receive the following eve
110110
|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
111111
| `SUBSCRIPTION_CREATE` | when the subscription is initially created. `status` is `0 (active)` if the entitlement has been granted or `1 (ending)` if the entitlement has not yet been granted. |
112112
| `ENTITLEMENT_CREATE` | when the user is granted an entitlement for the new subscription |
113-
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the `entitlement_ids`, `renewal_sku_ids`, and `status` (`0 (active)`) |
113+
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the `entitlement_ids`, `renewal_sku_ids`, and `status` (`0 (active)`) |
114114

115115
### Cancelling an existing subscription
116116

@@ -155,10 +155,10 @@ If an user is on a lower tier subscription and upgrades to subscription tier tha
155155

156156
When the subscription is upgraded, the current entitlement for the lower tier will end immediately and you will receive the following events:
157157

158-
| Event | Event Trigger |
159-
|-----------------------|------------------------------------------------------------------------------------------------------------------------|
160-
| `ENTITLEMENT_UPDATE` | when the current entitlement ends. `ends_at` gets updated with a timestamp |
161-
| `ENTITLEMENT_CREATE` | when a new entitlement is created for the upgrade subscription SKU |
158+
| Event | Event Trigger |
159+
|-----------------------|--------------------------------------------------------------------------------------------------------------------------|
160+
| `ENTITLEMENT_UPDATE` | when the current entitlement ends. `ends_at` gets updated with a timestamp |
161+
| `ENTITLEMENT_CREATE` | when a new entitlement is created for the upgrade subscription SKU |
162162
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the new `entitlement_ids`, `sku_ids`, `current_period_start`, `current_period_end` |
163163

164164

@@ -174,10 +174,10 @@ The user has already paid for their current plan until `subscription.current_per
174174

175175
Once the user's current subscription expires on `subscription.current_period_end`, you will receive the following events:
176176

177-
| Event | Event Trigger |
178-
|-----------------------|------------------------------------------------------------------------------------------------------------------------|
179-
| `ENTITLEMENT_UPDATE` | when the current entitlement ends. `ends_at` gets updated with a timestamp |
180-
| `ENTITLEMENT_CREATE` | when a new entitlement is created for the downgraded subscription SKU |
177+
| Event | Event Trigger |
178+
|-----------------------|--------------------------------------------------------------------------------------------------------------------------|
179+
| `ENTITLEMENT_UPDATE` | when the current entitlement ends. `ends_at` gets updated with a timestamp |
180+
| `ENTITLEMENT_CREATE` | when a new entitlement is created for the downgraded subscription SKU |
181181
| `SUBSCRIPTION_UPDATE` | when the subscription is updated with the new `entitlement_ids`, `sku_ids`, `current_period_start`, `current_period_end` |
182182

183183
---

0 commit comments

Comments
 (0)