API usage instruction › ArcaletShop › Method
Method
public static void CommitInAppPurchase(ArcaletGame game, string iguid, int type,string receipt, OnCallCompletion cb, object token)
game Game Login iguid Purchased item identifier type 0: testing purchase (Sandbox) 1: actual purchase receipt The transaction (receipt-data) sent back from App-Store. After it is validated, it will register with the callback function. The cb method is defined as: void cb(int code, object obj, object token) code with a value of 0 means the setup succeeded. A code other than 0 means the setup failed.
Was this page helpful?
Yes
No