+ We couldn't confirm your payment. If you were charged, please contact + support. +
+ } + @case ('missing') { +We couldn't find that purchase.
+ } + } +diff --git a/package-lock.json b/package-lock.json index f790b47a7..016c4d6b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,6 +30,7 @@ "@ng-bootstrap/ng-bootstrap": "^20.0.0", "@popperjs/core": "^2.11.8", "@sentry/browser": "7.119.1", + "@stripe/stripe-js": "^9.12.1", "@types/debug": "4.1.12", "@types/hammerjs": "2.0.46", "@types/lodash": "4.17.20", @@ -8974,6 +8975,15 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, + "node_modules/@stripe/stripe-js": { + "version": "9.12.1", + "resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-9.12.1.tgz", + "integrity": "sha512-KLXPvjA0BfS4dQnW+ddHjwtIXMnIfKYxqmeNMmQCfKjvYog0cSG+Z7ZvK4RH1+bV90GC07nUztWDRWmJLi5HZQ==", + "license": "MIT", + "engines": { + "node": ">=12.16" + } + }, "node_modules/@testing-library/dom": { "version": "10.4.1", "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz", diff --git a/package.json b/package.json index 0fb6000ad..d91a763de 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "@ng-bootstrap/ng-bootstrap": "^20.0.0", "@popperjs/core": "^2.11.8", "@sentry/browser": "7.119.1", + "@stripe/stripe-js": "^9.12.1", "@types/debug": "4.1.12", "@types/hammerjs": "2.0.46", "@types/lodash": "4.17.20", diff --git a/src/app/core/components/payment-intent-confirm/payment-intent-confirm.component.html b/src/app/core/components/payment-intent-confirm/payment-intent-confirm.component.html new file mode 100644 index 000000000..e4b13d51f --- /dev/null +++ b/src/app/core/components/payment-intent-confirm/payment-intent-confirm.component.html @@ -0,0 +1,30 @@ +
+ We couldn't confirm your payment. If you were charged, please contact + support. +
+ } + @case ('missing') { +We couldn't find that purchase.
+ } + } +
+
+ {{ errorMessage }}
+ } + + } + + @if (stage === 'success') { + + } +