mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
cb608cb110
1 changed files with 2 additions and 2 deletions
|
@ -78,9 +78,9 @@ module.exports = class PurchaseCoursesView extends RootView
|
|||
|
||||
# Show Stripe handler
|
||||
application.tracker?.trackEvent 'Started course prepaid purchase', {
|
||||
price: @pricePerStudent, students: @pricePerStudent}
|
||||
price: @pricePerStudent, students: @numberOfStudents}
|
||||
stripeHandler.open
|
||||
amount: @price
|
||||
amount: @numberOfStudents * @pricePerStudent * 100
|
||||
description: "Full course access for #{@numberOfStudents} students"
|
||||
bitcoin: true
|
||||
alipay: if me.get('country') is 'china' or (me.get('preferredLanguage') or 'en-US')[...2] is 'zh' then true else 'auto'
|
||||
|
|
Loading…
Reference in a new issue