Reference 》 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 token) code with a value of 0 means the setup succeeded. A code other than 0 means the setup failed.
public static void CommitInAppBilling(ArcaletGame game, string iguid, int type, string receipt, string signature,int keyId,OnCallCompletion cb, object token)
game Game Login
iguid The purchased object of jguid
type 0: Purchasing testing (Sandbox)
1: Actual Purchasing
receipt The data of transaction sent back from Google Play store
signature The data of electronic signature receipt (CodeBase64)
After it is verified, the callback function will be called. cb is defined as follows:
void cb(int code, 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
Introduction
Summary
arcalet ?
Reference
ArcaletShop
Method