Describe the new feature
Currently, in the "My Account" section of the Magento 2 Mollie Subscriptions module, customers can only cancel their active subscriptions. This request is to enhance the customer experience by adding the ability to edit a subscription, specifically the delivery frequency.
Describe the solution to be implemented
Backend changes
Extend the subscription model to support updates to the frequency (e.g., every week, every 2 weeks, monthly, etc.).
Create an API endpoint or service class that allows safe updating of a subscription's frequency via Mollie’s API (if supported).
Implement validation to ensure only allowed frequencies are selectable.
Log changes to subscription settings for transparency and debugging.
Frontend changes
In the "My Account" > "My Subscriptions" section, add an Edit action/button next to each subscription.
When clicked, show a modal or redirect to a form where the user can choose a new delivery frequency from a dropdown.
On form submission, trigger the backend update and show a success or error message accordingly.
Additional context
Currently, users see a table like this in their account:
We propose to add an "Edit" action next to "Cancel", allowing the user to change the frequency (e.g., from every 2 weeks to every month) instead of canceling and recreating the subscription.
Describe the new feature
Currently, in the "My Account" section of the Magento 2 Mollie Subscriptions module, customers can only cancel their active subscriptions. This request is to enhance the customer experience by adding the ability to edit a subscription, specifically the delivery frequency.
Describe the solution to be implemented
Backend changes
Extend the subscription model to support updates to the frequency (e.g., every week, every 2 weeks, monthly, etc.).
Create an API endpoint or service class that allows safe updating of a subscription's frequency via Mollie’s API (if supported).
Implement validation to ensure only allowed frequencies are selectable.
Log changes to subscription settings for transparency and debugging.
Frontend changes
In the "My Account" > "My Subscriptions" section, add an Edit action/button next to each subscription.
When clicked, show a modal or redirect to a form where the user can choose a new delivery frequency from a dropdown.
On form submission, trigger the backend update and show a success or error message accordingly.
Additional context
Currently, users see a table like this in their account:
We propose to add an "Edit" action next to "Cancel", allowing the user to change the frequency (e.g., from every 2 weeks to every month) instead of canceling and recreating the subscription.