littlefish_payments_split
Split payments gateway package for the littlefish payments ecosystem. Enables splitting a single order across multiple payment legs, with support for reconciliation and partial refunds.
Features
- Split a payment across multiple legs (e.g. cash + card)
- Reconciliation flow with per-leg status tracking
- Split refund support
- BLoC-based state management
Usage
Add the dependency to your pubspec.yaml:
dependencies:
littlefish_payments_split: ^1.0.0
Use LittlefishSplitPaymentGateway to initiate a split payment session, and ReconciliationScreen / SplitRefundScreen for the built-in UI flows.
Libraries
- gateways/littlefish_split_payment_gateway
- littlefish_payments_split
- Split payments gateway package for the littlefish payments ecosystem.
- models/leg_display_policy
- models/payment_leg
- models/payment_leg_summary
- models/split_close_result
- models/split_equally_state
- models/split_payment_state_response
- models/split_refund_result
- models/split_session
- presentation/bloc/reconciliation/reconciliation_bloc
- presentation/bloc/reconciliation/reconciliation_event
- presentation/bloc/reconciliation/reconciliation_state
- presentation/bloc/split_refund/split_refund_bloc
- presentation/bloc/split_refund/split_refund_event
- presentation/bloc/split_refund/split_refund_state
- presentation/bloc/summary_card/summary_card_cubit
- presentation/bloc/summary_card/summary_card_state
- screens/reconciliation_screen
- screens/split_refund_screen
- services/split_payment_api_client
- services/split_payment_service
- utils/split_config_provider
- widgets/leg_detail_sheet
- widgets/split_payment_summary_card
- widgets/split_refund_complete_view
- widgets/split_refund_leg_tile