Skip to content

[Feature] Add ability to edit subscription frequency in My Account section #84

@LucasVollebergh

Description

@LucasVollebergh

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.

Metadata

Metadata

Labels

InvestigatingInvestigating this issue together with the merchantenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions