Function FlashListenerAPI.onPaymentSuccess

Called when the payment for the given invoice has been successful.

abstract void onPaymentSuccess (
  PublicKey pk,
  Invoice invoice
) @safe;

Parameters

NameDescription
invoice the invoice that was paid