Skip to content

[MKT_949]:feat/cloudflare turnstile integration - #2081

Draft
jaaaaavier wants to merge 2 commits into
masterfrom
feature/turnstile-integrtion
Draft

[MKT_949]:feat/cloudflare turnstile integration#2081
jaaaaavier wants to merge 2 commits into
masterfrom
feature/turnstile-integrtion

Conversation

@jaaaaavier

Copy link
Copy Markdown
Contributor

Description

In this PR, we've set up everything needed to integrate Turnstile into the checkout process. To do this, we've done the following:

  • We added the Turnstile script to the project's tag
  • We added the REACT_APP_TURNSTILE_SITE_KEY variable, which we'll use for authentication
  • We created the widget
  • We created the generateTurnstileToken file. In this file, we defined the generateTurnstileToken function, which sets up the widget
  • We added the turnstileToken to the relevant locations in both useUserPayment and checkout.service, as specified in the payments documentation and the SDK

Related Issues

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

Additional Notes

@jaaaaavier jaaaaavier self-assigned this Jul 30, 2026
@jaaaaavier jaaaaavier added the enhancement New feature or request label Jul 30, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 30, 2026

Copy link
Copy Markdown

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: a60890f
Status: ✅  Deploy successful!
Preview URL: https://a1e3e2ad.drive-web.pages.dev
Branch Preview URL: https://feature-turnstile-integrtion.drive-web.pages.dev

View logs

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant