Skip to main content
Version: SDK-5.9.6

Receipt Verification / TBC 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(string json, out string productId, out string purchaseToken) ;


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


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.


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

BackEnd.Game.Payment.GoogleReceiptData.FromJson("Google receipt token", out id, out token);