This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add initial support for stripe payment intents (#653)
* feat: Install Stripe package and add project-zebra branch to run CI (#637) * build: testing sandbox changes * feat: Initial use of enableStripePaymentProcessor flag (#638) REV-3034 * feat: Add Stripe Elements to Checkout Page(disabled Cybersource for now) (#639) Project Zebra * feat: Handle Stripe full form data on submit (#640) * temp: put test creds in prod .env for sandbox * temp: put test creds in prod .env for sandbox * refactor: Use redux-form for billing address to better handle form data (#641) * refactor: Payment form for Stripe and CyberSource (#644) REV-3001 * refactor: Separate stripe client secret from cybersource capture context (#645) REV-3041 * feat: Add Stripe Custom Actions Beta, handle Enterprise bulk enrollments data, and billing form skeleton (#647) REV-3077 * fix: follow redirect sent by ecommerce on successful stripe payment (#650) This is a bit of a hack because the receipt page is hit twice. Tried using Axios' maxRedirects = 0, but that still did not catch the redirect. * fix: Remove hard coded Stripe key and update env files (#652) * fix: false alerts and errors for stripe removed (#655) REV-3057 * fix: receive 200s or 400s instead of 302s from ecommerce /checkout (#657) We tried having Ecommerce send 302s to redirect the Payment MFE to the receipt page. This didn't work because the library that we use for requests on the frontend, Axios, doesn't appear to support not following redirects. This created a host of CORS and authentication issues due to logging into Ecommerce from the Payment MFE domain. We've changed ecommerce's /payment/stripe/checkout to send a HTTP 200 or 400 instead of a 302, along with the information needed for the redirect. This commit instructs the frontend on what to do when receiving these 200 or 400s. * fix: dont display confirm payment button until stripe has loaded (#660) REV-3107 * fix: Add trailing slash to STRIPE_RESPONSE_URL (#656) * fix: Hide country zip code from Stripe form to avoid duplicate entry (#658) REV-3064 * Revert "temp!: temporarily required ascii characters in name fields" (#553) This reverts commit 580e1ce. * fix: add ISSUE_ERROR Redux action to call <FallbackErrorMessage> (#663) The correct thing to do would be to move all the state logic in <StripePaymentForm> into Redux. Since we are in a lethal rush, we are instead implementing a hack, which is bringing Redux to <StripePaymentForm>. * fix: Change zip code field to be required for Stripe for certain countries (#664) REV-3064 * fix: show <TransactionDeclined> on Stripe & backend errors (#665) * use locale to display stripe forms in another language (#666) * feat: use locale to update stripe form language * docs: leave a comment explaining why code was moved * Revert "Revert "temp!: temporarily required ascii characters in name fields" (#553)" (#668) This reverts commit c11933c. * refactor: Updated relevant track events for stripe (#669) REV-3128 Co-authored-by: Juliana Kang <[email protected]> Co-authored-by: John Nagro <[email protected]> Co-authored-by: wdrussell2015 <[email protected]> Co-authored-by: Chris Pappas <[email protected]> Co-authored-by: Chris Pappas <[email protected]>
- Loading branch information
1 parent
4c920f6
commit 7d5d7b7
Showing
27 changed files
with
999 additions
and
3,963 deletions.
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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: node_js CI | |
on: | ||
push: | ||
branches: | ||
- master | ||
- master, project-zebra | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"allowlist": [ | ||
"GHSA-44c6-4v22-4mhx", | ||
"GHSA-pfrx-2q88-qq97" | ||
"GHSA-pfrx-2q88-qq97", | ||
"GHSA-f8q6-p94x-37v3" | ||
], | ||
"moderate": true | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.