Integrate with an AI coding agent
Point Claude Code, Cursor, GitHub Copilot or another coding agent at these docs and have it add HumanApproved to your checkout.
These docs are published in forms a coding agent can read directly, so you can hand the integration to Claude Code, Cursor, GitHub Copilot or a similar tool and review what it produces.
Give the agent the docs
Each page also has buttons at the top: Copy page copies it as Markdown, and Open in Claude, Open in ChatGPT and Open in Cursor start a conversation with the page loaded.
Paste this prompt
Open your coding agent in your checkout’s code and paste the prompt below. Fill in the parts in square brackets first.
Review the agent’s work
Before you merge, check:
- The embed
<script>is on every page of the quote journey, not only the payment page, with the version andintegrityhash from the portal’s Embed page andcrossorigin="anonymous". -
protectis called from a file on your site, not an inline script. -
beforematches the element customers click or submit to continue to payment. -
quoteDetailsreturns every required field with the product’s exact keys, nesting and types, reads values from your quote state, and has no side effects. -
mobileis the customer’s own mobile number. - The secret key appears only in server code, read from an environment variable or secrets manager. Search the client bundle for
sk_to be sure. - No key is committed: search the diff for
pk_live_,pk_test_,sk_live_andsk_test_. - Your server refuses to bind unless the review is
approved, itsquoteRefmatches and, in production, itsenvislive. - Your Content Security Policy allows
https://cdn.beopen.cominscript-srcand your region’s address inconnect-srcandimg-src. - There’s no
baseUrl. - You’ve run the test checklist with a test key, including the pause panel with the product set to Every purchase.