💳 Core Concepts

Payment Flow

Understand how payments flow through the PayFlow system from creation to completion.

Payment Lifecycle
The complete journey of a payment from initiation to completion
1

Payment Creation

Payment link or checkout session is created

2

Customer Checkout

Customer enters payment details and submits

3

Payment Processing

Payment is processed by the selected provider

4

Confirmation

Payment result is confirmed and webhook sent

Payment Statuses
Understanding the different states a payment can be in

PENDING

Payment is being processed

COMPLETED

Payment was successful

FAILED

Payment was unsuccessful

CANCELLED

Payment was cancelled by user

Provider Selection
How PayFlow automatically selects the best payment provider for each transaction

PayFlow automatically selects the most appropriate payment provider based on:

  • • Provider availability and status
  • • Transaction amount and currency
  • • Customer's preferred payment method
  • • Provider performance and success rates
  • • Business configuration preferences