Show Renew button for Storage only AND Storage + Minutes subscription on v2
Problem
We hide the Renew button for storage addon due to subscription.rb#L720
def not_valid_for_renewal?(paid_gl_com_namespaces = [])
community_edu_oss_plan = Plan.community_edu_oss_plan?(plan&.id)
return true if educational_or_oss? && !community_edu_oss_plan
return true if add_on? # OUR CASE, WE HAVE ADDON HERE
...
end
Proposal
We should only hide it for Compute minutes and Code suggestions
Update the BE condition and test the flow
Case | Show renew button when in renew window? |
---|---|
storage only subscription | |
minutes only subscription | |
storage AND minutes | |
premium AND storage | |
premium AND minutes |
Result
Next steps (if any)
How will we measure success?
Edited by Diana Zubova