-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Epic] New Donation Flow - New version of the Donation Flow #1324
Merged
Merged
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
dd4be6f
New Donation Flow - Choosing a payment method step (Card with Stripe…
dimitur2204 489e605
New Donation Flow - Authentication form (#1294)
dimitur2204 9005eff
New Donation Flow - Form Data Flow and Stripe Card submission (#1311)
dimitur2204 268a561
New Donation Flow - Alerts and Summary Column (#1314)
dimitur2204 a1c8547
Merge remote-tracking branch 'origin/master' into 1272-epic-new-versi…
dimitur2204 49c94a5
New Donation Flow - #1297 #1291 Bank Transfer flow and Success page (…
dimitur2204 b16753c
New Donation Flow - 1297 Error handling and Fail page (#1330)
dimitur2204 1ea141e
New Donation Flow - Translations (#1334)
dimitur2204 2dbf3cd
New Donation Flow - e2e tests, Finalization and QA (#1336)
dimitur2204 f91d42f
Merge branch '1272-epic-new-version-of-the-donation-flow' of https://…
dimitur2204 6da5861
Merge remote-tracking branch 'origin/1272-epic-new-version-of-the-don…
dimitur2204 8c7f017
1336 - remove old donation page from the smoke tests
dimitur2204 ac2f452
Merge remote-tracking branch 'origin/master' into 1272-epic-new-versi…
dimitur2204 f69fa64
1272 - update import of the `stripeFeeCalculators` in the function tests
dimitur2204 f80913b
1272 - add STRIPE_PUBLIC_KEY to the playwright workflow file
dimitur2204 7351d06
Merge remote-tracking branch 'origin/master' into 1272-epic-new-versi…
dimitur2204 19902c4
1272 - add animatino gif
dimitur2204 2ae6bad
use STRIPE_DEV_PUBLISHABLE_KEY for playwright action
imilchev b72adb9
1272 - update stripe key env variable in playwright.yml
dimitur2204 a190c53
1272 - update stripe env variable name inside stripeClient
dimitur2204 db4447f
Merge branch '1272-epic-new-version-of-the-donation-flow' of https://…
dimitur2204 49e7ccf
Merge remote-tracking branch 'origin/master' into 1272-epic-new-versi…
dimitur2204 997a94d
1272 - update e2e files imports
dimitur2204 2923636
1272 - next.config and .env.local.example with new stripe env key name
dimitur2204 badd305
1272 - add inhertied env to the check-pr.yml config
dimitur2204 11e8484
1272 - change env to environment in check-pr.yml
dimitur2204 d846848
1272 - add specific env variable
dimitur2204 49b41d0
1272 - add environment as development
dimitur2204 cd690ab
1272 - add env in the playwright.yml file
dimitur2204 6c3d2ed
1272 - remove comment from playwright.yml
dimitur2204 312e0ce
1272 - change out env for vars
dimitur2204 e1104aa
Merge branch 'master' into 1272-epic-new-version-of-the-donation-flow
dimitur2204 ada9151
Merge remote-tracking branch 'origin/master' into 1272-epic-new-versi…
dimitur2204 05ad7b2
1393 - Refactor and change out the donation flow to use Stripe.SetupI…
dimitur2204 a9efe2b
Merge branch '1272-epic-new-version-of-the-donation-flow' of https://…
dimitur2204 78f2786
1272 - add error handling for bad auth cards on the status page
dimitur2204 1ef04d4
Merge branch 'master' of https://github.com/podkrepi-bg/frontend into…
sashko9807 153bac0
fix: Resolve build errors after merging with master branch
sashko9807 a612deb
feat: Add recurring payment
sashko9807 2af3c0a
feat(stripe): Add field to collect card holder name
sashko9807 b159180
fix: Use formik.cardRegion value when calculating fee in summary dialog
sashko9807 73a2e52
fix: Resolve conflict due to duplication of type
sashko9807 877ea28
fix(donation-flow): Resolve next hydratation error
sashko9807 058b2bf
refactor(donation-flow): Create subscription from setup intent
sashko9807 1097117
fix(donation-flow): Confirm card in case of 3DS
sashko9807 21ff8d6
refactor(donation-flow): Abstract stripe payment creation into fn
sashko9807 388809a
chore(donation-flow): Send idempotent key for stripe requests
sashko9807 fe2ca29
ui(donation-flow): Show stripe message errors instead of general one
sashko9807 16fd0cd
ui: Disable bank and unregistered selections for recurring payments
sashko9807 a6a532d
ui(i18n): Translate form errors
sashko9807 c2197a9
ui(donation-flow): Change error states according to UI requirements
sashko9807 3e1fa6b
fix(donation-flow): Confirm setupIntent only if it hasn't been confirmed
sashko9807 7f16b91
chore(donation-flow): Reset form when payment has succeeded
sashko9807 c455435
refactor: Change structure for better resposiveness
sashko9807 1c99fe4
ui: Change tooltip design according to ui specs
sashko9807 c694ac6
chore: Bring back SetupIntent call.
sashko9807 ccf5eb9
ui: Fix otherAmount field being too large
sashko9807 bdbe2eb
ui: Don't show desktop alerts for viewports <900px width
sashko9807 f17c818
chore: Remove unnecessary console.log
sashko9807 ec84d69
ui: Fix DonationStatus page being too large
sashko9807 4f974e3
i18n: Provide internalization for Share button
sashko9807 58fe458
fix: Fix hydratation errors
sashko9807 0e5a112
e2e: Adapt e2e tests to latest changes
sashko9807 3f2bd56
chore: Retrieve latest payment intent after card confirmation
sashko9807 e89fd2b
fix: Fix donation wishes not being attached to specific campaign
sashko9807 acfe194
fix: Donation status page being in loading state for bank donations
sashko9807 4583c4d
fix: Next.js build errors
sashko9807 43c0cb0
Cancel SetupIntent incase of bank donation and user cancellation
sashko9807 8f8401b
ui: Use same style for Stripe errors as form errors
sashko9807 27f5f15
fix: Formik persisted values being applied to donation for any campaign
sashko9807 b02e3d4
tests: Fix e2e breakages after latest changes
sashko9807 41e66d1
a11y: Fix not being to blur otherAmount input field
sashko9807 a3b9ef8
Merge branch 'master' of https://github.com/sashko9807/podkrepibg-fro…
sashko9807 54d4896
fix: Build issues
sashko9807 8a71aef
fix: SessionStorage item not cleared after succeeded donation
sashko9807 964030b
Merge branch 'master' of github.com:sashko9807/podkrepibg-frontend in…
sashko9807 e9db74f
Merge branch 'master' of github.com:sashko9807/podkrepibg-frontend in…
sashko9807 570816b
fix: Grid2 migration
sashko9807 dde8321
fix: Layout after MUI upgrade
sashko9807 304ea5b
fix:e2e test
sashko9807 3aa544d
fix: e2e tests
sashko9807 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
export const stripeSuccessFormData = { | ||
cardNumber: '4242 4242 4242 4242', | ||
name: 'E2e_TEST_NAME', | ||
email: '[email protected]', | ||
expiryDate: '04 / 42', | ||
cvc: '424', | ||
country: 'BG', | ||
} | ||
|
||
export const stripeErrorNoBalanceFormData = { | ||
cardNumber: '4000 0000 0000 9995', | ||
name: 'E2e_TEST_NAME', | ||
email: '[email protected]', | ||
expiryDate: '04 / 42', | ||
cvc: '424', | ||
country: 'BG', | ||
} | ||
|
||
export const stripeAuthenticationRequiredFormData = { | ||
cardNumber: '4000 0027 6000 3184', | ||
name: 'E2e_TEST_NAME', | ||
email: '[email protected]', | ||
expiryDate: '04 / 42', | ||
cvc: '424', | ||
country: 'BG', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
// This enum should be used as a parameter for methods in E2E tests | ||
|
||
// Check bgLocalizationOneTimeDonation["third-step"]["card-region"] | ||
export enum bgDonationRegions { | ||
EUROPE = 'Европа', | ||
GREAT_BRITAIN = 'Великобритания', | ||
OTHER = 'други', | ||
} | ||
|
||
export enum enDonationRegions { | ||
EUROPE = 'Europe', | ||
GREAT_BRITAIN = 'Great Britain', | ||
OTHER = 'other', | ||
export enum DonationRegions { | ||
EUROPE = 'EU', | ||
GREAT_BRITAIN = 'UK', | ||
OTHER = 'Other', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may need to adapt the k8s manifests to adopt this change in the env var name.