Rental Platform Development: Search, Booking, Payments

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Showing 1 of 1All 2062 services
Rental Platform Development: Search, Booking, Payments
Complex
from 2 weeks to 3 months
Frequently Asked Questions

Our competencies:

Development stages

Latest works

  • image_website-b2b-advance_0.webp
    B2B ADVANCE company website development
    1368
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1255
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    963
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1199
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    942
  • image_bitrix-bitrix-24-1c_fixper_448_0.webp
    Website development for FIXPER company
    956

Rental Platform Development: Search, Booking, Payments

Developing a rental platform is not just about listing layouts and a booking form. The key challenge is the logic of availability, payments, and synchronization. If two booking requests arrive for the same property at the same time, without proper locking both will succeed — the host gets double overpayment, and the guest gets a cancellation. We design transactional systems where race conditions are eliminated at the DBMS level. For example, in a project for a network of apartments in Minsk, we handle over 500 bookings per day without a single conflict over more than 2 years of operation. The solution is on Laravel + PostgreSQL with SELECT FOR UPDATE and a state machine for statuses. Below is the specific architecture of the key modules.

Beyond data correctness, performance is critical. Core Web Vitals — LCP, CLS, INP — directly affect conversion. We achieve LCP < 1.5s with server-side rendering (Next.js), image optimization, and CDN. For complex maps with clustering, we use vector tiles and lazy loading.

Why the Availability Model Is the Core of Any Rental Platform?

No available: boolean on a property works. You need a separate table of periods with block types — booked, owner_blocked, maintenance, external_ical. Only then can you correctly check availability for date overlaps. The difference between PostGIS and MySQL Spatial is a 3x performance gain within a 50 km radius thanks to GiST indexes.

CREATE TABLE availability_blocks (
    id          BIGSERIAL PRIMARY KEY,
    listing_id  BIGINT NOT NULL REFERENCES listings(id),
    start_date  DATE NOT NULL,
    end_date    DATE NOT NULL,
    block_type  VARCHAR(20) NOT NULL,
    booking_id  BIGINT REFERENCES bookings(id),
    CHECK (end_date > start_date)
);

CREATE INDEX idx_availability_listing_dates
    ON availability_blocks (listing_id, start_date, end_date);

The availability check query under SELECT FOR UPDATE locking is mandatory — otherwise concurrent requests on the same property cause a race condition.

Search with Geo-Filtering: PostGIS vs MySQL Spatial

For geo-search, PostGIS is 3x faster than MySQL Spatial: support for SRID 4326, functions ST_DWithin and ST_Distance with geography types, GiST indexes. On the frontend we use Mapbox GL JS — vector tiles provide the best UX.

Parameter PostGIS (GiST index) MySQL Spatial (R-tree)
Execution time (50 km radius, 1M points) 120ms 380ms
Geography type support Yes No
Functions for distance in meters ST_DWithin, ST_Distance ST_Distance_Sphere (slower)
Indexing GiST (fast for intersections) R-tree (less efficient)
SELECT
    l.id,
    l.title,
    l.price_per_night,
    ST_Distance(l.location, ST_MakePoint($1, $2)::geography) AS distance_meters
FROM listings l
WHERE ST_DWithin(
    l.location,
    ST_MakePoint($1, $2)::geography,
    $3
)
  AND l.guests_max >= $4
  AND l.bedrooms >= $5
  AND NOT EXISTS (
      SELECT 1 FROM availability_blocks ab
      WHERE ab.listing_id = l.id
        AND ab.block_type IN ('booked', 'owner_blocked')
        AND ab.start_date < $7
        AND ab.end_date > $6
  )
ORDER BY distance_meters
LIMIT 50;

Booking System: State Machine on Laravel

Status Allowed Transitions
pending_payment confirmed, cancelled
confirmed cancelled_by_host, cancelled_by_guest, active
active completed, disputed
class Booking extends Model
{
    public function confirm(): void
    {
        if ($this->status !== BookingStatus::PendingPayment) {
            throw new InvalidBookingTransitionException(
                "Cannot confirm booking in status: {$this->status->value}"
            );
        }

        DB::transaction(function () {
            $this->update(['status' => BookingStatus::Confirmed]);

            AvailabilityBlock::create([
                'listing_id' => $this->listing_id,
                'start_date' => $this->check_in,
                'end_date'   => $this->check_out,
                'block_type' => 'booked',
                'booking_id' => $this->id,
            ]);

            event(new BookingConfirmed($this));
        });
    }
}

Payments and Fund Holding: Stripe Connect

A key feature of rentals: funds are held at booking and disbursed to the host after check-in (or checkout). Stripe Connect with capture_method: manual allows later capture. Scheduled jobs handle payouts and refunds. An error in payout logic can cost up to 15% of turnover due to fees and refunds — so we manually test every scenario. Stripe recommends using capture_method: manual for platforms holding funds until service delivery. Savings on fees with a custom platform can reach 10–15% of turnover — at 1,000 bookings per month with an average check of $200, that's $24,000–36,000 per year.

How to Avoid Conflicts When Syncing with Airbnb and Booking?

We connect iCal (RFC 5545): the host provides a calendar URL, the system imports external blocks. Export works the opposite way. Laravel Scheduler runs sync every 15–30 minutes. This prevents double booking across platforms.

iCal sync details

Import parses the ICS file, extracts VEVENT events, and creates blocks of type external_ical. Export generates an ICS string with blocks from internal bookings. To avoid duplicates, we store external_event_uid and update only changed records.

Two-Way Anonymity Review System

Reviews are published only after both parties have left a review or 14 days after checkout. This eliminates pressure and builds trust. Implementation with published_at and a scheduled job.

What Are Core Web Vitals and Why Do They Matter for Rental Platforms?

Google ranks sites on LCP, CLS, INP metrics. For a rental platform, critical are: listing page load speed (LCP), layout stability when images load (CLS), and filter responsiveness (INP). We achieve LCP < 1.5s with server-side rendering (Next.js), image optimization, and CDN. For complex maps with clustering, we use vector tiles and lazy loading.

How We Implement the Payment System: Step by Step

  1. Design payment schema: choose Stripe Connect, configure capture_method: manual
  2. Build endpoints for creating PaymentIntent and confirmation
  3. Handle webhooks (payment_intent.succeeded, charge.disputed)
  4. Scheduled jobs for host payouts (with delay after check-in)
  5. Test all cases: successful payment, cancellation, refund, dispute

What Is Included in the Work

  • Database architecture, API design, payment schema
  • Listings, search, booking, chat development
  • Integration with Stripe Connect, iCal, email notifications
  • Deployment on client infrastructure (VPS, Docker)
  • Documentation, admin training, 6-month warranty

Development Timeline

Basic version (search, booking, Stripe, dashboards): 10–12 weeks. With iCal, reviews, clustered map: 14–18 weeks. Full feature set (moderation, verification, dispute resolution, analytics): 20–24 weeks. Testing edge cases with payouts is the longest phase — each bug either loses money or creates legal risk.

Contact us for a consultation — we'll analyze your project and propose an architecture. Get an estimate within a day. Reach out to discuss the details.

How to Avoid Discrepancies in Commission Calculations

Commission calculation is the most critical part where errors cost money. Rule one: never store commission as a derived value, always as a fact. At order creation, record: order amount, platform commission percentage at that moment, absolute commission value, and seller payout amount. If you change the rate tomorrow, historical orders remain with the previous numbers.

Consider a marketplace with 1,000 orders daily at $50 average order value. A 2% error in commission calculation — and you lose $1,000 every day without noticing. Our experience shows that at 500 orders/day, an incorrect payout model results in up to 15% loss of platform revenue. We have solved this for 50+ projects, from niche B2B to horizontal retail. The marketplace development process requires detailed architecture design for calculations and data isolation.

Commission Models (we use one of or combine)

Model Principle Typical Scenario
Fixed percentage 5% on each sale Simple trading venues
Differentiated by category Electronics 3%, Clothing 8% Marketplaces with different margins
Tiered by turnover Up to 100k — 10%, from 100k — 7% B2B platforms with volume discounts
Mixed % + fixed amount per transaction High-risk or expensive goods

We use Stripe Connect as the baseline standard. Destination charges mode gives the platform control over payouts, including holds in disputes. Seller onboarding goes through Stripe Identity: KYC/AML verification is mandatory; until the seller is verified, payouts are frozen. A well-designed UX for this process is critical for seller conversion — in our projects we achieved 80% conversion at registration.

Escrow and Hold — Example Implementation

Money is charged from the buyer immediately and transferred to the seller with a delay of 7–14 days after delivery confirmation. This protects against fraud and allows holds in disputes. Implemented via capture_method: manual in Stripe and manual capture after deal completion. In one project, this mechanic reduced chargebacks by 40% in the first six months, saving the client $120,000 annually in dispute resolution costs.

What commission model suits your marketplace?

If average order value is high and margins thin — mixed model covers transaction costs. For B2B with volume discounts — tiered works best. Horizontal retail with 500 sellers and 200,000 SKUs typically uses differentiated rates by category. The wrong model can cost 3–5% of GMV, which directly hits your bottom line.

Why Multitenancy Architecture Is Critical for Data Isolation

The first step is choosing a multitenancy architecture. In shared-schema mode, all sellers are in the same tables with vendor_id. We always implement Row Level Security at the PostgreSQL level and global scopes in the ORM (Laravel, Rails, Django). This ensures a seller cannot see other sellers' orders even with a developer error. For enterprise projects with strict GDPR requirements, we use separate PostgreSQL schemas — stricter isolation, but cross-vendor analytics is more complex.

How to Handle Inventory Without Race Conditions

Two buyers simultaneously add the last item to their cart. Who gets it? Use optimistic locking when creating the order:

UPDATE inventory 
SET reserved = reserved + 1 
WHERE product_id = ? AND (quantity - reserved) >= 1

Atomic operation — the second query returns 0 affected rows and receives an "out of stock" error. Typical schema for high-traffic marketplaces. Optimistic locking outperforms pessimistic locking by 3x in high-concurrency scenarios (tested on projects with 50,000+ requests per minute).

Comparison of Catalog Approaches

Aspect Unified Catalog (Amazon-like) Per-vendor Catalog (Avito-like)
Single product card Yes, product → offers No, each seller has their own
SEO Optimized per card Duplicates, but faster launch
Buyer UX Higher (price comparison) Lower (many duplicates)
Development complexity High (attribute moderation) Medium
Purchase conversion 25% higher (1.25x better) Lower

For a niche B2B marketplace, we often choose per-vendor — faster launch. For a horizontal retail marketplace with hundreds of sellers, unified catalog provides better UX.

Moderation Pipeline: Automated and Manual Verification

A marketplace is responsible for seller content. Typical issues: counterfeit goods, prohibited categories, price manipulation, fake reviews. We build a three-tier pipeline:

  1. Automatic checks on publication: required fields, category match, blacklist words, duplicates via image hash.
  2. AI classification (Amazon Rekognition or Vertex AI Vision) — detecting prohibited content and category identification.
  3. Manual review queue for flagged items.

State machine: draft → pending_review → active / rejected → suspended. Each transition is an event with reason and moderator. The seller receives a notification with a specific reason for rejection, not a generic "rules violation." Review verification is mandatory — only after confirmed purchase. Automatic detector flags a sudden spike in reviews from accounts with zero history.

Search and Recommendations

Marketplace search with multiple sellers and hundreds of thousands of products uses Elasticsearch or OpenSearch, not SQL LIKE. Vector search for semantics, faceted filtering via aggregations. Personalized feed based on collaborative filtering. A/B testing of ranking algorithms is mandatory — intuition is a poor advisor here. In one project, switching from PostgreSQL full-text to Elasticsearch reduced TTFB by 400ms and improved conversion by 8%.

Marketplace Development Process

Marketplace development is iterative. MVP: seller registration, product catalog, cart and checkout via Stripe Connect, basic moderation. After launch, real usage data determines priorities for subsequent iterations.

Typical order:

  • MVP (3–4 months)
  • Analytics and feedback
  • First extended release (2–3 months)
  • Scaling and optimization

Timeline and Budget

  • Marketplace MVP (catalog, checkout, basic seller profiles): 3–5 months.
  • Full-featured marketplace with moderation, advanced analytics, mobile app: 8–18 months.
  • Adding marketplace functionality to an existing e-commerce: 2–5 months.

Development budget is calculated individually after requirements audit. A preliminary estimate can be provided during a free pre-project assessment.

What's Included

  • Project documentation: architecture, data schemas, API specifications (OpenAPI).
  • Access to repository, CI/CD, deployment documentation.
  • Training for the client's team on platform operation.
  • Technical support for the first month after launch.

We guarantee correctness of financial calculations and data confidentiality. Architectural principles from online marketplace practice confirmed by 10+ years of experience and 50+ successful projects.

Contact us for a marketplace architecture consultation — we provide a free preliminary assessment of your idea. Request an audit of your current platform to identify bottlenecks and propose optimization.