unreal.InAppPurchaseCallbackProxy

class unreal.InAppPurchaseCallbackProxy(outer=None, name='None')

Bases: unreal.Object

In App Purchase Callback Proxy

C++ Source:

  • Plugin: OnlineSubsystemUtils
  • Module: OnlineSubsystemUtils
  • File: InAppPurchaseCallbackProxy.h

Editor Properties: (see get_editor_property/set_editor_property)

  • on_failure (InAppPurchaseResult): [Read-Write] Called when there is an unsuccessful In-App Purchase transaction
  • on_success (InAppPurchaseResult): [Read-Write] Called when there is a successful In-App Purchase transaction
classmethod create_proxy_object_for_in_app_purchase(player_controller, product_request) → InAppPurchaseCallbackProxy

Kicks off a transaction for the provided product identifier

Parameters:
Returns:

Return type:

InAppPurchaseCallbackProxy

on_failure

(InAppPurchaseResult) – [Read-Write] Called when there is an unsuccessful In-App Purchase transaction

on_success

(InAppPurchaseResult) – [Read-Write] Called when there is a successful In-App Purchase transaction