paymentservice_event_get_subscription_exists()

Retrieves the attribute that indicates whether a subscription exists from a CHECK_EXISTING_RESPONSE event.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API bool paymentservice_event_get_subscription_exists(bps_event_t *event)

Arguments:

event
The event containing the subscription information.

Library:

libbps

Description:

The paymentservice_event_get_subscription_exists() function retrieves the attribute that indicates whether a subscription exists from the specified CHECK_EXISTING_RESPONSE event. The response code of the CHECK_EXISTING_RESPONSE event must be SUCCESS_RESPONSE.

Returns:

true if the digital good subscription exists, false otherwise.