diff --git a/website/server/controllers/top-level/payments/amazon.js b/website/server/controllers/top-level/payments/amazon.js index b1bf9390bb..1a28381759 100644 --- a/website/server/controllers/top-level/payments/amazon.js +++ b/website/server/controllers/top-level/payments/amazon.js @@ -105,10 +105,10 @@ api.checkout = { CurrencyCode: 'USD', Amount: amount, }, - SellerNote: 'HabitRPG Payment', + SellerNote: 'Habitica Payment', SellerOrderAttributes: { SellerOrderId: shared.uuid(), - StoreName: 'HabitRPG', + StoreName: 'Habitica', }, }, }); @@ -122,7 +122,7 @@ api.checkout = { CurrencyCode: 'USD', Amount: amount, }, - SellerAuthorizationNote: 'HabitRPG Payment', + SellerAuthorizationNote: 'Habitica Payment', TransactionTimeout: 0, CaptureNow: true, }); @@ -177,11 +177,11 @@ api.subscribe = { await amzLib.setBillingAgreementDetails({ AmazonBillingAgreementId: billingAgreementId, BillingAgreementAttributes: { - SellerNote: 'HabitRPG Subscription', + SellerNote: 'Habitica Subscription', SellerBillingAgreementAttributes: { SellerBillingAgreementId: shared.uuid(), - StoreName: 'HabitRPG', - CustomInformation: 'HabitRPG Subscription', + StoreName: 'Habitica', + CustomInformation: 'Habitica Subscription', }, }, }); @@ -197,13 +197,13 @@ api.subscribe = { CurrencyCode: 'USD', Amount: sub.price, }, - SellerAuthorizationNote: 'HabitRPG Subscription Payment', + SellerAuthorizationNote: 'Habitica Subscription Payment', TransactionTimeout: 0, CaptureNow: true, - SellerNote: 'HabitRPG Subscription Payment', + SellerNote: 'Habitica Subscription Payment', SellerOrderAttributes: { SellerOrderId: shared.uuid(), - StoreName: 'HabitRPG', + StoreName: 'Habitica', }, }); diff --git a/website/server/controllers/top-level/payments/paypal.js b/website/server/controllers/top-level/payments/paypal.js index f60d5058dc..0bc7b45ef3 100644 --- a/website/server/controllers/top-level/payments/paypal.js +++ b/website/server/controllers/top-level/payments/paypal.js @@ -63,14 +63,14 @@ api.checkout = { req.session.gift = req.query.gift; let amount = 5.00; - let description = 'HabitRPG gems'; + let description = 'Habitica Gems'; if (gift) { if (gift.type === 'gems') { amount = Number(gift.gems.amount / 4).toFixed(2); description = `${description} (Gift)`; } else { amount = Number(shared.content.subscriptionBlocks[gift.subscription.key].price).toFixed(2); - description = 'mo. HabitRPG Subscription (Gift)'; + description = 'mo. Habitica Subscription (Gift)'; } } @@ -166,7 +166,7 @@ api.subscribe = { if (!coupon) throw new NotAuthorized(res.t('invalidCoupon')); } - let billingPlanTitle = `HabitRPG Subscription ($${sub.price} every ${sub.months} months, recurring)`; + let billingPlanTitle = `Habitica Subscription ($${sub.price} every ${sub.months} months, recurring)`; let billingAgreementAttributes = { name: billingPlanTitle, description: billingPlanTitle, @@ -248,7 +248,7 @@ api.subscribeCancel = { }, }; -// General IPN handler. We catch cancelled HabitRPG subscriptions for users who manually cancel their +// General IPN handler. We catch cancelled Habitica subscriptions for users who manually cancel their // recurring paypal payments in their paypal dashboard. TODO ? Remove this when we can move to webhooks or some other solution /**