Skip to content
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

Added invisible reCaptcha to donatations form. #928

Merged
merged 1 commit into from Aug 13, 2019

Conversation

cgl
Copy link
Contributor

@cgl cgl commented Jul 30, 2019

This is a conceptial PR for adding Google Invisible reCAPTCHA to stripe payment process. (cc: @carltongibson @frankwiles )

It has a dependency on django-recaptcha package.

It basicly does an invisible captcha check before opening stripe modal. Recaptcha v3 requires a server side call to google in order to verify user interaction. That is also included in the implementation.

If there is a different requirement on the placement of the captcha it can easily be moved to that location. But this version prevents those users who fails the captcha check to enter their credit card information (and use stripe to check validation of those card information)

Settings are temporary, should be updated for prod use. Tests should be added as well.

@cgl cgl mentioned this pull request Jul 30, 2019
@carltongibson
Copy link
Member

Hi @cgl. Thanks for this! I will take a full look after the releases on Thursday. ⭐️

@carltongibson carltongibson self-assigned this Jul 30, 2019
@frankwiles
Copy link
Member

This looks good to me 👍. If you're happy with it @carltongibson merge it!

@carltongibson carltongibson changed the title [WIP] recapthca-v3 integration for stripe checkout Added invisible reCaptcha to donatations form. Aug 13, 2019
Copy link
Member

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @cgl. Thanks for this. Really good.

I pushed a few edits on the settings side but that was all. 👍

Just need to coordinate with @felixxm to get it live and give it a little test there later on (hopefully today).

djangoproject/settings/prod.py Outdated Show resolved Hide resolved
djangoproject/settings/docker.py Outdated Show resolved Hide resolved
djangoproject/settings/docker.py Show resolved Hide resolved
@carltongibson carltongibson merged commit 43df311 into django:master Aug 13, 2019
felixxm added a commit that referenced this pull request Aug 13, 2019
@carltongibson
Copy link
Member

Hi @cgl. Thanks for your input here. It's was super.

c.f. #936 for future tweaks. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants