Retrieve the response code from a Payment Service event.
BPS_API int paymentservice_event_get_response_code(bps_event_t *event)
The event to get the response code from.
Library:libbps (For the qcc command, use the -l bps option to link against this library)
The paymentservice_event_get_response_code() function gets the response code from the specified event that is received from the Payment Service.
SUCCESS_RESPONSE to indicate that the request made to the payment system was successful and FAILURE_RESPONSE to indicate that the request that was made to the payment system failed. Both SUCCESS_RESPONSE and FAILURE_RESPONSE indicate that a valid response code was extracted from the event, however, if BPS_FAILURE is returned, it indicates that there was an error determining the response code from the event.
Last modified: 2014-05-14