Hızla Kirala: The Full Operation Behind Rental Commerce
- Unified 3 distinct commercial flows (rentals, direct sales and rental buyouts) on one shared physical device inventory pool and server-owned pricing engine.
- Built atomic saved-card collection boundaries with pre- and post-provider state verification, reconciliation routing and callback replay protection around Paynkolay 3DS.
- Modeled rental extensions and buyouts as coordinated lifecycle transitions propagating across installment rows, physical unit return dates, reminders and monthly operational reporting.
- Structured an explicit documentation and contract hierarchy (MAIN.md, BACKEND.md, FRONTEND.md, TEST.md, MERCHANT.md and OpenAPI) alongside 502 backend and frontend test files.
3 commercial flows. 7 main product categories. 31 admin resources. More than 500 test files.
Hızla Kirala (hizlakirala.com) makes phones, computers, game consoles, cameras, home technology and personal devices available as a rental service. Customers choose a product and a rental period, complete payment and receive their device. They can then extend the rental, hand the device back at the end of the term or purchase the device they are already using. Direct sales run as a separate commercial flow within the same platform.
At ORZED, we developed the storefront, customer account and operations behind that experience together. Pricing, recurring collections, physical device tracking, shipping, contracts, returns, campaigns and management reporting all follow the same business rules.
Hızla Kirala is live, taking orders and continuing to evolve. The architecture supports that continuity: adding a new commercial flow must preserve existing rentals, payment schedules and device histories.

Live storefront and editorial overview. Actual product and architecture views appear below.
| Scope | What it represents |
|---|---|
| 3 commercial flows | Rentals, direct sales and purchase of a device already on rent |
| 7 main categories | Phones; computers and tablets; cameras and accessories; gaming and hobbies; home appliances; mother and baby; personal devices and care |
| 31 admin resources | Administration across catalogue, physical stock, orders, customers, contracts, campaigns and support |
| 52 model files | The application model for commercial transactions, physical devices and customer lifecycles |
| 502 test files | 296 backend and 206 frontend test files covering business rules, integration behavior and user interactions |
Code inventory reviewed on 16 November 2026. File counts describe the authored test surface, not a passing test count or code coverage percentage.
A clear customer experience with an extensive operating layer
The product page brings rental terms, the amount payable for the selected period, damage protection and box contents into one decision. Browsing, category selection and account actions use the same commercial rules on desktop and mobile.
The customer account brings together rentals, rental buyouts, saved payment methods, addresses, coupons, reviews and support tickets. The customer relationship continues inside the product after the initial order.
For the operator, the platform connects each physical device to its current order, highlights approaching rental handovers, surfaces payments needing attention and keeps customer support within reach. Customer screens and operational views draw from the same transaction records.


Production screenshots captured on 16 November 2026. Prices reflect the moment of capture.
Architecture with clear ownership of business rules
The customer application runs on Next.js 14, React 18 and TypeScript. The API, administration and commercial rules run on Laravel 11 and Filament 3. The two applications have separate repositories and communicate over HTTP. The frontend does not access the database directly.
Prices, discounts, rental terms, protection charges and stock allocation are calculated by the backend. A total submitted by the browser does not become the source of the commercial record. This boundary keeps the calculation model consistent across catalogue presentation, cart preview, order placement and collection.
The data layer uses MySQL-compatible MariaDB. Content delivery uses Next.js caching and Redis. Laravel queues and the scheduler handle background operations. Role and permission controls connect the administration interface to the same domain services used by customer flows.
| Layer | Technology | Role in this product |
|---|---|---|
| Customer application | Next.js App Router, React, TypeScript | Catalogue, product detail, checkout, customer account and content pages |
| Interface system | SCSS Modules, Tailwind, shared components | Consistent desktop and mobile behavior and presentation |
| API and domain | Laravel, Sanctum | Identity, pricing, orders and rental rules |
| Operations | Filament, Livewire, roles and permissions | Catalogue, stock, collections, handovers, customer and content management |
| Data and caching | MariaDB / MySQL, Redis, Next.js cache | Durable transaction records and content delivery |
| Background operations | Laravel queue, scheduler, Supervisor | Collections, reminders, mail retries and cache revalidation |
| Contracts | Template resolution, HTML snapshots, PDF | Archiving the commercial content approved at the time of the transaction |
| Deployment | Docker, Nginx, PHP-FPM, Coolify | Application processes and controlled production releases |
A payment schedule shaped by the rental business
Rental duration, billing frequency and the first collection amount have distinct meanings. Short-term plans use a total price for the selected term. Long-term plans use a monthly amount and an installment count. The treatment of damage protection is part of the same calculation chain.
The initial payment passes through Paynkolay’s 3DS flow. Ongoing rentals use the provider’s saved-card token for subsequent collections. Keeping the schedule within the application allows extensions, early returns and rental buyouts to change future obligations through the platform’s own rules.
The test surface examines more than the final total. It defines installment counts, due-date order, protection included in the first collection, quantities greater than one and agreement between payment rows and the order commitment.
Business value: the same device can be offered through different rental plans while the customer commitment, collection schedule and operating record remain aligned.
Engineering decisions for the demanding parts of commerce
1. Bringing concurrent payment triggers through one control point
A scheduled job, an operator action and a customer retry can all reach the same payment. We use a shared atomic lock at that collection boundary. Callback processing adds signature, amount and replay checks.
The order can change while the provider request is in flight. The implementation therefore re-reads current state before collection and again after the response. Post-response locks follow a consistent order → payment order. Current-state checks in the collection service happen at explicit boundaries around the provider call.
When money has actually been captured, that financial fact is retained. If the order has closed in the meantime, the record is directed to reconciliation. The application preserves the current order and inventory state and suppresses a misleading success message. Uncertain provider outcomes remain visible in attempt records for operator review.
Regression scenarios define concurrent collection, repeated callbacks, cancellation races and interrupted worker execution.
2. Preserving the current custody of each physical device
Rentals and direct sales share a physical inventory pool. Each device has its own state, transaction history and current order association. Reservation locks are acquired in a consistent product order. A unit already selected for one cart line cannot be selected again for another rental term in the same cart.
A device can be handed back early and issued to another customer while its earlier rental remains in the archive. Current ownership checks ensure that an action on the earlier order cannot release or sell a unit now held by a different order.
Business value: the device history remains available while current rental custody and sellable availability stay accurate. Warehouse operations, customer service and commerce channels work from the same physical record.
3. Applying an extension across the entire rental lifecycle
An extension changes the end date, payment schedule, expected stock return, reminders and reporting together. We model it as a coordinated business transition.
The approved rental end date propagates from the order item to the physical unit’s expected return date. Reminders identify the relevant rental period. Payment rows retain their extension origin, and new obligations can only merge into eligible unpaid rows. Historical collections remain intact.
Regression scenarios inspect the resulting chain across inventory, installments, reminders, order history, administration, the customer API and the monthly reporting view.
Business value: when a customer extends their use of a device, the rest of the operation follows the same new term.
4. Giving rental buyout its own commercial flow
For a rental buyout, the customer already holds the device. Eligibility, the purchase offer, collection, remaining rental installments, device ownership and sales documents follow that context.
After successful collection, future rental installments for the relevant item are cancelled, historical payments are retained and the unit moves to a sold state. No additional shipment is created. Pricing follows an explicit priority across an item-specific offer, a dedicated buyout amount and an eligible direct-sale price.
Withdrawal from a buyout also has a different meaning from physically handing back a rental. Where the customer keeps the device and the rental continues, reminders and the relevant rental obligations follow that state. Direct sales, buyouts, withdrawals and end-of-term handovers have explicit distinctions in both services and interfaces.
Business value: the device can move from rental to customer ownership within the existing relationship and transaction history.

Live direct-sales catalogue. Rental buyout runs through a separate flow in the customer account.
Business intelligence grounded in the meaning of each event
5. Separating booked amounts, collections and operational priorities
“This month” has an explicit definition in the management view. The monthly booked amount combines eligible orders, extensions approved during the month, overrun charges created during the month and paid rental buyouts. Each component uses the date of its own business event.
Unpaid reservations and cancelled orders are excluded. Buyouts reversed through withdrawal are excluded under their own rule. The month of the original order and the month of a later commercial movement therefore remain distinct.
This metric represents operational booked value. It is not presented as cash collected or profit. Failed and overdue collections are tracked separately.
The operating view answers actionable questions: which orders await preparation, which devices are in transit, which rentals are active, which handovers fall within the next seven days, which returns are late, which return requests remain open and which collections need attention. Summaries link to the underlying records.
Dashboard caches are invalidated after the transaction commits. This prevents an intermediate page request from caching the old state again before the update becomes visible, while avoiding continuous dashboard polling.
6. Making checkout friction visible before an order exists
Some checkout interruptions never produce a request or error on the order endpoint. We added distinct signals for conditions such as an address selection that does not finish loading, required information becoming unavailable at the payment step or a 3DS redirect that cannot start.
Operators can inspect those signals alongside failed collections, incomplete payment journeys and registered customers who have not placed an order. Deduplication, rate limits and a daily recording ceiling bound the telemetry’s own workload. Reporting a signal does not make the customer wait for checkout to continue.
Business value: there is an investigation trail at the point of friction, before the operator has to rely on a support request.
Keeping content, pricing and communications commercially consistent
7. Matching campaign content to the current catalogue
Homepage campaign headings, calls to action and starting prices are rendered as HTML. The price is calculated from the relevant product or category scope. If pricing cannot be retrieved, the campaign remains available and the unverified price line is omitted.
The less obvious detail is that campaign content and price data have different cache lifetimes. Slide position alone is insufficient when content is reordered. Each price is matched using a key derived from its rental or sales channel and product scope.
Content edits in administration dispatch frontend revalidation jobs after commit. The scope includes product and sales URLs, relevant listings and changed old slugs. The Google Merchant feed uses products eligible for direct sale, with sales pricing and availability from the shared physical inventory.
Business value: campaigns, product pages and the sales feed retain the same commercial meaning.
8. Sustaining transactional email independently of collection work
Documents and notifications are part of the operation after an order or payment. Selected transactional emails enter a retry queue when a temporary SMTP problem occurs. Those retries run in a dedicated worker, allowing collection work to continue without waiting through the retry cycle.
The rendered message and contract attachments are preserved for another delivery attempt. Mail keys and locks guard against duplicate sending when a job executes again. Retry jobs are encrypted in the database, and operators can inspect delivery status, masked recipient records and attempts in administration.
Contracts are archived with their approval-time content, timestamp and approval context. Rental, direct-sale and rental-buyout documents use their own commercial context.
Business value: customer documents and communications remain traceable while the collection operation keeps its own execution capacity.
Making integrations verifiable
Successful responses are one part of an integration’s contract. Provider unavailability, repeated events and business-state changes during a request are also represented in the application’s test surface.
| Integration | Role | Controls defined in code and tests |
|---|---|---|
| Paynkolay | Initial 3DS payment, saved cards and recurring collections | Hash field order, amount and response checks, callback replay, concurrent charging, cancellation races, due dates and retry behavior |
| Geliver | Outbound and return shipping, tracking and delivery states | Webhook authorization, state mapping, repeated or late events and correct reassociation of a replacement shipment |
| Twilio / phone verification | Phone verification and rental eligibility | Code lifetime, resend intervals, attempt quotas and binding verification to the current phone number |
| Google sign-in / reCAPTCHA Enterprise | Social identity and form verification | Identity services, account-linking boundaries, provider error paths and IPv4 egress controls on selected external calls |
| SMTP and document attachments | Transactional communication and contract delivery | Mail-trigger spies, retries, attachment preservation, duplicate-send checks and delivery records |
| Next.js cache / Merchant feed | Content freshness and sales catalogue distribution | Post-commit revalidation, old and new URL scope, price keys, sales-channel rules and stock boundaries |
Financial refunds are tracked separately from physical returns. The current operator workflow supports a refund performed in the Paynkolay panel and recorded in the application. An API refund path is separately configurable. A returned device and refunded money remain distinct transaction states.
The verification approach has three layers: isolated unit and feature scenarios; an end-to-end scenario tool prepared for the Paynkolay test environment and real SMTP; and real-browser page and interaction checks. Mail spies examine whether the right business event invokes the right template, as well as message preparation.
Backend CI uses package validation, PHP syntax checks and the Unit suite as blocking gates. Feature scenarios are handled locally against the project’s database setup. Production releases remain under human control; CI does not deploy directly to production.
A development environment designed for AI-assisted work
Useful AI assistance requires a clear description of the decisions an agent may make and the business rules it must preserve. We keep that context alongside the code in an explicit documentation hierarchy.
MAIN.md defines the shared contract between the applications. BACKEND.md and FRONTEND.md describe layer-specific behavior and project-specific technical constraints. TEST.md defines testing practices, and MERCHANT.md documents payment operations. A canonical OpenAPI contract, error-code vocabulary and Postman collection describe the API boundary.
This structure constrains an AI-assisted change from silently reinterpreting pricing, payment behavior, error codes or the other application’s expectations. New dynamic backend flows require tests alongside implementation. Commercial decisions are documented, and implementation, tests and contracts are evaluated together.
Rental charges, extensions, withdrawals, end-of-term handovers and rental buyouts use a shared vocabulary. Engineering review carries those distinctions through code, interfaces, messages and reporting. A new developer or AI session can recover the working context from the project itself.
ORZED’s approach in this project: tools that accelerate implementation operate within explicit business rules and reviewable changes. Architecture, commercial meaning and release decisions remain engineering responsibilities.
A live product with a continuing engineering roadmap
Hızla Kirala spans the initial order, recurring collection, customer support and the device’s return to circulation. Post-launch development follows that same scope: new sales flows, extension behavior, operational reporting, shipment management, communication continuity and content accuracy remain part of the product.
The work demonstrates what it takes to design the interface, commerce infrastructure and daily operation together. Customers get a clear rental experience. The business gets traceable device and money movements. Engineering gets explicit rules and a maintainable foundation for continued delivery.
Building a platform around rentals, subscriptions or a physical product lifecycle? Let’s plan the customer experience and the operation within the same architecture.
Explore the live product ↗ · Talk to ORZED ↗
Frequently asked questions
How does Hızla Kirala keep rentals, direct sales and rental buyouts from conflicting over the same physical stock?
Rentals and direct sales share a physical inventory pool where each device has its own state, transaction history and current order association. Reservation locks are acquired in a consistent product order, and current ownership guards ensure an action on an earlier rental cannot release or sell a unit now held by a different order.
What happens if an order changes or cancels while a recurring saved-card payment is in flight?
A shared atomic lock protects the payment entry point, and the collection service re-reads current state before the provider call and again after the response in a strict order-to-payment lock sequence. If money was captured after the order closed, the financial fact is retained and routed to reconciliation without resurrecting the order or sending a misleading success email.
How is monthly operational booked amount calculated without mixing cash collected and new commitments?
The monthly booked amount combines eligible orders, extensions approved during the month, overrun charges created during the month and paid rental buyouts, each assigned to the date of its own business event while excluding unpaid reservations, cancelled orders and reversed buyout withdrawals.