From 631e84f5d6b063f4f4b61d2a9772631d7c100335 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 17 Nov 2015 11:47:28 +0000 Subject: [PATCH] copy coupon code over when switching to student --- services/web/public/coffee/main/new-subscription.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/main/new-subscription.coffee b/services/web/public/coffee/main/new-subscription.coffee index 88196b2a37..a4e2631380 100644 --- a/services/web/public/coffee/main/new-subscription.coffee +++ b/services/web/public/coffee/main/new-subscription.coffee @@ -9,7 +9,7 @@ define [ $scope.plans = MultiCurrencyPricing.plans $scope.switchToStudent = ()-> - window.location = "/user/subscription/new?planCode=student_free_trial_7_days¤cy=#{$scope.currencyCode}" + window.location = "/user/subscription/new?planCode=student_free_trial_7_days¤cy=#{$scope.currencyCode}&cc=#{$scope.data.coupon}" $scope.paymentMethod = "credit_card"