Gamebase SDK for Unity  2.3.0
Toast Gamebase Platform

◆ RequestRetryTransaction()

static void RequestRetryTransaction ( GamebaseCallback.GamebaseDelegate< GamebaseResponse.Purchase.PurchasableRetryTransactionResult >  callback)
static

In case a purchase is not normally completed after a successful purchase at a store due to failure of authentication of TOAST IAP server, try to reprocess by using API.

Based on the latest success of purchase, reprocessing is required by calling an API for item delivery(supply).

Since
Added 1.4.0.
Parameters
callbackCallback pass to API result.

Example Usage :

{
Gamebase.Purchase.RequestRetryTransaction((purchasableRetryTransactionResult, error) =>
{
if (Gamebase.IsSuccess(error))
{
Debug.Log("RequestRetryTransaction succeeded");
}
else
{
Debug.Log(string.Format("RequestRetryTransaction failed. error is {0}", error));
}
});
}