paymentservice_event_get_error_text()

Retrieve the error text from an event.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API const char* paymentservice_event_get_error_text(bps_event_t *event)

Arguments:

event

The event to retrieve the error text from.

Library:

libbps

Description:

The paymentservice_event_get_error_text() function gets the error text from the specified event. The response code of the event must be FAILURE_RESPONSE.

Returns:

The error text.