/n software 3-D Secure V2 Python Edition

Questions / Feedback?

on_data_packet_out Event

Fired when sending a data packet to the server.


class MPIDataPacketOutEventParams(object):
  def data_packet() -> bytes: ...

# In class MPI:
def on_data_packet_out() -> Callable[[MPIDataPacketOutEventParams], None]: ...
def on_data_packet_out(event_hook: Callable[[MPIDataPacketOutEventParams], None]) -> None: ...


This event fires right before each data packet is sent. The entire data packet (including all framing and error detection characters) is contained in the parameter "DataPacket". This parameter may be inspected for advanced troubleshooting, or may be modified to support additional features beyond the scope of this class.

Copyright (c) 2021 /n software inc. - All rights reserved.
/n software 3-D Secure V2 Python Edition - Version 2.0 [Build 7722]