Skip to main content
Version: 6.0.0

Receipt Verification / GameCash Recharge

For receipt verification, you must perform an in-app purchase and receive a receipt token first.
Refer to the following links for a guide on in-app purchases:


FromJson

FromJson(string json, out string productId, out string purchaseToken) ;

Parameters

ValueTypeDescription
jsonstringReceipt token issued after purchase
productIdstring(out) Product ID
purchaseTokenstring(out) Actual receipt token

Description

To verify a Google receipt in BACKND Function, you must parse the productId and purchaseToken values of the receipt using this method and transmit them to BACKND Function.

Example

string pid = string.Empty;
string token = string.Empty;

BACKND..Backnd.Receipt.FromJson("ㅎoogle_receipt_token", out id, out token);