Parses WPG XML responses into string-keyed maps.
Summary
Functions
Extract the last event from a parsed WPG response map.
Extract the order code from a parsed WPG response map.
Parse a WPG XML response.
Extract the FraudSight message from a WPG response map.
Functions
Extract the last event from a parsed WPG response map.
Extract the order code from a parsed WPG response map.
@spec parse(String.t()) :: {:ok, %{required(String.t()) => term()}} | {:error, {:xml_parse_error, Exception.t()}}
Parse a WPG XML response.
Extract the FraudSight message from a WPG response map.