pull recurely pub api key from settings file

This commit is contained in:
Henry Oswald
2014-12-23 12:08:01 +00:00
parent 12a28d91f2
commit ecb71d5bbf
2 changed files with 2 additions and 3 deletions
@@ -11,7 +11,6 @@ define [
$scope.switchToStudent = ()->
window.location = "/user/subscription/new?planCode=student&currency=#{$scope.currencyCode}"
__api_key = recurlyCreds.apiKey
$scope.paymentMethod = "credit_card"
@@ -33,7 +32,7 @@ define [
correctExpiry: true
correctCvv:true
recurly.configure __api_key
recurly.configure window.recurlyApiKey
pricing = recurly.Pricing()
window.pricing = pricing