Because:
- Sentry 8 is the latest version
This commit:
- deletes some integration code since Sentry does it automatically
- updates code to use the Sentry 8 API
- updates a few proxyquire calls because they were cause module not
found errors in CI
Because:
- In development, while payments-next is running, when the nestapp
restarts due to dev changes, the Glean logger adds additional log
handlers, resulting in duplicate messages.
This commit:
- In development only, use a randomized logger name, so that no
duplicate log handlers are created.
Closes #FXA-10450
Because:
- DE needs this info since Fivetran is missing support for stripe
multi-currency plans.
This commit:
- Adds the cart currency and total amount to the subscriptions metadata
Closes FXA-10382
Because:
- We want to determine currency based on the tax address provided by the
customer
This commit:
- Automatically determines the tax address and currency based on their
IP address
- Allows user to update their tax address, thereby updating their
currency
Closes FXA-7584
Because:
- On mapping data from the CMS to Stripe price and product metadata,
for some prices the CMS data could not be found, resulting in error
"No CMS config".
- The number of stripeLegacyPlan's returned by the CMS was limited to 10
entries.
This commit:
- Adds a limit of 200, which is double the current expected Stripe
Legacy Plans a RP is expected to have.
Closes #FXA-10429
Because:
- Legacy mapper was not using localization data from the CMS
This commit:
- Updated legacy mapper to utilize localization data.
Closes #FXA-10436
Because:
- Record SubPlat P1 metric view event using glean
This commit:
- Adds payments-metrics library
- Adds PaymentsGleanManager to format events data and CMS data into the
required format for Glean events recording.
- Adds PaymentsGleanService to handle metrics events emitted by Next.js
- Adds the manager and service to the NestApp
- Adds new config values to payments-next for Glean reporting
- Emit view event from Checkout start page
Closes #FXA-10087
Because:
- NextActions service methods do not reject on validation failures.
This commit:
- `validateOrReject` returns a promise that needs to be awaited.
Closes #
Because:
- Be able to use Sentry in Next.js on both the client and the server
This commit:
- Add Sentry to payments-next using the installation wizard
Closes #FXA-9998
Because:
- Only have one implementation of a profile server client, instead of
various implementations in the services where its required.
This commit:
- Moves the profile client implementation from auth-server and into a
dedicated library in libs
Closes #FXA-9274
Because:
- Define glean events and metrics for subplat backend events
This commit:
- Adds metrics and events to subplat backend metrics yaml
Closes #FXA-10086
Because:
- Initialize PayPal SDK and add button to checkout page
This commit:
- Adds PayPal SDK and initializes provider
- Adds PayPal button and only display when PayPal is selected in Payment
Element
- Updates CSP for PayPal URLs
- Adds config options
Closes #FXA-7585
Because:
- We don't want carts to be able to proceed with actions with invalid
coupon codes
This commit:
- Adds validation so that an invalid coupon code doesn't result in the
customer getting invisibly charged more than they saw in the checkout
ui.
Closes FXA-10173