paymentservice_event_get_response_code()

Retrieves the response code from a Payment Service event.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API int paymentservice_event_get_response_code(bps_event_t *event)

Arguments:

event
The event to get the response code from.

Library:

libbps

Description:

The paymentservice_event_get_response_code() function gets the response code from the specified event that is received from the Payment Service.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with the errno value set otherwise.