Functions in paymentservice.h
Functions that are available for using payment services.
paymentservice_cancel_subscription()
Cancel a subscription to a digital good.
paymentservice_check_existing()
Determine whether a subscription digital good is currently active.
paymentservice_event_get_cancelled()
Retrieve the result of a request to cancel a subscription.
paymentservice_event_get_cancelled_purchase_id()
Retrieve the purchase ID of a request to cancel a subscription.
paymentservice_event_get_date()
Retrieve the date of a purchase.
paymentservice_event_get_digital_good_id()
Retrieve the digital good ID of a purchase.
paymentservice_event_get_digital_good_sku()
Retrieve the digital good SKU of a purchase.
paymentservice_event_get_end_date()
Retrieve the end date of a digital good subscription.
paymentservice_event_get_error_id()
Retrieve the error ID from an event.
paymentservice_event_get_error_info()
Retrieve additional information about the error.
paymentservice_event_get_error_text()
Retrieve the error text from an event.
paymentservice_event_get_extra_parameter_count()
Retrieve the number of extra parameters that are present in a
PURCHASE_RESPONSE
event.
paymentservice_event_get_extra_parameter_key_at_index()
Retrieve the extra parameter key from a
PURCHASE_RESPONSE
at the specified index.
paymentservice_event_get_extra_parameter_value_at_index()
Retrieve the extra parameter value from a
PURCHASE_RESPONSE
at the specified index.
paymentservice_event_get_initial_period()
Retrieve the initial period attribute from a
GET_PRICE_RESPONSE
event.
paymentservice_event_get_item_state()
Retrieve the state of the digital good.
paymentservice_event_get_license_key()
Retrieve the digital good license key of a purchase.
paymentservice_event_get_metadata()
Retrieve the digital good metadata of a purchase.
paymentservice_event_get_number_purchases()
Retrieve attributes from a
PURCHASE_RESPONSE
or
GET_EXISTING_PURCHASES_RESPONSE
event in which the response code indicates that the request was successful.
paymentservice_event_get_price()
Retrieve the price attribute from a
GET_PRICE_RESPONSE
event.
paymentservice_event_get_purchase_id()
Retrieve the unique ID of a purchase.
paymentservice_event_get_purchase_initial_period()
Retrieve the number of days in the initial period of a subscription.
paymentservice_event_get_renewal_period()
Retrieve the renewal period attribute from a
GET_PRICE_RESPONSE
event.
paymentservice_event_get_renewal_price()
Retrieve the renewal price attribute from a
GET_PRICE_RESPONSE
event.
paymentservice_event_get_request_id()
Retrieve the request ID from a Payment Service event.
paymentservice_event_get_response_code()
Retrieve the response code from a Payment Service event.
paymentservice_event_get_start_date()
Retrieve the start date of a digital good subscription.
paymentservice_event_get_subscription_exists()
Retrieve the attribute that indicates whether a subscription exists from a
CHECK_EXISTING_RESPONSE
event.
paymentservice_event_get_transaction_id()
Deprecated: Retrieve the ID for a transaction.
paymentservice_get_domain()
Retrieve the unique domain ID for the Payment Service.
paymentservice_get_existing_purchases_request()
Retrieve the previous successful purchases.
paymentservice_get_price()
Retrieve the price of a digital good.
paymentservice_purchase_arguments_create()
Retrieve a purchase arguments structure to populate.
paymentservice_purchase_arguments_destroy()
Free the memory that is used by a purchase arguments structure.
paymentservice_purchase_arguments_get_app_icon()
Get the application icon URL from the purchase arguments.
paymentservice_purchase_arguments_get_app_name()
Get the application name from the purchase arguments.
paymentservice_purchase_arguments_get_digital_good_id()
Get the digital good ID from the purchase arguments.
paymentservice_purchase_arguments_get_digital_good_name()
Get the digital good name from the purchase arguments.
paymentservice_purchase_arguments_get_digital_good_sku()
Get the digital good SKU from the purchase arguments.
paymentservice_purchase_arguments_get_extra_parameter_by_key()
Get the value of an extra parameter from the purchase arguments.
paymentservice_purchase_arguments_get_group_id()
Get the window group ID from the purchase arguments.
paymentservice_purchase_arguments_get_metadata()
Get the metadata from the purchase arguments.
paymentservice_purchase_arguments_get_request_id()
Get the request ID from the purchase.
paymentservice_purchase_arguments_get_vendor_content_id()
Get the vendor content ID from the purchase arguments.
paymentservice_purchase_arguments_get_vendor_customer_id()
Get the vendor customer ID from the purchase arguments.
paymentservice_purchase_arguments_set_app_icon()
Set the (optional) application icon to display.
paymentservice_purchase_arguments_set_app_name()
Set the (optional) name of the application through which the digital good is being purchased.
paymentservice_purchase_arguments_set_digital_good_id()
Set the ID of the digital good to purchase.
paymentservice_purchase_arguments_set_digital_good_name()
Set the (optional) name of the digital good to purchase.
paymentservice_purchase_arguments_set_digital_good_sku()
Set the SKU of the digital good to purchase.
paymentservice_purchase_arguments_set_extra_parameter()
Add an extra input parameter, as a key/value pair, to the purchase request.
paymentservice_purchase_arguments_set_group_id()
Set the window group ID of the application.
paymentservice_purchase_arguments_set_metadata()
Attach (optional) metadata to the purchase request.
paymentservice_purchase_arguments_set_vendor_content_id()
Set the vendor content id to be associated with the purchase.
paymentservice_purchase_arguments_set_vendor_customer_id()
Set the vendor customer id to be associated with the purchase.
paymentservice_purchase_request()
Initiate the purchase of a digital good.
paymentservice_purchase_request_with_arguments()
Initiate the purchase of a digital good.
paymentservice_request_events()
Make a request to begin receiving events.
paymentservice_set_connection_mode()
Set the connection mode.
paymentservice_stop_events()
Stop receiving Payment Service events.
Parent topic:
Payment services (paymentservice.h)
Related concepts
Constants in paymentservice.h
Data types in paymentservice.h