woocommerce / woocommerce-gateway-stripe
The official Stripe Payment Gateway for WooCommerce
View on GitHubAI Architecture Analysis
This repository is indexed by RepoMind. By analyzing woocommerce/woocommerce-gateway-stripe in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewWooCommerce Stripe Payment Gateway This is the official feature plugin for accepting payments via the Stripe payment gateway on a WooCommerce store. Dependencies • WooCommerce Version Support Policy We adopt the L-2 version support policy for WordPress core strictly, and a loose L-2 policy for WooCommerce. See more details. Development Install Dependencies & Build • • • , or if you're developing the client you can have it auto-update when changes are made: If you run into errors with it may be due to node version, try followed by then try again. When running the , Composer may prompt you for a GitHub OAuth token before it can fetch the and extensions from GitHub. PHPStan workflow We are using PHPStan to perform static analysis of our code. Every PR will be analysed to check for issues via a GitHub workflow, which may include the following: • Legitimate issues that you should resolve before merging, like missing null check or type checks. • Error messages that are less clear if they need to be resolved, like array types not specifying a type for their contents. • Error messages that indicate an error doesn't exist or could not be found. **NOTE:** We are still working out which error types need to be fixed, and which can be safely ignored. For now, you can use your best judgement, knowing that most PHPStan errors don't need to be addressed in your PR. However, you SHOULD update the baseline file using the commands below, otherwise your errors will drive noise in and other developers' PRs. For the latter two situations, you will need to update the PHPStan baseline file, which you can do by running either of the following commands: or You can also run PHPStan against your code before the automated GitHub workflow runs by using either of the following commands: or Our goal is to remove our dependence on the need for a baseline file, but we are not there yet. Setup If you're using the Docker environment see setup instructions here: https://github.com/woocommerce/woocommerce-gateway-stripe/blob/trunk/docs/DOCKER.md Install the following plugins: • WooCommerce • Stripe Dev Tools (clone or download the GitHub repo) Debugging If you are following the Docker setup here, Xdebug is ready to use for debugging. Install Xdebug Helper browser extension mentioned here to enable Xdebug on demand.