@edx/frontend-app-subscription-manage 1.18.2 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ActiveSubscription/ActiveSubscription.js +4 -4
- package/dist/components/ActiveSubscription/ActiveSubscription.js.map +1 -1
- package/dist/components/BecomeSubscriber/BecomeSubscriber.js +3 -3
- package/dist/components/BecomeSubscriber/BecomeSubscriber.js.map +1 -1
- package/dist/components/CancelConfirmation/CancelConfirmation.js +6 -6
- package/dist/components/CancelConfirmation/CancelConfirmation.js.map +1 -1
- package/dist/components/CancelSuccess/CancelSuccess.js +3 -3
- package/dist/components/CancelSuccess/CancelSuccess.js.map +1 -1
- package/dist/components/CanceledSubscription/CanceledSubscription.js +6 -6
- package/dist/components/CanceledSubscription/CanceledSubscription.js.map +1 -1
- package/dist/components/EnrolledCoursesList/EnrolledCoursesList.js +2 -2
- package/dist/components/EnrolledCoursesList/EnrolledCoursesList.js.map +1 -1
- package/dist/components/HelpFooter/HelpFooter.js +1 -1
- package/dist/components/HelpFooter/HelpFooter.js.map +1 -1
- package/dist/components/OrderHistory/OrderHistoryCard.d.ts +11 -0
- package/dist/components/OrderHistory/OrderHistoryCard.js +6 -0
- package/dist/components/OrderHistory/OrderHistoryCard.js.map +1 -0
- package/dist/components/OrderHistory/OrderHistoryDetails.d.ts +2 -0
- package/dist/components/OrderHistory/OrderHistoryDetails.js +120 -0
- package/dist/components/OrderHistory/OrderHistoryDetails.js.map +1 -0
- package/dist/components/OrderHistory/OrderList.d.ts +3 -0
- package/dist/components/OrderHistory/OrderList.js +13 -0
- package/dist/components/OrderHistory/OrderList.js.map +1 -0
- package/dist/components/OrderHistory/OrderPurchases.d.ts +4 -0
- package/dist/components/OrderHistory/OrderPurchases.js +44 -0
- package/dist/components/OrderHistory/OrderPurchases.js.map +1 -0
- package/dist/components/OrderHistory/ProgramItemsTable.d.ts +7 -0
- package/dist/components/OrderHistory/ProgramItemsTable.js +49 -0
- package/dist/components/OrderHistory/ProgramItemsTable.js.map +1 -0
- package/dist/components/OrderHistory/data/receiptRows.d.ts +17 -0
- package/dist/components/OrderHistory/data/receiptRows.js +16 -0
- package/dist/components/OrderHistory/data/receiptRows.js.map +1 -0
- package/dist/components/OrderHistory/messages.d.ts +118 -0
- package/dist/components/OrderHistory/messages.js +120 -0
- package/dist/components/OrderHistory/messages.js.map +1 -0
- package/dist/components/OrderHistoryHeader/OrderHistoryHeader.js +1 -1
- package/dist/components/OrderHistoryHeader/OrderHistoryHeader.js.map +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.js +5 -5
- package/dist/components/PaymentHistory/PaymentHistory.js.map +1 -1
- package/dist/components/RefundNotice/RefundNotice.d.ts +3 -0
- package/dist/components/RefundNotice/RefundNotice.js +15 -0
- package/dist/components/RefundNotice/RefundNotice.js.map +1 -0
- package/dist/components/RefundNotice/messages.d.ts +18 -0
- package/dist/components/RefundNotice/messages.js +20 -0
- package/dist/components/RefundNotice/messages.js.map +1 -0
- package/dist/components/RenewSubscriptionModal/RenewSubscriptionModal.js +10 -10
- package/dist/components/RenewSubscriptionModal/RenewSubscriptionModal.js.map +1 -1
- package/dist/components/ResubscribeCard/ResubscribeCard.js +5 -5
- package/dist/components/ResubscribeCard/ResubscribeCard.js.map +1 -1
- package/dist/components/UpdatePaymentMethodModal/UpdatePaymentMethodModal.js +12 -12
- package/dist/components/UpdatePaymentMethodModal/UpdatePaymentMethodModal.js.map +1 -1
- package/dist/components/messages.d.ts +89 -99
- package/dist/components/messages.js +182 -192
- package/dist/components/messages.js.map +1 -1
- package/dist/constants.d.ts +7 -1
- package/dist/constants.js +7 -1
- package/dist/constants.js.map +1 -1
- package/dist/data/hooks/keys.d.ts +5 -0
- package/dist/data/hooks/keys.js +5 -0
- package/dist/data/hooks/keys.js.map +1 -1
- package/dist/data/hooks/useOrderHistoryQueries.d.ts +11 -0
- package/dist/data/hooks/useOrderHistoryQueries.js +30 -0
- package/dist/data/hooks/useOrderHistoryQueries.js.map +1 -0
- package/dist/data/services/orderHistory/orderHistory.d.ts +7 -0
- package/dist/data/services/orderHistory/orderHistory.js +40 -0
- package/dist/data/services/orderHistory/orderHistory.js.map +1 -0
- package/dist/{manageSubscriptionPage → orderHistory}/CancelSubscriptionPage.js +4 -4
- package/dist/orderHistory/CancelSubscriptionPage.js.map +1 -0
- package/dist/{manageSubscriptionPage → orderHistory}/CancelSuccessPage.js +2 -2
- package/dist/orderHistory/CancelSuccessPage.js.map +1 -0
- package/dist/orderHistory/OrderHistoryPage.d.ts +3 -0
- package/dist/orderHistory/OrderHistoryPage.js +127 -0
- package/dist/orderHistory/OrderHistoryPage.js.map +1 -0
- package/dist/routes.d.ts +23 -2
- package/dist/routes.js +44 -19
- package/dist/routes.js.map +1 -1
- package/dist/style.scss +1 -1
- package/dist/styles/components/{manageSubscription.scss → orderHistory.scss} +60 -24
- package/dist/types.d.ts +55 -0
- package/dist/types.js.map +1 -1
- package/dist/utils/currency.d.ts +6 -0
- package/dist/utils/currency.js +6 -0
- package/dist/utils/currency.js.map +1 -0
- package/dist/utils/queries.d.ts +6 -0
- package/dist/utils/queries.js +12 -0
- package/dist/utils/queries.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/SubscriptionTabs/SubscriptionTabs.d.ts +0 -8
- package/dist/components/SubscriptionTabs/SubscriptionTabs.js +0 -15
- package/dist/components/SubscriptionTabs/SubscriptionTabs.js.map +0 -1
- package/dist/manageSubscriptionPage/CancelSubscriptionPage.js.map +0 -1
- package/dist/manageSubscriptionPage/CancelSuccessPage.js.map +0 -1
- package/dist/manageSubscriptionPage/ManageSubscriptionPage.d.ts +0 -3
- package/dist/manageSubscriptionPage/ManageSubscriptionPage.js +0 -88
- package/dist/manageSubscriptionPage/ManageSubscriptionPage.js.map +0 -1
- /package/dist/{manageSubscriptionPage → orderHistory}/CancelSubscriptionPage.d.ts +0 -0
- /package/dist/{manageSubscriptionPage → orderHistory}/CancelSuccessPage.d.ts +0 -0
|
@@ -1,87 +1,77 @@
|
|
|
1
1
|
import { defineMessages } from '@openedx/frontend-base';
|
|
2
2
|
const messages = defineMessages({
|
|
3
|
-
'
|
|
4
|
-
id: '
|
|
3
|
+
'order-history.page.title': {
|
|
4
|
+
id: 'order-history.page.title',
|
|
5
5
|
defaultMessage: 'Order History | {siteName}',
|
|
6
|
-
description: 'Document title for the
|
|
6
|
+
description: 'Document title for the order history page',
|
|
7
7
|
},
|
|
8
|
-
'
|
|
9
|
-
id: '
|
|
8
|
+
'order-history.loading': {
|
|
9
|
+
id: 'order-history.loading',
|
|
10
10
|
defaultMessage: 'Loading subscription…',
|
|
11
|
-
description: 'Loading state for the
|
|
11
|
+
description: 'Loading state for the order history page',
|
|
12
12
|
},
|
|
13
|
-
'
|
|
14
|
-
id: '
|
|
13
|
+
'order-history.error': {
|
|
14
|
+
id: 'order-history.error',
|
|
15
15
|
defaultMessage: 'We could not load your subscription. Please try again later.',
|
|
16
16
|
description: 'Error alert when subscription fetch fails',
|
|
17
17
|
},
|
|
18
|
-
'
|
|
19
|
-
id: '
|
|
18
|
+
'order-history.header.title': {
|
|
19
|
+
id: 'order-history.header.title',
|
|
20
20
|
defaultMessage: 'Order History',
|
|
21
21
|
description: 'Page heading for order history / manage subscription',
|
|
22
22
|
},
|
|
23
|
-
'
|
|
24
|
-
id: '
|
|
23
|
+
'order-history.header.subtitle': {
|
|
24
|
+
id: 'order-history.header.subtitle',
|
|
25
25
|
defaultMessage: 'View previous purchases and manage your subscription.',
|
|
26
26
|
description: 'Page subtitle under Order History',
|
|
27
27
|
},
|
|
28
|
-
'
|
|
29
|
-
id: '
|
|
30
|
-
defaultMessage: 'Subscription',
|
|
31
|
-
description: 'Subscription tab label',
|
|
32
|
-
},
|
|
33
|
-
'manage.tab.paymentHistory': {
|
|
34
|
-
id: 'manage.tab.paymentHistory',
|
|
35
|
-
defaultMessage: 'Payment history',
|
|
36
|
-
description: 'Payment history tab label',
|
|
37
|
-
},
|
|
38
|
-
'manage.paymentHistory.heading': {
|
|
39
|
-
id: 'manage.paymentHistory.heading',
|
|
40
|
-
defaultMessage: 'Payment history',
|
|
28
|
+
'order-history.paymentHistory.heading': {
|
|
29
|
+
id: 'order-history.paymentHistory.heading',
|
|
30
|
+
defaultMessage: 'Subscription payments',
|
|
41
31
|
description: 'Heading for the payment history panel',
|
|
42
32
|
},
|
|
43
|
-
'
|
|
44
|
-
id: '
|
|
33
|
+
'order-history.paymentHistory.nextPayment': {
|
|
34
|
+
id: 'order-history.paymentHistory.nextPayment',
|
|
45
35
|
defaultMessage: 'Next payment scheduled for {date}.',
|
|
46
36
|
description: 'Next payment line above the invoice list',
|
|
47
37
|
},
|
|
48
|
-
'
|
|
49
|
-
id: '
|
|
38
|
+
'order-history.paymentHistory.empty': {
|
|
39
|
+
id: 'order-history.paymentHistory.empty',
|
|
50
40
|
defaultMessage: 'No payments yet.',
|
|
51
41
|
description: 'Empty state when the learner has no invoices',
|
|
52
42
|
},
|
|
53
|
-
'
|
|
54
|
-
id: '
|
|
43
|
+
'order-history.paymentHistory.error': {
|
|
44
|
+
id: 'order-history.paymentHistory.error',
|
|
55
45
|
defaultMessage: 'We could not load your payment history. Please try again later.',
|
|
56
46
|
description: 'Error alert when invoice fetch fails',
|
|
57
47
|
},
|
|
58
|
-
'
|
|
59
|
-
id: '
|
|
60
|
-
defaultMessage: '
|
|
48
|
+
'order-history.paymentHistory.noSubscription': {
|
|
49
|
+
id: 'order-history.paymentHistory.noSubscription',
|
|
50
|
+
defaultMessage: 'Your subscription payments will be logged here.',
|
|
61
51
|
description: 'Shown when there is no subscriptionBiId to query invoices',
|
|
62
52
|
},
|
|
63
|
-
'
|
|
64
|
-
id: '
|
|
53
|
+
'order-history.paymentHistory.tileTitle': {
|
|
54
|
+
id: 'order-history.paymentHistory.tileTitle',
|
|
65
55
|
defaultMessage: 'edX Plus Subscription',
|
|
66
56
|
description: 'Title on each payment history invoice tile',
|
|
67
57
|
},
|
|
68
|
-
'
|
|
69
|
-
id: '
|
|
58
|
+
'order-history.paymentHistory.startOfService': {
|
|
59
|
+
id: 'order-history.paymentHistory.startOfService',
|
|
70
60
|
defaultMessage: 'Start of service:',
|
|
71
61
|
description: 'Label for invoice period start on payment history tile',
|
|
72
62
|
},
|
|
73
|
-
'
|
|
74
|
-
id: '
|
|
63
|
+
'order-history.paymentHistory.totalCost': {
|
|
64
|
+
id: 'order-history.paymentHistory.totalCost',
|
|
75
65
|
defaultMessage: 'Total cost:',
|
|
76
66
|
description: 'Label for invoice total on payment history tile',
|
|
77
67
|
},
|
|
78
|
-
'
|
|
79
|
-
id: '
|
|
68
|
+
'order-history.paymentHistory.orderNumber': {
|
|
69
|
+
id: 'order-history.paymentHistory.orderNumber',
|
|
80
70
|
defaultMessage: 'Order number:',
|
|
81
71
|
description: 'Label for order number on payment history tile',
|
|
82
72
|
},
|
|
83
|
-
'
|
|
84
|
-
id: '
|
|
73
|
+
'order-history.paymentHistory.paymentMethod': {
|
|
74
|
+
id: 'order-history.paymentHistory.paymentMethod',
|
|
85
75
|
defaultMessage: 'Paid with:',
|
|
86
76
|
description: 'Label for the payment method (card or PayPal) on a payment history tile',
|
|
87
77
|
},
|
|
@@ -95,8 +85,8 @@ const messages = defineMessages({
|
|
|
95
85
|
defaultMessage: 'PayPal',
|
|
96
86
|
description: 'Payment method value for an invoice billed through PayPal',
|
|
97
87
|
},
|
|
98
|
-
'
|
|
99
|
-
id: '
|
|
88
|
+
'order-history.paymentHistory.desc.trial': {
|
|
89
|
+
id: 'order-history.paymentHistory.desc.trial',
|
|
100
90
|
defaultMessage: 'edX Plus Subscription — free trial',
|
|
101
91
|
description: 'Description for a $0 trial invoice',
|
|
102
92
|
},
|
|
@@ -120,75 +110,75 @@ const messages = defineMessages({
|
|
|
120
110
|
defaultMessage: 'Draft',
|
|
121
111
|
description: 'Invoice status label: DRAFT',
|
|
122
112
|
},
|
|
123
|
-
'
|
|
124
|
-
id: '
|
|
113
|
+
'order-history.help.prefix': {
|
|
114
|
+
id: 'order-history.help.prefix',
|
|
125
115
|
defaultMessage: 'Need more help? Visit the',
|
|
126
116
|
description: 'Prefix before Learner Help Center link',
|
|
127
117
|
},
|
|
128
|
-
'
|
|
129
|
-
id: '
|
|
118
|
+
'order-history.help.link': {
|
|
119
|
+
id: 'order-history.help.link',
|
|
130
120
|
defaultMessage: 'Learner Help Center',
|
|
131
121
|
description: 'Learner Help Center link text',
|
|
132
122
|
},
|
|
133
123
|
// Become a subscriber
|
|
134
|
-
'
|
|
135
|
-
id: '
|
|
124
|
+
'order-history.none.heading': {
|
|
125
|
+
id: 'order-history.none.heading',
|
|
136
126
|
defaultMessage: 'Become a subscriber',
|
|
137
127
|
description: 'Section heading when user has no subscription',
|
|
138
128
|
},
|
|
139
|
-
'
|
|
140
|
-
id: '
|
|
129
|
+
'order-history.none.subheading': {
|
|
130
|
+
id: 'order-history.none.subheading',
|
|
141
131
|
defaultMessage: 'You will manage your subscription here.',
|
|
142
132
|
description: 'Section subheading when user has no subscription',
|
|
143
133
|
},
|
|
144
|
-
'
|
|
145
|
-
id: '
|
|
134
|
+
'order-history.none.cardTitle': {
|
|
135
|
+
id: 'order-history.none.cardTitle',
|
|
146
136
|
defaultMessage: 'Try edX Subscription for free',
|
|
147
137
|
description: 'Upsell card title for non-subscribers',
|
|
148
138
|
},
|
|
149
|
-
'
|
|
150
|
-
id: '
|
|
139
|
+
'order-history.none.cardBody': {
|
|
140
|
+
id: 'order-history.none.cardBody',
|
|
151
141
|
defaultMessage: 'Get access to hundreds of courses for ${price}/month {currency}',
|
|
152
142
|
description: 'Upsell card body including monthly price',
|
|
153
143
|
},
|
|
154
|
-
'
|
|
155
|
-
id: '
|
|
144
|
+
'order-history.none.cardBodyNoPrice': {
|
|
145
|
+
id: 'order-history.none.cardBodyNoPrice',
|
|
156
146
|
defaultMessage: 'Get access to hundreds of courses with edX subscription',
|
|
157
147
|
description: 'Upsell card body when price is unavailable',
|
|
158
148
|
},
|
|
159
|
-
'
|
|
160
|
-
id: '
|
|
149
|
+
'order-history.none.subscribe': {
|
|
150
|
+
id: 'order-history.none.subscribe',
|
|
161
151
|
defaultMessage: 'Subscribe',
|
|
162
152
|
description: 'Primary subscribe CTA',
|
|
163
153
|
},
|
|
164
|
-
'
|
|
165
|
-
id: '
|
|
154
|
+
'order-history.none.learnMore': {
|
|
155
|
+
id: 'order-history.none.learnMore',
|
|
166
156
|
defaultMessage: 'Learn about edX Subscription',
|
|
167
157
|
description: 'Secondary learn-more link on upsell card',
|
|
168
158
|
},
|
|
169
159
|
// Active
|
|
170
|
-
'
|
|
171
|
-
id: '
|
|
160
|
+
'order-history.active.heading': {
|
|
161
|
+
id: 'order-history.active.heading',
|
|
172
162
|
defaultMessage: 'Manage your subscription',
|
|
173
163
|
description: 'Section heading for active subscribers',
|
|
174
164
|
},
|
|
175
|
-
'
|
|
176
|
-
id: '
|
|
165
|
+
'order-history.active.since': {
|
|
166
|
+
id: 'order-history.active.since',
|
|
177
167
|
defaultMessage: 'Subscriber since {date}.',
|
|
178
168
|
description: 'Subscriber since date line',
|
|
179
169
|
},
|
|
180
|
-
'
|
|
181
|
-
id: '
|
|
170
|
+
'order-history.active.statusMonthly': {
|
|
171
|
+
id: 'order-history.active.statusMonthly',
|
|
182
172
|
defaultMessage: 'Active, Monthly Plan',
|
|
183
173
|
description: 'Active monthly plan status label',
|
|
184
174
|
},
|
|
185
|
-
'
|
|
186
|
-
id: '
|
|
175
|
+
'order-history.active.statusAnnual': {
|
|
176
|
+
id: 'order-history.active.statusAnnual',
|
|
187
177
|
defaultMessage: 'Active, Annual Plan',
|
|
188
178
|
description: 'Active annual plan status label',
|
|
189
179
|
},
|
|
190
|
-
'
|
|
191
|
-
id: '
|
|
180
|
+
'order-history.active.nextPayment': {
|
|
181
|
+
id: 'order-history.active.nextPayment',
|
|
192
182
|
defaultMessage: 'Your next payment is {date}.',
|
|
193
183
|
description: 'Next payment date line for active subscribers',
|
|
194
184
|
},
|
|
@@ -197,303 +187,303 @@ const messages = defineMessages({
|
|
|
197
187
|
defaultMessage: 'Change to annual and save',
|
|
198
188
|
description: 'CTA to switch to annual billing',
|
|
199
189
|
},
|
|
200
|
-
'
|
|
201
|
-
id: '
|
|
190
|
+
'order-history.active.updatePayment': {
|
|
191
|
+
id: 'order-history.active.updatePayment',
|
|
202
192
|
defaultMessage: 'Update payment method',
|
|
203
193
|
description: 'CTA to update payment method',
|
|
204
194
|
},
|
|
205
|
-
'
|
|
206
|
-
id: '
|
|
195
|
+
'order-history.updatePayment.title': {
|
|
196
|
+
id: 'order-history.updatePayment.title',
|
|
207
197
|
defaultMessage: 'Update payment method.',
|
|
208
198
|
description: 'Update payment method modal title',
|
|
209
199
|
},
|
|
210
|
-
'
|
|
211
|
-
id: '
|
|
200
|
+
'order-history.updatePayment.intro': {
|
|
201
|
+
id: 'order-history.updatePayment.intro',
|
|
212
202
|
defaultMessage: 'By providing your card information, you allow edX to charge your card for future payments.',
|
|
213
203
|
description: 'Update payment method modal intro copy',
|
|
214
204
|
},
|
|
215
|
-
'
|
|
216
|
-
id: '
|
|
205
|
+
'order-history.updatePayment.sectionTitle': {
|
|
206
|
+
id: 'order-history.updatePayment.sectionTitle',
|
|
217
207
|
defaultMessage: 'Add new payment method',
|
|
218
208
|
description: 'Heading above Stripe card fields',
|
|
219
209
|
},
|
|
220
|
-
'
|
|
221
|
-
id: '
|
|
210
|
+
'order-history.updatePayment.cardNumber': {
|
|
211
|
+
id: 'order-history.updatePayment.cardNumber',
|
|
222
212
|
defaultMessage: 'Card number',
|
|
223
213
|
description: 'Label for Stripe card number field',
|
|
224
214
|
},
|
|
225
|
-
'
|
|
226
|
-
id: '
|
|
215
|
+
'order-history.updatePayment.cvc': {
|
|
216
|
+
id: 'order-history.updatePayment.cvc',
|
|
227
217
|
defaultMessage: 'Security code',
|
|
228
218
|
description: 'Label for Stripe CVC field',
|
|
229
219
|
},
|
|
230
|
-
'
|
|
231
|
-
id: '
|
|
220
|
+
'order-history.updatePayment.expiry': {
|
|
221
|
+
id: 'order-history.updatePayment.expiry',
|
|
232
222
|
defaultMessage: 'Expiration date',
|
|
233
223
|
description: 'Label for Stripe expiry field',
|
|
234
224
|
},
|
|
235
|
-
'
|
|
236
|
-
id: '
|
|
225
|
+
'order-history.updatePayment.postal': {
|
|
226
|
+
id: 'order-history.updatePayment.postal',
|
|
237
227
|
defaultMessage: 'Zip/Postal code',
|
|
238
228
|
description: 'Label for postal code field',
|
|
239
229
|
},
|
|
240
|
-
'
|
|
241
|
-
id: '
|
|
230
|
+
'order-history.updatePayment.submit': {
|
|
231
|
+
id: 'order-history.updatePayment.submit',
|
|
242
232
|
defaultMessage: 'Update card',
|
|
243
233
|
description: 'Primary CTA to submit new payment method',
|
|
244
234
|
},
|
|
245
|
-
'
|
|
246
|
-
id: '
|
|
235
|
+
'order-history.updatePayment.submitting': {
|
|
236
|
+
id: 'order-history.updatePayment.submitting',
|
|
247
237
|
defaultMessage: 'Updating…',
|
|
248
238
|
description: 'Submit button label while update is in progress',
|
|
249
239
|
},
|
|
250
|
-
'
|
|
251
|
-
id: '
|
|
240
|
+
'order-history.updatePayment.close': {
|
|
241
|
+
id: 'order-history.updatePayment.close',
|
|
252
242
|
defaultMessage: 'Close',
|
|
253
243
|
description: 'Close button on update payment method modal',
|
|
254
244
|
},
|
|
255
|
-
'
|
|
256
|
-
id: '
|
|
245
|
+
'order-history.updatePayment.successTitle': {
|
|
246
|
+
id: 'order-history.updatePayment.successTitle',
|
|
257
247
|
defaultMessage: 'Payment method updated.',
|
|
258
248
|
description: 'Success modal title after payment method update',
|
|
259
249
|
},
|
|
260
|
-
'
|
|
261
|
-
id: '
|
|
250
|
+
'order-history.updatePayment.successBody': {
|
|
251
|
+
id: 'order-history.updatePayment.successBody',
|
|
262
252
|
defaultMessage: 'Your new payment method will be applied on your next billing date, {date}.',
|
|
263
253
|
description: 'Success modal body with next billing date',
|
|
264
254
|
},
|
|
265
|
-
'
|
|
266
|
-
id: '
|
|
255
|
+
'order-history.updatePayment.successBodyNoDate': {
|
|
256
|
+
id: 'order-history.updatePayment.successBodyNoDate',
|
|
267
257
|
defaultMessage: 'Your new payment method will be applied on your next billing date.',
|
|
268
258
|
description: 'Success modal body when next billing date is unknown',
|
|
269
259
|
},
|
|
270
|
-
'
|
|
271
|
-
id: '
|
|
260
|
+
'order-history.updatePayment.postalRequired': {
|
|
261
|
+
id: 'order-history.updatePayment.postalRequired',
|
|
272
262
|
defaultMessage: 'Enter a zip/postal code.',
|
|
273
263
|
description: 'Validation error when postal code is empty',
|
|
274
264
|
},
|
|
275
|
-
'
|
|
276
|
-
id: '
|
|
265
|
+
'order-history.updatePayment.error': {
|
|
266
|
+
id: 'order-history.updatePayment.error',
|
|
277
267
|
defaultMessage: 'We could not update your payment method. Please try again.',
|
|
278
268
|
description: 'Generic error when payment method update fails',
|
|
279
269
|
},
|
|
280
|
-
'
|
|
281
|
-
id: '
|
|
270
|
+
'order-history.updatePayment.invalidCard': {
|
|
271
|
+
id: 'order-history.updatePayment.invalidCard',
|
|
282
272
|
defaultMessage: 'This card is not valid. Please try a different card.',
|
|
283
273
|
description: 'Shown when the backend rejects the card during validation',
|
|
284
274
|
},
|
|
285
|
-
'
|
|
286
|
-
id: '
|
|
275
|
+
'order-history.updatePayment.stripeMissing': {
|
|
276
|
+
id: 'order-history.updatePayment.stripeMissing',
|
|
287
277
|
defaultMessage: 'Payment updates are temporarily unavailable. Please try again later.',
|
|
288
278
|
description: 'Shown when Stripe publishable key is not configured',
|
|
289
279
|
},
|
|
290
|
-
'
|
|
291
|
-
id: '
|
|
280
|
+
'order-history.active.cancelPrompt': {
|
|
281
|
+
id: 'order-history.active.cancelPrompt',
|
|
292
282
|
defaultMessage: 'Need a break?',
|
|
293
283
|
description: 'Prompt before cancel subscription link',
|
|
294
284
|
},
|
|
295
|
-
'
|
|
296
|
-
id: '
|
|
285
|
+
'order-history.active.cancelLink': {
|
|
286
|
+
id: 'order-history.active.cancelLink',
|
|
297
287
|
defaultMessage: 'Cancel subscription',
|
|
298
288
|
description: 'Cancel subscription link text',
|
|
299
289
|
},
|
|
300
290
|
// Canceled with access / renew banner
|
|
301
|
-
'
|
|
302
|
-
id: '
|
|
291
|
+
'order-history.canceled.bannerTitle': {
|
|
292
|
+
id: 'order-history.canceled.bannerTitle',
|
|
303
293
|
defaultMessage: 'Renew your subscription before it expires.',
|
|
304
294
|
description: 'Expiring subscription banner title',
|
|
305
295
|
},
|
|
306
|
-
'
|
|
307
|
-
id: '
|
|
296
|
+
'order-history.canceled.bannerBody': {
|
|
297
|
+
id: 'order-history.canceled.bannerBody',
|
|
308
298
|
defaultMessage: 'Your subscription is set to expire on {date} and you will have limited access to edX. Renew your subscription to keep your learning flexible.',
|
|
309
299
|
description: 'Expiring subscription banner body',
|
|
310
300
|
},
|
|
311
|
-
'
|
|
312
|
-
id: '
|
|
301
|
+
'order-history.canceled.statusMonthly': {
|
|
302
|
+
id: 'order-history.canceled.statusMonthly',
|
|
313
303
|
defaultMessage: 'Cancelled, Monthly plan',
|
|
314
304
|
description: 'Cancelled monthly plan status label',
|
|
315
305
|
},
|
|
316
|
-
'
|
|
317
|
-
id: '
|
|
306
|
+
'order-history.canceled.statusAnnual': {
|
|
307
|
+
id: 'order-history.canceled.statusAnnual',
|
|
318
308
|
defaultMessage: 'Cancelled, Annual plan',
|
|
319
309
|
description: 'Cancelled annual plan status label',
|
|
320
310
|
},
|
|
321
|
-
'
|
|
322
|
-
id: '
|
|
311
|
+
'order-history.canceled.noPayments': {
|
|
312
|
+
id: 'order-history.canceled.noPayments',
|
|
323
313
|
defaultMessage: 'You have no upcoming payments. You cancelled your subscription on {date}.',
|
|
324
314
|
description: 'Cancelled status card body with cancel date',
|
|
325
315
|
},
|
|
326
|
-
'
|
|
327
|
-
id: '
|
|
316
|
+
'order-history.canceled.noPaymentsNoDate': {
|
|
317
|
+
id: 'order-history.canceled.noPaymentsNoDate',
|
|
328
318
|
defaultMessage: 'You have no upcoming payments. You cancelled your subscription.',
|
|
329
319
|
description: 'Cancelled status card body without cancel date',
|
|
330
320
|
},
|
|
331
|
-
'
|
|
332
|
-
id: '
|
|
321
|
+
'order-history.canceled.renew': {
|
|
322
|
+
id: 'order-history.canceled.renew',
|
|
333
323
|
defaultMessage: 'Renew subscription',
|
|
334
324
|
description: 'Renew subscription CTA',
|
|
335
325
|
},
|
|
336
|
-
'
|
|
337
|
-
id: '
|
|
326
|
+
'order-history.canceled.renewing': {
|
|
327
|
+
id: 'order-history.canceled.renewing',
|
|
338
328
|
defaultMessage: 'Renewing…',
|
|
339
329
|
description: 'Renew button label while reactivation mutation is in progress',
|
|
340
330
|
},
|
|
341
|
-
'
|
|
342
|
-
id: '
|
|
331
|
+
'order-history.canceled.renewError': {
|
|
332
|
+
id: 'order-history.canceled.renewError',
|
|
343
333
|
defaultMessage: 'We could not renew your subscription. Please try again.',
|
|
344
334
|
description: 'Error when reactivate mutation fails',
|
|
345
335
|
},
|
|
346
336
|
// Renew confirmation modal
|
|
347
|
-
'
|
|
348
|
-
id: '
|
|
337
|
+
'order-history.renewModal.title': {
|
|
338
|
+
id: 'order-history.renewModal.title',
|
|
349
339
|
defaultMessage: 'Renew your edX Plus subscription for ${price}/{frequency}',
|
|
350
340
|
description: 'Renew modal title with price',
|
|
351
341
|
},
|
|
352
|
-
'
|
|
353
|
-
id: '
|
|
342
|
+
'order-history.renewModal.titleNoPrice': {
|
|
343
|
+
id: 'order-history.renewModal.titleNoPrice',
|
|
354
344
|
defaultMessage: 'Renew your edX Plus subscription',
|
|
355
345
|
description: 'Renew modal title when price is unavailable',
|
|
356
346
|
},
|
|
357
|
-
'
|
|
358
|
-
id: '
|
|
347
|
+
'order-history.renewModal.body': {
|
|
348
|
+
id: 'order-history.renewModal.body',
|
|
359
349
|
defaultMessage: 'Your subscription will renew on {date} for ${price}/{frequency} {currency} (inclusive of applicable taxes). Cancel your subscription anytime from your dashboard. By clicking “Confirm subscription” you agree to our {termsLink}, and {refundLink}.',
|
|
360
350
|
description: 'Renew modal body with terms links',
|
|
361
351
|
},
|
|
362
|
-
'
|
|
363
|
-
id: '
|
|
352
|
+
'order-history.renewModal.termsOfUse': {
|
|
353
|
+
id: 'order-history.renewModal.termsOfUse',
|
|
364
354
|
defaultMessage: 'Terms of Use',
|
|
365
355
|
description: 'Terms of Use link text in renew modal',
|
|
366
356
|
},
|
|
367
|
-
'
|
|
368
|
-
id: '
|
|
357
|
+
'order-history.renewModal.refundPolicy': {
|
|
358
|
+
id: 'order-history.renewModal.refundPolicy',
|
|
369
359
|
defaultMessage: 'Refund Policy',
|
|
370
360
|
description: 'Refund Policy link text in renew modal',
|
|
371
361
|
},
|
|
372
|
-
'
|
|
373
|
-
id: '
|
|
362
|
+
'order-history.renewModal.paymentMethod': {
|
|
363
|
+
id: 'order-history.renewModal.paymentMethod',
|
|
374
364
|
defaultMessage: 'Payment Method',
|
|
375
365
|
description: 'Payment method section heading in renew modal',
|
|
376
366
|
},
|
|
377
|
-
'
|
|
378
|
-
id: '
|
|
367
|
+
'order-history.renewModal.card': {
|
|
368
|
+
id: 'order-history.renewModal.card',
|
|
379
369
|
defaultMessage: 'Card',
|
|
380
370
|
description: 'Card payment method label in renew modal',
|
|
381
371
|
},
|
|
382
|
-
'
|
|
383
|
-
id: '
|
|
372
|
+
'order-history.renewModal.updatePayment': {
|
|
373
|
+
id: 'order-history.renewModal.updatePayment',
|
|
384
374
|
defaultMessage: 'Update payment method',
|
|
385
375
|
description: 'Update payment method button in renew modal',
|
|
386
376
|
},
|
|
387
|
-
'
|
|
388
|
-
id: '
|
|
377
|
+
'order-history.renewModal.recurringConfirm': {
|
|
378
|
+
id: 'order-history.renewModal.recurringConfirm',
|
|
389
379
|
defaultMessage: 'I agree to enroll in a recurring {cycle} subscription for ${price}/{frequency} {currency}.',
|
|
390
380
|
description: 'Recurring subscription consent checkbox',
|
|
391
381
|
},
|
|
392
|
-
'
|
|
393
|
-
id: '
|
|
382
|
+
'order-history.renewModal.ukCaConfirm': {
|
|
383
|
+
id: 'order-history.renewModal.ukCaConfirm',
|
|
394
384
|
defaultMessage: 'Second checkbox only for UK and CA residents',
|
|
395
385
|
description: 'Extra consent checkbox for UK and CA residents',
|
|
396
386
|
},
|
|
397
|
-
'
|
|
398
|
-
id: '
|
|
387
|
+
'order-history.renewModal.confirm': {
|
|
388
|
+
id: 'order-history.renewModal.confirm',
|
|
399
389
|
defaultMessage: 'Confirm subscription',
|
|
400
390
|
description: 'Confirm renew / reactivate button',
|
|
401
391
|
},
|
|
402
392
|
// Canceled expired / resubscribe
|
|
403
|
-
'
|
|
404
|
-
id: '
|
|
393
|
+
'order-history.expired.heading': {
|
|
394
|
+
id: 'order-history.expired.heading',
|
|
405
395
|
defaultMessage: 'Pick up where you left off',
|
|
406
396
|
description: 'Section heading for expired / canceled without access (placeholder until final copy lands)',
|
|
407
397
|
},
|
|
408
|
-
'
|
|
409
|
-
id: '
|
|
398
|
+
'order-history.expired.subheading': {
|
|
399
|
+
id: 'order-history.expired.subheading',
|
|
410
400
|
defaultMessage: 'You will manage your subscription here.',
|
|
411
401
|
description: 'Section subheading for expired subscription state',
|
|
412
402
|
},
|
|
413
|
-
'
|
|
414
|
-
id: '
|
|
403
|
+
'order-history.expired.resubscribeTitle': {
|
|
404
|
+
id: 'order-history.expired.resubscribeTitle',
|
|
415
405
|
defaultMessage: 'Resubscribe for ${price}/month {currency}',
|
|
416
406
|
description: 'Resubscribe card title with price',
|
|
417
407
|
},
|
|
418
|
-
'
|
|
419
|
-
id: '
|
|
408
|
+
'order-history.expired.resubscribeTitleNoPrice': {
|
|
409
|
+
id: 'order-history.expired.resubscribeTitleNoPrice',
|
|
420
410
|
defaultMessage: 'Resubscribe to edX Subscription',
|
|
421
411
|
description: 'Resubscribe card title when price is unavailable',
|
|
422
412
|
},
|
|
423
|
-
'
|
|
424
|
-
id: '
|
|
413
|
+
'order-history.expired.canceledOn': {
|
|
414
|
+
id: 'order-history.expired.canceledOn',
|
|
425
415
|
defaultMessage: 'You cancelled your subscription on {date}.',
|
|
426
416
|
description: 'Resubscribe card cancelled-on line',
|
|
427
417
|
},
|
|
428
|
-
'
|
|
429
|
-
id: '
|
|
418
|
+
'order-history.expired.canceledOnNoDate': {
|
|
419
|
+
id: 'order-history.expired.canceledOnNoDate',
|
|
430
420
|
defaultMessage: 'You cancelled your subscription.',
|
|
431
421
|
description: 'Resubscribe card when cancel date is unknown',
|
|
432
422
|
},
|
|
433
423
|
// Cancel confirmation
|
|
434
|
-
'
|
|
435
|
-
id: '
|
|
424
|
+
'order-history.cancel.title': {
|
|
425
|
+
id: 'order-history.cancel.title',
|
|
436
426
|
defaultMessage: 'Are you sure you want to cancel?',
|
|
437
427
|
description: 'Cancel confirmation page title',
|
|
438
428
|
},
|
|
439
|
-
'
|
|
440
|
-
id: '
|
|
429
|
+
'order-history.cancel.body': {
|
|
430
|
+
id: 'order-history.cancel.body',
|
|
441
431
|
defaultMessage: 'If you cancel, you will lose access to all graded course content when your subscription expires on {date}. Your course progress will be saved if you re-subscribe within the calendar year.',
|
|
442
432
|
description: 'Cancel confirmation body with period end date',
|
|
443
433
|
},
|
|
444
|
-
'
|
|
445
|
-
id: '
|
|
434
|
+
'order-history.cancel.bodyNoDate': {
|
|
435
|
+
id: 'order-history.cancel.bodyNoDate',
|
|
446
436
|
defaultMessage: 'If you cancel, you will lose access to all graded course content when your subscription expires. Your course progress will be saved if you re-subscribe within the calendar year.',
|
|
447
437
|
description: 'Cancel confirmation body without period end date',
|
|
448
438
|
},
|
|
449
|
-
'
|
|
450
|
-
id: '
|
|
439
|
+
'order-history.cancel.coursesHeading': {
|
|
440
|
+
id: 'order-history.cancel.coursesHeading',
|
|
451
441
|
defaultMessage: 'Courses you are enrolled in ({count})',
|
|
452
442
|
description: 'Heading for enrolled courses list on cancel confirmation',
|
|
453
443
|
},
|
|
454
|
-
'
|
|
455
|
-
id: '
|
|
444
|
+
'order-history.cancel.keep': {
|
|
445
|
+
id: 'order-history.cancel.keep',
|
|
456
446
|
defaultMessage: 'No, keep my subscription',
|
|
457
447
|
description: 'Secondary button to abort cancellation',
|
|
458
448
|
},
|
|
459
|
-
'
|
|
460
|
-
id: '
|
|
449
|
+
'order-history.cancel.confirm': {
|
|
450
|
+
id: 'order-history.cancel.confirm',
|
|
461
451
|
defaultMessage: 'Yes, cancel subscription',
|
|
462
452
|
description: 'Primary button to confirm cancellation',
|
|
463
453
|
},
|
|
464
|
-
'
|
|
465
|
-
id: '
|
|
454
|
+
'order-history.cancel.confirming': {
|
|
455
|
+
id: 'order-history.cancel.confirming',
|
|
466
456
|
defaultMessage: 'Cancelling…',
|
|
467
457
|
description: 'Cancel button label while mutation is in progress',
|
|
468
458
|
},
|
|
469
|
-
'
|
|
470
|
-
id: '
|
|
459
|
+
'order-history.cancel.error': {
|
|
460
|
+
id: 'order-history.cancel.error',
|
|
471
461
|
defaultMessage: 'We could not cancel your subscription. Please try again.',
|
|
472
462
|
description: 'Error when cancel mutation fails',
|
|
473
463
|
},
|
|
474
|
-
'
|
|
475
|
-
id: '
|
|
464
|
+
'order-history.cancel.viewCertificate': {
|
|
465
|
+
id: 'order-history.cancel.viewCertificate',
|
|
476
466
|
defaultMessage: 'View certificate',
|
|
477
467
|
description: 'View certificate button on enrolled course row',
|
|
478
468
|
},
|
|
479
469
|
// Cancel success
|
|
480
|
-
'
|
|
481
|
-
id: '
|
|
470
|
+
'order-history.cancelSuccess.title': {
|
|
471
|
+
id: 'order-history.cancelSuccess.title',
|
|
482
472
|
defaultMessage: 'Thank you for learning with us on edX. Your subscription is cancelled.',
|
|
483
473
|
description: 'Cancel success page title',
|
|
484
474
|
},
|
|
485
|
-
'
|
|
486
|
-
id: '
|
|
475
|
+
'order-history.cancelSuccess.body': {
|
|
476
|
+
id: 'order-history.cancelSuccess.body',
|
|
487
477
|
defaultMessage: 'Your edX Plus subscription has been cancelled and you will no longer be charged after {date}. You will receive a confirmation email shortly.',
|
|
488
478
|
description: 'Cancel success body with last charge / access date',
|
|
489
479
|
},
|
|
490
|
-
'
|
|
491
|
-
id: '
|
|
480
|
+
'order-history.cancelSuccess.bodyNoDate': {
|
|
481
|
+
id: 'order-history.cancelSuccess.bodyNoDate',
|
|
492
482
|
defaultMessage: 'Your edX Plus subscription has been cancelled and you will no longer be charged. You will receive a confirmation email shortly.',
|
|
493
483
|
description: 'Cancel success body without date',
|
|
494
484
|
},
|
|
495
|
-
'
|
|
496
|
-
id: '
|
|
485
|
+
'order-history.cancelSuccess.return': {
|
|
486
|
+
id: 'order-history.cancelSuccess.return',
|
|
497
487
|
defaultMessage: 'Return to Dashboard',
|
|
498
488
|
description: 'Return to dashboard CTA after cancel success',
|
|
499
489
|
},
|