mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 10:55:19 -04:00
Update prepaid course price
This commit is contained in:
parent
b63daf5a18
commit
4561ff42ce
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ PrepaidHandler = class PrepaidHandler extends Handler
|
|||
purchasePrepaidCourse: (user, maxRedeemers, timestamp, token, done) ->
|
||||
type = 'course'
|
||||
|
||||
amount = maxRedeemers * 200 # TODO: Actual price
|
||||
amount = maxRedeemers * 400
|
||||
if amount > 0 and not (token or user.isAdmin())
|
||||
@logError(user, "Purchase prepaid courses missing required Stripe token #{amount}")
|
||||
return done('Missing required Stripe token')
|
||||
|
|
Loading…
Reference in a new issue