コード例 #1
0
    public void OnPaymentSuccess(string transactionResult)
    {
        // Parse Transaction result into class AppotaPaymentResult.cs
        AppotaPaymentResult paymentResult = new AppotaPaymentResult(transactionResult);

        Debug.Log("AppotaSDK Currency: " + paymentResult.Currency);

        // Parse amount, packageID, in AppPaymentResult
        Debug.Log("AppotaSDK: Did payment");
        Debug.Log("Appota: " + transactionResult);
    }
コード例 #2
0
    public void OnPaymentSuccess(string transactionResult)
    {
        // Parse Transaction result into class AppotaPaymentResult.cs
        AppotaPaymentResult paymentResult = new AppotaPaymentResult(transactionResult);
        Debug.Log ("AppotaSDK Currency: " + paymentResult.Currency);

        // Parse amount, packageID, in AppPaymentResult
        Debug.Log ("AppotaSDK: Did payment");
        Debug.Log("Appota: " + transactionResult);
    }