paymentservice_event_get_renewal_period()

Retrieves the renewal period attribute from a GET_PRICE_RESPONSE event.

Synopsis:

#include <bps/paymentservice.h>
 
BPS_API const char* paymentservice_event_get_renewal_period(bps_event_t *event)

Arguments:

event
The event containing the price information.

Library:

libbps

Description:

The paymentservice_event_get_renewal_period() function retrieves the renewal period attribute from the specified GET_PRICE_RESPONSE event. The response code of the GET_PRICE_RESPONSE event SUCCESS_RESPONSE.

Returns:

The renewal period of the digital good subscription.