Allow users to create / manage subscriptions in the CP #2487
Replies: 5 comments
-
Decided that this lends itself to a plugin. You can add a tab to the user profile page like we do for the customer tab. See the following example: https://github.com/craftcms/commerce/blob/develop/src/Plugin.php#L729-L730 https://github.com/craftcms/commerce/blob/develop/src/services/Customers.php#L816-L854 You can then take a look at the example front-end templates as a guide on adding the subscription management features the tab you add. |
Beta Was this translation helpful? Give feedback.
-
@lukeholder has this be reopened because it's being reconsidered for core? |
Beta Was this translation helpful? Give feedback.
-
Hi @leevigraham As per @lukeholder comment, we have decided that this is better suited as a plugin due to all the implications that come with it. It is essentially building a front-end subscription process in the CP. We have no plans to add this feature to Commerce at this moment in time. It is being left open for visibility/until there is a plugin that solves this case. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Could you provide some thoughts on the implications of implementing the subscription creation process in the control panel? Initial thoughts are you would need to choose:
What are some of the edge cases here? I also imagine the interfacing could be similar to the "New Order" creation process in the control panel. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@comtyler I ended up creating a new custom tab in the user admin and hooking it up to Stripe subscriptions (completely bypassing Craft Commerce) |
Beta Was this translation helpful? Give feedback.
-
Description
It would be great if users could subscribe / manage existing subscriptions in the CP. My first thought is a new "subscriptions" tab in the user profile section.
In my use case I'm allowing users to login to the CP to create their own user generated content. They manage their account from the CP, not front end templates which is typically the case.
Beta Was this translation helpful? Give feedback.
All reactions