paymentservice_event_get_cancelled_purchase_id()

Retrieve the purchase ID of a request to cancel a subscription.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API const char* paymentservice_event_get_cancelled_purchase_id(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_purchase_id() function retrieves the purchase ID 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:

The purchase ID that was sent in the cancellation request.

Last modified: 2014-05-14



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

comments powered by Disqus