Description
Refactor subscription update logic to centralize the confirmation flow in a single reusable function.
The update plan Dialog now accepts the new plan directly instead of requiring all available prices to be passed through, reducing unnecessary data circulation and improving code maintainability.
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed