Add full params on first addons purchase
What does this MR do and why?
Purchase CI minutes fail when the namespace doesn't have a active subscription or already had addon purchase. This MR updates params that are sent in this case.
Related to #345674 (closed)
Screenshots or screen recordings
How to set up and validate locally
Before validating you'd need to start CustomersDot locally
- Run
rails c
- Run
Feature.enable(:new_route_ci_minutes_purchase)
to enable the feature flag for CI Minutes flow - Create a new group without subscription
- Navigate to Settings -> Usage Quotas -> Pipelines tab and click OR fast forward http://localhost:5000/-/subscriptions/buy_minutes?selected_group=<selected_group_id>
- Complete the flow
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Diana Zubova