paymentservice_event_get_cancelled()

Retrieve 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)

Since:

BlackBerry 10.0.0

Arguments:

event

The event containing the purchase cancellation response.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

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.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus