mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Note PayPal payment method. End limited-time year sale.
This commit is contained in:
parent
a851b7129a
commit
ecfd982847
5 changed files with 20 additions and 17 deletions
|
@ -444,13 +444,13 @@
|
|||
parents_blurb3: "No Risk: 100% money back guarantee, easy 1-click unsubscribe."
|
||||
payment_methods: "Payment Methods"
|
||||
payment_methods_title: "Accepted Payment Methods"
|
||||
payment_methods_blurb1: "We currently accept credit cards and Alipay."
|
||||
payment_methods_blurb1: "We currently accept credit cards and Alipay. You can also PayPal 29.97 USD to nick@codecombat.com with your account email in the memo to purchase three months' subscription and gems, or $99 for a year." # {change}
|
||||
payment_methods_blurb2: "If you require an alternate form of payment, please contact"
|
||||
sale_already_subscribed: "You're already subscribed!"
|
||||
sale_blurb1: "Save 35%"
|
||||
sale_blurb1: "Save $21" # {change}
|
||||
sale_blurb2: "off regular subscription price of $120 for a whole year!"
|
||||
sale_button: "Sale!"
|
||||
sale_button_title: "Save 35% when you purchase a 1 year subscription"
|
||||
sale_button_title: "Save $21 when you purchase a 1 year subscription" # {change}
|
||||
sale_click_here: "Click Here"
|
||||
sale_ends: "Ends"
|
||||
sale_extended: "*Existing subscriptions will be extended by 1 year."
|
||||
|
@ -463,7 +463,7 @@
|
|||
sale_title: "Back to School Sale"
|
||||
sale_view_button: "Buy 1 year subscription for"
|
||||
stripe_description: "Monthly Subscription"
|
||||
stripe_description_year_sale: "1 Year Subscription (35% discount)"
|
||||
stripe_description_year_sale: "1 Year Subscription ($21 discount)" # {change}
|
||||
subscription_required_to_play: "You'll need a subscription to play this level."
|
||||
unlock_help_videos: "Subscribe to unlock all video tutorials."
|
||||
|
||||
|
|
|
@ -20,16 +20,18 @@ block content
|
|||
if state === 'purchasing'
|
||||
.alert.alert-info(data-i18n="account_invoices.purchasing")
|
||||
else
|
||||
div.sale-ends
|
||||
if new Date() < saleEndDate
|
||||
span.spr(data-i18n="subscribe.sale_ends")
|
||||
span #{moment(saleEndDate).fromNow()}
|
||||
else
|
||||
span(data-i18n="subscribe.sale_limited_time")
|
||||
h1.center(data-i18n="subscribe.sale_title")
|
||||
p.center
|
||||
img(src="/images/pages/account/subscription/teacher-banner.png")
|
||||
br
|
||||
if view.onSale
|
||||
div.sale-ends
|
||||
if new Date() < saleEndDate
|
||||
span.spr(data-i18n="subscribe.sale_ends")
|
||||
span #{moment(saleEndDate).fromNow()}
|
||||
else
|
||||
span(data-i18n="subscribe.sale_limited_time")
|
||||
if view.onSale
|
||||
h1.center(data-i18n="subscribe.sale_title")
|
||||
p.center
|
||||
img(src="/images/pages/account/subscription/teacher-banner.png")
|
||||
br
|
||||
.above-blurb
|
||||
p.sale-blurb
|
||||
strong.spr(data-i18n="subscribe.sale_blurb1")
|
||||
|
|
|
@ -10,8 +10,9 @@ utils = require 'core/utils'
|
|||
module.exports = class SubscriptionSaleView extends RootView
|
||||
id: "subscription-sale-view"
|
||||
template: template
|
||||
yearSaleAmount: 7900
|
||||
yearSaleAmount: 9900
|
||||
saleEndDate: new Date('2015-09-05')
|
||||
onSale: false
|
||||
|
||||
events:
|
||||
'click #pay-button': 'onPayButton'
|
||||
|
|
|
@ -12,7 +12,7 @@ module.exports = class SubscribeModal extends ModalView
|
|||
product:
|
||||
amount: 999
|
||||
planID: 'basic'
|
||||
yearAmount: 7900
|
||||
yearAmount: 9900
|
||||
|
||||
subscriptions:
|
||||
'stripe:received-token': 'onStripeReceivedToken'
|
||||
|
|
|
@ -25,7 +25,7 @@ subscriptions = {
|
|||
amount: 999 # For calculating incremental quantity before sub creation
|
||||
}
|
||||
year_sale: {
|
||||
amount: 7900
|
||||
amount: 9900
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue