Updating a subscription generates a new invoice when:
- The subscription requires payment for the first time, such as the end of a trial period.
- The billing period changes.
- Changing the subscription causes a proration and
By default, updates are applied regardless of whether payment on the new invoice succeeds. If payment fails, rolling back the updates is a manual process. You need to create a new invoice, prorate items on the invoice, and then initiate payment again. However, with the pending updates feature, you can make changes to subscriptions only if payment succeeds on the new invoice.
Details on the lifecycle, webhooks, and supported attributes when using pending updates: