facebook-sdk-for-unity icon indicating copy to clipboard operation
facebook-sdk-for-unity copied to clipboard

"_valueToSum" parameter in the event manager is empty when upgraded to SDK v16.0.1

Open 11Sheep opened this issue 2 years ago • 9 comments

Checklist

  • [ ] Update to SDK v16.0.1
  • [ ] Make a in-app purchase
  • [ ] Go to "test events" section in "event manager" in facebook consule
  • [ ] The "_valueToSum" parameter is empty

Environment

  • Unity Editor Version: 2021.3.20f1
  • Unity SDK Version: 16.0.1
  • Installation Platform & Verison: iOS all versions

Goals

I want to get see how much the user spent in the IAP

Expected Results

I want to get see how much the user spent in the IAP

Actual Results

can not see how much the user spent in the IAP

Steps to Reproduce

What are the steps necessary to reproduce this issue?

Code Samples & Details


        public void PurchaseReport(string packageId, float priceAmount, string priceCurrency)
        {
            if (FB.IsInitialized)
            {
                var iapParameters = new Dictionary<string, object>();
                iapParameters["packageId"] = packageId;

                FB.LogPurchase(
                    priceAmount,
                    priceCurrency,
                    iapParameters
                );
            }
        }

image

11Sheep avatar Aug 10 '23 07:08 11Sheep

Can confirm the same behaviour on Android

PoisonousJohn avatar Sep 25 '23 07:09 PoisonousJohn

I have the same issue, valueToSum always is empty, some way to solve it? I am coding on IOs (Swift) / Android (java)

gusplayer avatar Oct 19 '23 20:10 gusplayer

Same here, still an issue on SDK 17.0.0

rubenwe avatar May 23 '24 14:05 rubenwe

Same issue on SDK 17.0.0. The Conversion API is difficult to use. I hope this get fixed soon.

kelvinthh avatar Jun 11 '24 13:06 kelvinthh