Because:
* We’d like to collect less info and less fields, so we want to remove the Name field.
This commit:
* Removes "Name as it appears on your card" field from ui pages (checkout, submanage)
* Removes any backend code that required the full name field.
Closes #PAY-3417
Because:
- Apple IAP reponse where data response is an empty array results in a
unexpected TypeError.
This commit:
- Update logic to support empty IAP data array.
Closes #PAY-3284
Because
- Page Not Found should be displayed if subscription is not logged in customers
- Page Not Found should be displayed for expired subscription
This pull request
- Updates SubscriptionManagementService to return flowType not_found for expired subscription and subscription that does not belong to logged in customer
Because:
- Stripe IntegrationError occurs as PaymentElement is missing when createConfirmationToken is called
This pull request:
- Checks that PaymentElement is on the page before calling createConfirmationToken
Because:
* Currently failing methods and successful methods are in the same bucket, and separating out the timing of the two distribution populations is not trivial
This commit:
* Adds in `error: 'true' | 'false'` to the StatsD call depending on whether the wrapped method throws an error
Closes #PAY-3201
Because:
* A few code style and css-style tweaks were needed as a follow to the terms page release
This commit:
* addresses some of the outcomes from style conversations
Closes #N/A
Because:
* We need the ability to show terms of churn intervention offers
This commit:
* Adds in a page to display the CMS churn intervention terms details
* Adds in the data fetching logic to from the product configuration manager
* Fixes some graphql query localization logic
Closes #PAY-3363
Because:
* Need to add an action when a customer redeems a churn coupon.
This commit:
* Updates payments-ui to add Action to update customer’s subscription when redeeming churn coupon.
* If the customer is eligible and redeems the churn coupon, increments the customer’s redemption count.
* Makes sure the subscription's auto renew is set to false
Closes #PAY-3362
Because:
* We currently report stripe vs paypal subscription payments, but with the introduction of expanded payment methods, we should capture that breakdown in statsd/yardstick
This commit:
* Differentiates between different SubPlatPaymentMethodType when reporting the payment provider.
Closes #PAY-3349
Because:
We will need to check whether:
* A churn coupon type exists for the offering and interval combo
* A customer is eligible to redeem the churn coupon
This commit:
Adds eligibility check for Stay Subscribed flow, based on the following criteria:
* The churn type coupon exists for offering/interval combo in CMS
* The customer can redeem the churn type coupon (compares customer’s redemption count for Churn intervention ID and redemption limit of Churn Intervention ID in CMS)
* The customer’s subscription for auto-renew is set to false.
Closes #PAY-3361
Because:
* We will be showing customers interstitial offerings to avoid cancellations
This commit:
* Adds in the necessary utils and types to fetch this data from Strapi
Closes #PAY-3369
Because:
* This data will be used to populate the UI of the churn reduction efforts
This commit:
* Adds a graphQL query to fetch the churn intervention data by its offering and interval
* Updates the product configuration manager to return this data
Closes #PAY-3360
Because:
- `nimbus_user_id` needs to be populated for all pay_setup events.
This commit:
- Updates emitter and glean manager to populate `nimbus_user_id` for all
pay_setup events.
Closes #PAY-3411
Because:
- We saw a spike in cpu wait after latest changes
- And the query on average is slightly slower than prior
This Commit:
- "Rolls back" the changes to accountDevices sproc. However, it does it
by rolling forward. We can't revert the commit since it would drop
the stored procedure before code is updated and cause errors until code
deploys
Because:
- Nimbus preview should not be enabled via a config variable.
This commit:
- Removes nimbus preview as a config variable.
- Updates nimbus.client to support preview as an input param
- Adds support for preview via query params
Closes #PAY-3410
Because:
* Some logo images are outdated and don't match the logos used by Stripe under 'Manage payment methods'.
This commit:
* Uses official credit card brand logo SVGs downloaded from the respective websites.
* Uses digital logo size requirements.
* Note: some card logos will still be different in "Manage Subscription" and "Manage payment methods" pages.
Closes #[PAY-3405](https://mozilla-hub.atlassian.net/browse/PAY-3405)
Because:
- We want to concatenate en.ftl strings into public/locales/en/emails.ftl
This Commit:
- Concatenates en.ftl string into public/locales/en/emails.ftl
- Updaets rendering code to the emails.ftl file instead the auth.ftl
- Adds nx command l10n-merge, which concats strings
- Adds nx command l10n-watch, which picks up change and concats strings
This pull request
- Updates getCardIcon util to return width and height of icon
- Updates type in DefaultPaymentMethod from PaymentProvidersType to SubPlatPaymentMethodType
- Refactors Payment method section in SubMan page
- Displays error if expired payment method or account issue
Closes PSY-3350
Because:
* We will need to keep track of whether a customer is eligible to redeem a churn coupon when checking if the customer’s redemption count is less than the redemption limit set for the churn content in Strapi.
This commit:
* Creates a repository for ChurnIntervention
* Adds Action to return Churn Intervention data
*(BOTH STILL IPR)
Closes #PAY-3359