Use invoice preview API response to show or hide promotional offer text
What does this MR do and why?
Use showPromotionalOfferText
value from invoice preview API response to control the visibility of promotional offer text on Checkout page when purchasing a subscription
-
This MR is merged -
This feature flag (related to the above MR) is enabled on Production
Related to https://gitlab.com/gitlab-org/gitlab/-/issues/408928
Screenshots or screen recordings
Scenario | Screenshot |
---|---|
With feature flag enabled | Screen_Recording_2023-05-03_at_11.29.23_AM |
With feature flag disabled | Screen_Recording_2023-05-03_at_11.32.50_AM |
How to set up and validate locally
Prerequisite
- Customers Dot needs to be setup in order to view the billing/checkout page
- Start GDK in SaaS mode
GITLAB_SIMULATE_SAAS=1 gdk start
- Checkout the branch from this MR
- Enable the feature flag
Viewing the checkout page
- Go to the billing page of a group with free plan
- Choose to upgrade the plan to Premium which takes us to the Checkout page
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 Vamsi Vempati