The architectural lesson (core teaching)
The tutorial demonstrates a deliberate and repeatable decision framework:
- What must stay in PHP: anything that runs synchronously in the Commerce request cycle, or that calls Commerce-internal APIs with no clean external surface
- What moves to App Builder: everything else — event processing, operator workflow, external integrations, and operator-facing tools
This isn’t “move everything to App Builder.” It’s a practical, honest starting point for teams who need to begin the transition without a rewrite.
Why the PHP Code Isn’t Included
The AI prompt approach is actually better than sample code for this use case, because the prompt captures the behavioral contracts and architectural reasoning that sample code alone cannot convey. A developer who runs the prompt and reads the output understands why the code is shaped the way it is, not just what it looks like.
What Is Included
- Complete App Builder application code (consistent across projects — use it directly or as a reference)
- A full set of numbered AI prompts designed for Cursor and Claude, covering the Commerce module, the App Builder orchestrator, the operator dashboard, testing, and the path to production
- A simulation script to test the accept/decline flow against a live Commerce site without needing a real ERP
- Architecture documentation explaining every decision
Who This Is For
Developers on Adobe Commerce on-premise or Commerce Cloud who are starting their first real App Builder integration. Not for the fully headless API-first deployment — specifically for teams in the transition, running a traditional storefront, who want to see how to offload real business logic to App Builder without abandoning their existing PHP investment.
Prerequisites Callout
Adobe Commerce 2.4.5 or later, access to an Adobe Developer Console organization with an App Builder project, and I/O Events enabled. A clean Luma theme is assumed for the checkout UI — custom themes will require adjusting the prompt before running it.
Final thoughts
This should be considered an entry level discussion on AI-assisted development. This tutorial is a demonstration for using AI tools in a Commerce development workflow, not just a tutorial about split payments.
All resources in this series
Reference resources
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe Commerce Roadmap Webinar - Americas & EMEA
Preview the Adobe Commerce roadmap for agentic commerce and ask the team questions.
Adobe Commerce Roadmap Webinar - Americas & APAC
Preview the Adobe Commerce roadmap for agentic commerce and ask the team questions.