Function FlashListenerAPI.onPaymentFailure

Called when the payment for the given invoice has failed. The payment can be retried again with the payInvoice() Flash API.

abstract void onPaymentFailure (
  PublicKey pk,
  Invoice invoice,
  ErrorCode error
) @safe;

Parameters

NameDescription
invoice the invoice that was paid