Updating Subscriptions
Last updated
You can update the following parameters associated with a subscription:
Platform Fee (%)
Plan Name
Price
Interval (day, week, month, year)
There are 3 steps involved in updating a subscription:
Creating the subscription and saving the relevant data
Creating a new 'Price' object in Stripe
Updating the subscription
You can learn how to create a new marketplace subscription in of the documentation. However, you will need to ensure you save down the following data if you plan to later update the subscription:
- can be retrieved with the 'Stripe Connect - Retrieve Checkout Session' call that comes with the plugin
- can be retrieved with the 'Stripe Connect - Retrieve a Subscription' call that comes with the plugin. See step 2 of for an example.
In order to update the price, plan name and interval associated with a subscription, you will first need to create a new 'price'. You can do this manually via your Stripe dashboard, or use the 'Stripe Connect - Create Price' action that comes with the Stripe Connect - Marketplace plugin.
You can use the 'Stripe Connect - Update Subscription' action to update a subscription. Please note that while the price, plan name and interval parameters are updated via the price object, you can update the % your platform takes from each subscription payment via the 'Stripe Connect - Update Subscription' action:
You can see the workflow associated with the 'Create Price Object' button in the for an example of how to use this action.
You can see the workflow associated with the 'Update Subscription' button in the for an example of how to use this action.