onPay property

OnPayCallback onPay
final

Callback function executed when payment is completed.

This function is required and must be provided to handle payment completion events and results.

Parameters

The callback receives a listener function and optional transaction ID for processing the payment result.

Implementation

final OnPayCallback onPay;