Laravel demo
Build a Laravel storefront with embedded, modal, and hosted Checkout. Laravel creates the order on the server.
What you’ll build
- A Laravel 12 storefront with request validation and an accessible bag
- Order creation with the Inttegro PHP SDK
- Server-only credentials and idempotency
- Blade views progressively enhanced with
@inttegro/js
See the flow
The gallery shows one server-created order in each Checkout presentation. The PHP SDK, API key, and trusted price remain on the server.
- Desktop
- Mobile
Select any image to view it full screen.
Run the demo
Install PHP and Composer, install the dependencies, create the application key, and start Artisan. The released README has the exact commands.
Key files
CheckoutService.phpcreates the order.CheckoutController.phpvalidates the request and returns JSON or a303redirect.public/checkout-presentations.jspresents Checkout in all three modes.
Before you ship
Keep INTTEGRO_API_KEY out of public configuration. Store the cart and
Inttegro order IDs together, then verify payment before fulfillment.