facebook / facebook-sdk-for-unity

The facebook sdk for unity.
https://developers.facebook.com/docs/unity
Other
489 stars 257 forks source link

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

Open 11Sheep opened 1 year ago

11Sheep commented 1 year ago

Checklist

Environment

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

PoisonousJohn commented 1 year ago

Can confirm the same behaviour on Android

gusplayer commented 11 months ago

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

rubenwe commented 4 months ago

Same here, still an issue on SDK 17.0.0

kelvinthh commented 3 months ago

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

BLayman commented 1 day ago

Same here on 17.0.0, Android. Looking for workarounds.