Retrieve the number of days in the initial period of a subscription.
BPS_API const char* paymentservice_event_get_purchase_initial_period(bps_event_t *event, unsigned int index)
The event containing the array of existing purchases.
The index into the array of existing purchases. You can specify an index value that ranges from zero to the number of purchases minus one. You can retrieve the number of purchases using the paymentservice_event_get_number_purchases() function.
Library:libbps (For the qcc command, use the -l bps option to link against this library)
The paymentservice_event_get_purchase_initial_period() function retrieves the number of days in the initial period of a subscription. After the initial period, the user is billed the renewal price.
The initial purchase period of the purchased digital good subscription or a NULL value if the digital good is not a subscription.
Last modified: 2014-09-30