How online payments work on the booking page

Zaktualizowano: 2026-08-14

erphome.pl supports two modes for accepting bookings — request mode (no payment) and online payment mode with the Przelewy24 gateway. You configure the gateway once for the whole account in Settings → Payments — it applies to all your apartments.

Currently available gateway: Przelewy24. PayU and Stripe integration is in progress and will arrive in upcoming updates.

Request mode (default)

Without a configured payment gateway, a booking works as a request:

  1. The guest fills in the form and clicks "Send request"
  2. The system saves the booking with the status Pending
  3. You receive an email notification and/or Telegram
  4. You manually confirm or reject the booking in the panel
  5. The guest receives an email about the status change

This mode works well when you want to verify each guest before confirming.

Online payment mode

After configuring a payment gateway, the flow looks as follows:

Diagram of the booking flow with online payment
  1. The guest fills in the form and clicks "Book and pay"
  2. The system saves the booking with the status Awaiting payment and redirects the guest to the gateway page
  3. The guest pays (BLIK, transfer, card)
  4. The gateway sends a webhook to erphome.pl confirming the payment
  5. The booking automatically changes status to Confirmed
  6. The guest sees the "Booking confirmed! ✅" screen and receives a confirmation email

The webhook works independently of the guest — the booking will be confirmed even if the guest closes the browser right after paying.

What happens if the guest abandons payment

If the guest leaves the gateway page without paying (clicks "Back" or closes the tab), the booking stays with the status Awaiting payment. The date is blocked in the calendar until:

  • The guest returns to the page and completes the payment (the link is active for the duration of the session)
  • Or you delete the booking manually from the panel (Bookings → Delete)

Available gateways

GatewayStatusPayment methods
Przelewy24✅ AvailableBLIK, fast transfer, traditional transfer, card, Google Pay
PayU🔜 SoonBLIK, fast transfer, traditional transfer, card, Google Pay, Apple Pay
Stripe🔜 SoonCard, BLIK (via Stripe)

The gateway is configured once for the whole account and applies to all apartments. Until you configure a gateway, the booking page stays in request mode.

Webhook URL — what it is and what it's for

A webhook is a URL that the payment gateway calls after confirming a payment. erphome.pl uses webhooks to automatically change the booking status. The guest webhook address looks like this:

https://erphome.pl/payments/booking_webhook.php?tenant={slug}&apt={apt_slug}

Where {slug} is your account identifier and {apt_slug} is the apartment identifier. The exact URL is shown in the panel under Settings → Payments after you select a gateway — copy it and paste it into your account settings on the gateway's site.

Amount verification

The system verifies whether the amount paid by the guest matches the booking amount. If the guest pays less than the calculated price, the booking will not be confirmed automatically — you'll find it in the panel with the status Awaiting payment and can decide manually.

Payment links for guests (without the form)

Besides the automatic mode, you can also generate a one-time payment link and send it to the guest manually — useful when the booking was added manually by you or when you want to collect the deposit separately. The links are available on the booking details page in the panel — together with the payment history and the option to record a payment manually. Details: Payments in a booking.



Related articles: Przelewy24 configuration · Payments in a booking — history and links · Deposit (refundable) · PayU configuration · Stripe configuration · How the booking process works

Czy ten artykuł okazał się pomocny?