-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
chore(console): Handle 3D Secure Events #2529
Conversation
2a63774
to
e56a36a
Compare
e56a36a
to
03af838
Compare
132df64
to
e0e05c8
Compare
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.
There's some code duplication that might be extracted out, some unnecessary json castings to and from and I think there are some tens of lines of code that could be removed if you'd hook into the appendToastToFlashSession
mechanism.
apps/console/app/entry.server.tsx
Outdated
SELF, | ||
`'nonce-${nonce}' ${STRICT_DYNAMIC}`, | ||
'https://js.stripe.com', | ||
'https://maps.googleapis.com', |
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.
Is this intentional?
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.
pretty much yes
https://stripe.com/docs/security/guide#content-security-policy
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.
I meant the google maps thing :)
01890f3
to
0097c06
Compare
ee057ea
to
b03909e
Compare
Description
Deals with errory payments and handles 3DS events.
Related Issues
Testing
4000000000003220
/billing
pageRepeat the whole flow and try to purchase something at
$clientId/billing
page too (our second page from where we can but entitlement)Checklist