-
Notifications
You must be signed in to change notification settings - Fork 54
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
Feat / Payment recaptcha #631
Conversation
4c6adfc
to
d6a6dfa
Compare
refactor(payment): move recaptche to right side of form
d6a6dfa
to
a077f19
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.
LGTM. Minor changes, compared with your previous PR
@royschut is there any need to change the token dynamically (in custom params)? Did you consider making it part of the ini file? |
packages/ui-react/src/containers/AccountModal/forms/Checkout.tsx
Outdated
Show resolved
Hide resolved
The convenience of adding it to the app config is mainly for config switching, so for demonstration purposes. Otherwise config demonstration would not be possible for configs with captcha enabled. |
Feat / Payment ReCaptcha
In addition to #630, this PR optionally adds recaptcha validation to Payment endpoint calls.
Recaptcha can be enabled from the Cleeng dashboard. The site token should then be added as a custom parameter to the app-config:
captcha_site_key=<site_id>
to have the validator (by Google) added to the DOM.Steps completed:
According to our definition of done, I have completed the following steps: