paymentservice_event_get_digital_good_sku()
Retrieves the digital good SKU of a purchase.
Synopsis:
#include <bps/paymentservice.h>
BPS_API const char* paymentservice_event_get_digital_good_sku(bps_event_t *event, unsigned int index)
Arguments:
- event
- The event containing the array of existing purchases.
- index
- 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(event) function.
Library:
libbpsDescription:
The paymentservice_event_get_digital_good_sku() function retrieves the digital good SKU of a purchase.
Returns:
The digital good SKU of the purchase.