Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
Ivo Plamenac 453cb59184
feat(metrics): add Country_ISO field to Select Payments Events and Add Payments Location Override
Because:

* we want to add the country_iso to payment server amplitude events for setting up or upgrading a subscription
* want to override local location during development
This commit:

* conditionally fetches that information and adds it to the event, conditionally checks the schema to make sure its present
* adds location override for the payments server

Closes #FXA-6950,FXA-7207
2023-04-11 09:35:36 -07:00
dschom 30a71a03be
task(all): Remove ':' characters from npm targets
Because:
- A ':' character indicates that a script is globally available

This Commit:
- Converts : to -
2023-03-29 17:15:51 -07:00
Ivo Plamenac 6b3e303c3a
feat(payments): vscode Launch Config For Debugging Payments Server TestsE
Because:

* we do not have an easy way to debug payments server tests through vs code

This commit:

* adds a launch config for vscode to debug the payments server tests

Closes #FXA-7049
2023-03-14 22:24:26 -07:00
Valerie Pomerleau d79c30d50a
feat(l10n): Split payments-server single FTL file into per-component files
Because

* Organizing l10n strings in per-component files aligns payments-server with the setup used for auth-server and settings. Splitting the FTL files also improves maintability by more tightling coupling the strings with the components where the strings are used.

This commit

* Create a temporary branding file in fxa-payments-server/src
* Create a gruntfile with tasks for FTL concatenation and watching
* Rename the destination file from main.ftl to payments.ftl
* Switch payments-server's default locale from en-US to en and update all references of en-US to en
* Create individual FTL files per component and move messages to their respective component FTL file
* Add a l10n entry in the package readme
* Update clone-l10n.sh to copy 'payments' ftl files instead of 'main'
* Update AppLocalizationProvider to use 'payments' bundles
* Replace setupFluentLocalizationTest with getFtlBundle/getFtlFromPackage from fxa-react
* Remove setupFluentLocalizationTest function (no longer used in fxa-settings)
* Add merge-ftl:test task to package.json start and test:frontend scripts
* Remove legacy strings from FTL files
* Update currency and date formats to use 'en' as default locale
* Remove legacy paths from .gitignore files in payments-server
* Move remaining paths to global .gitignore
* Delete .gitignore files in payments-server

Closes #FXA-5996 and #FXA-6255
2022-11-09 13:26:40 -08:00
Ivo Plamenac 33a1655fbd
feat(payments): add Launch Config for Debugging Payments Tests
Because:

* We want to be able to debug payments tests from vs code

This commit:

* Add a launch.json and updates the documentaion

Closes #12284
2022-04-07 12:41:18 -07:00
Reino Muhl 628fb0c211
chore(docs): update storybook publish links (#11609)
* fix(storybook): update storybook publish links
Because:

* Latest versions of Storybook builds are no longer published to Github
  pages.

This commit:

* Update docs to indicate new location where Storybooks are published.

Closes #11468
2022-01-13 10:20:15 -05:00
Ivo Plamenac ad741e723d
chore(payments): remove usePaypalUIByDefault feature flag (#10563)
Because:

* This UI is enabled by default for all environments, it is no longer necessary for local/dev.

This commit:

* Removes the feature flag, removes references to it, and updates the README

Closes #10531
2021-09-30 12:48:12 -07:00
Ivo Plamenac 85844558f6
chore(fxa): update README and CONTRIBUTING files with fixed links, template instructions, and secrets (#10562)
Because:

* We would like to have up to date docs to allow devs to begin contributing as quickly as possible

This commit:

* updates the appropriate docs

Closes #10561
2021-09-30 12:46:00 -07:00
Bianca Danforth c496033ca4
chore(auth/payments): Update README for PayPal secrets and feature flags. 2021-02-22 10:22:09 -06:00
Bianca Danforth 524ae6203a
chore(docs): Replace npm with yarn commands in payments README
FxA root uses yarn workspaces which npm LTS doesn't currently support. Also test commands had extra '--' in them that caused them to fail.
2021-01-19 21:23:27 -05:00
Jared Hirsch 20a0acf8b0
chore(docs): Replace 'master' with 'main' throughout
Certain references to 'master' haven't been removed yet, see
issue #5698, issue #5699, issue #5700 for more complex followups.
2020-06-25 13:44:28 -07:00
Jody Heavener 099163e947
docs(all): update readmes across all packages to improve testing documentation 2020-05-06 12:02:21 -04:00
Jody Heavener dce8268b3c
feat(secrets): pass in secrets.json file as env CONFIG_FILES where you can supply your own stripe keys 2020-03-18 14:13:21 -04:00
Les Orchard 5df8397669
chore(payments): add mention of local storybook to payments README 2020-02-04 15:55:53 -05:00
Jared Hirsch d942fea6ff
fix(subs): SubHub display_name should be CC name, not FxA name
* Also document annoying Mac OS gotcha with running local tests

Fixes #1690.
2019-07-08 15:48:56 -07:00
Ian Bicking c706603b0d
docs(payments): put in link to Storybook 2019-07-02 13:32:28 -05:00
Shane Tomlinson 79f2ae760e
feat(payments): Payments server shell.
This is a standalone payments server with some code copied over
from the content-server. Ideally we'd be able to share some of the
code directly, perhaps via fxa-shared, though this was a quick way
of getting started.
2019-04-26 12:29:26 +01:00