mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
🐛Fix /courses/purchase purchase amount
This commit is contained in:
parent
66f434adba
commit
01f6e098a1
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