paymentservice_event_get_cancelled()
Retrieves the result of a request to cancel a subscription.
Synopsis:
#include <bps/paymentservice.h>
BPS_API bool paymentservice_event_get_cancelled(bps_event_t *event)
Arguments:
- event
- The event containing the purchase cancellation response.
Library:
libbpsDescription:
The paymentservice_event_get_cancelled() function retrieves the result of a request to cancel a subscription to a digital good from the specified CANCEL_SUBSCRIPTION_RESPONSE event. The response code of the CANCEL_SUBSCRIPTION_RESPONSE event must be SUCCESS_RESPONSE.
Returns:
true if the purchase was cancelled, false otherwise.