Skip to content
Snippets Groups Projects

BE: Allow customers to extend or reactivate their trial on gitlab.com [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Merged Qingyu Zhao requested to merge 290278-allow-extend-or-reactivate-trial-on-gitlab-com into master
All threads resolved!
Compare and Show latest version
2 files
+ 10
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -52,6 +52,8 @@ def apply
@@ -52,6 +52,8 @@ def apply
end
end
def extend_reactivate
def extend_reactivate
 
render_404 unless Feature.enabled?(:allow_extend_reactivate_trial)
 
@result = GitlabSubscriptions::ExtendReactivateTrialService.new.execute(extend_reactivate_trial_params) if valid_extension?
@result = GitlabSubscriptions::ExtendReactivateTrialService.new.execute(extend_reactivate_trial_params) if valid_extension?
if @result&.dig(:success)
if @result&.dig(:success)
Loading