Skip to content

Payment Processing

The Payment Processing screen provides a complete view of all payment records in the system, regardless of status.

Penzugyek (Finances) -> Fizetesi tetelek (Payment Items) at /Club/Payment.

Payment Types

The system distinguishes 8 payment types via PaymentType_Enum:

ID Type Description
1 Other (Egyeb) Miscellaneous charges
2 Credit (Kredit) Credit-based transactions
3 Enrollment (Beiratkozas) Enrollment fees
4 Rent (Berles) Sports field booking -- primary type
5 Trainer (Edzo) Trainer booking -- primary type
6 ConvenienceFee (Kenyelmidij) Surcharge on transactions
7 TrainingCredit (Edzes kredit) Training session credit
8 Expenditure (Kiadas) Outgoing expense

Payment Methods

5 methods stored in the database plus internal-only codes:

ID Method Notes
0 ClubWithoutPayment Internal -- no actual payment
1 Bank transfer (Atutalas)
2 Payment provider (Online fizetes) SimplePay or Stripe
3 Cash (Keszpenz)
4 Card (Kartya) In-person card terminal
5 Credit (Kredit) Deducted from user credit balance
6 SZEP Card (SZEP kartya) Internal code
100 PendingPayment Internal -- deferred payment
101 ReceiptCash Internal -- receipt-tracked cash

Payment Status Lifecycle

stateDiagram-v2
    [*] --> PrePaid: Amount = 0 or prepaid
    [*] --> Created: Normal booking

    Created --> Billed: Invoice generated
    Billed --> Paid: Payment received

    Created --> Storno: Cancellation
    Storno --> Deleted: Cleanup

    Created --> Unsuccessful: Transaction failed
ID Status Description
1 PrePaid (Elorefizetve) Paid upfront or zero-amount item
2 Created (Letrehozva) New, awaiting action
3 Billed (Szamlazva) Invoice sent, awaiting payment
4 Storno (Sztornozva) Cancelled
5 Paid (Fizetve) Completed
6 Unsuccessful (Sikertelen) Failed online transaction
7 Deleted (Torolt) Permanently removed

Amount Calculation

Payments use computed columns for final amounts:

GrossAmount = NetAmount + VATAmount
PayableAmount = GrossAmount - PaidByCredit

Rounding

BookingPriceRounding = 0 -- no rounding is applied to booking prices.

Configuration Parameters

Parameter Value Description
CustomerBookAndPayLater CLUBMEMBER Only club members (Klubtagok) can book without immediate payment
DateTimeDetailsPresentInPayment YES Date/time details shown on payment records
SportsFieldTypeDetailsPresentInPayment NO Sports field type not shown on payment records
ConvenienceFeePercent 0 Convenience fee percentage (disabled)
ConvenienceFeeAmount 0 Flat convenience fee (disabled)
CreditReturnedInsteadOfNegativePayment NO Negative payments are not converted to credit returns

Warning

When CustomerBookAndPayLater is set to CLUBMEMBER, non-member customers must complete payment at the time of booking. Changing this to ALL allows any registered user to defer payment.