Booking Payment Methods
Every paid booking on Sportra goes through one of three payment flows. This page explains what each one does, what gets recorded, and what happens if something goes wrong.
Method 1 — SkipCash
The customer pays the full booking price through the SkipCash payment gateway (card, QR code, or digital wallet).
What happens step by step
- The customer taps Book and chooses SkipCash at checkout.
- Sportra immediately creates a booking record with status Pending and reserves the spot for up to 15 minutes.
- The customer is sent to the SkipCash payment page to complete their payment.
- Once the customer pays, SkipCash notifies Sportra automatically.
- Sportra updates the booking status to Success and notifies the coach or venue.
What is stored on the booking
| Field | What it holds |
|---|---|
amount_cents | Total price the customer paid |
booking_fee_cents | Platform commission deducted from the price |
base_rate_cents | Net amount the coach or venue earns |
wallet_amount_cents | 0 — nothing taken from the wallet |
skipcash_amount_cents | Equal to amount_cents — the full price went via SkipCash |
method | skipcash |
status | pending → success (or failed if payment does not complete) |
processed_at | Timestamp when payment was confirmed |
Important rules
- The spot is held for 15 minutes. If the customer does not pay within that window, the booking automatically expires and the spot is released.
- Returning to checkout within 15 minutes shows the same payment link — the customer is never charged twice for the same booking.
- If payment fails or expires, nothing is charged and the spot is freed for other customers.
Method 2 — Wallet
The customer pays the full booking price from their Sportra wallet balance. No card, no redirect — the booking is confirmed instantly.
What happens step by step
- The customer taps Book and chooses Wallet at checkout.
- Sportra checks that the wallet balance covers the full price.
- The wallet is debited immediately and the booking is confirmed in a single step — status goes straight to Success.
- The coach or venue is notified right away.
What is stored on the booking
| Field | What it holds |
|---|---|
amount_cents | Total price the customer paid |
booking_fee_cents | Platform commission deducted from the price |
base_rate_cents | Net amount the coach or venue earns |
wallet_amount_cents | Equal to amount_cents — the full price came from the wallet |
skipcash_amount_cents | 0 — nothing charged via SkipCash |
method | wallet |
status | success immediately |
processed_at | Timestamp of confirmation (same moment as booking) |
What is stored in the wallet ledger
A single entry is added to wallet_transactions:
| Field | Value |
|---|---|
type | payment |
amount_cents | Negative value (debit) equal to the full price |
reference_id | Links back to this booking |
Important rules
- If the wallet balance is lower than the price, the booking is rejected — the customer must top up or choose SkipCash.
- No payment gateway is involved — the transaction is instant and cannot be redirected or cancelled mid-flow.
- If anything goes wrong during the database write, the wallet debit is rolled back automatically — the customer's balance stays unchanged.
Method 3 — Hybrid
The customer uses their wallet to cover part of the price. The remaining amount is charged through SkipCash.
What happens step by step
- The customer taps Book, picks Hybrid, and sets how much they want to use from their wallet.
- Sportra adjusts the wallet amount if needed (cannot exceed the available balance or the total price).
- The wallet portion is debited immediately — before the customer visits the SkipCash page.
- Sportra sends only the remaining amount to SkipCash.
- The customer completes the SkipCash payment.
- Once SkipCash confirms, the booking status becomes Success and the coach or venue is notified.
If the SkipCash payment fails or the customer cancels: The wallet debit is automatically reversed — a refund entry is added to the wallet ledger and the customer's balance is restored.
What is stored on the booking
| Field | What it holds |
|---|---|
amount_cents | Total price (wallet portion + SkipCash portion) |
booking_fee_cents | Platform commission deducted from the total price |
base_rate_cents | Net amount the coach or venue earns |
wallet_amount_cents | The portion the customer paid from their wallet |
skipcash_amount_cents | The portion charged via SkipCash |
method | hybrid |
status | pending → success (or failed if SkipCash payment does not complete) |
processed_at | Timestamp when SkipCash payment was confirmed |
What is stored in the wallet ledger
| Scenario | Entry type | Amount |
|---|---|---|
| Booking created | payment | Negative — wallet portion debited upfront |
| SkipCash fails / cancelled | refund | Positive — wallet portion returned |
Important rules
- The wallet is charged the moment the booking is created — even before the customer finishes the SkipCash step.
- If the wallet covers the full price after adjustment, the booking completes instantly as a pure Wallet payment (no SkipCash redirect).
- The reversal is automatic and happens only once — even if Sportra receives duplicate failure notifications from SkipCash, the wallet is never refunded more than once.
How the Platform Fee Works (all methods)
Every confirmed booking is split between the provider and the platform at the moment of payment. The split is never changed after the fact.
| What | Column stored | Meaning |
|---|---|---|
| Price paid by customer | amount_cents | Full booking price (after any promo discount) |
| Platform commission | booking_fee_cents | Deducted from the customer price |
| Coach / Venue earns | base_rate_cents | What remains after the platform commission |
The platform commission percentage is set by Sportra admins and applies to all bookings equally. SkipCash gateway fees are an additional cost paid by the platform — they are deducted from the platform's own share and never reduce what the coach or venue earns.
Booking Status Reference
| Status | What it means |
|---|---|
pending | Booking exists, payment is not yet confirmed |
success | Payment confirmed — booking is active |
failed | Payment failed or the 15-minute window expired — spot released |
canceled | Cancelled by the customer, coach, venue, or an admin |
refunded | Payment was refunded after the booking was already confirmed |