Open wonderdragons opened 3 years ago
Here is the error that we are getting in Live feed
{game_id:106369, data:{v:2, type:rejected, sdk_version:air 3.3.8, error_category:event_validation, error_area:events_http, error_action:none, category:sdk_error}, country_code:BD, arrival_ts:10:28}
I do see one business event for the game via our admin tool:
{game_id:106369, data:{v:2, user_id:EF38B0AF-B392-4FFC-8E4B-BAB8DD127D89, transaction_num:1, session_num:24, session_id:4a2cedbe-cc6e-4c82-b8da-38b72a2a1113, sdk_version:air 3.3.8, receipt_info:{store:apple, receipt_id:ad7719ec-4c45-4ca6-9aeb-23773dac4f00, receipt:[HIDDEN]}, platform:ios, os_version:ios 14.3, manufacturer:apple, limited_ad_tracking:true, ios_idfv:, ios_idfa:, ios_bundle_id:air.com.popgamesstudios.wonderdragons, ios_att:not_determined, ios_app_version:2.0.40, ios_app_build:2.0.40, event_id:diamond:com.popgamesstudios.wonderdragons.coin_10000, device:iPhone10, 1, currency:EUR, connection_type:wifi, client_ts:1615186157, category:business, cart_type:shop, build:, amount:99}, country_code:BD, arrival_ts:06:49}
So maybe it is working or how did that business event from through?
I have question regarding the purchase business event ? will we be able to verify in the app if its a real purchase or fake purchase using GameAnalytics?
@Shaunmax if you have added the receipt for the in-app purchase then our backend should be able to validate if the purchase is valid or not (fake). For iOS you can use the addBusinessEventWithAutoFetchReceipt
method to auto fetch the receipt for you.
then our backend should be able to validate if the purchase is valid or not (fake)
Sorry, my question was if there would be a response for calling the event GameAnalytics.addBusinessEvent
i.e after the validation will GameAnalytics inform back the app the validation status ?
No sorry there is no way to immediately get a validation response after sending a business event
Thanks for informing that! I was looking for a service that could do the same!
When a purchase is completed, I added a addProgressionEvent to check that if it works...It works well and sends data about item like item id, price etc to the server.
But when I replace progressionEvent with business event...It registers an error event and dont log the purchase there. I tried with receipt and without receipt.
tried both the following GameAnalytics.addBusinessEventWithAutoFetchReceipt(currency,parseInt(itemPrice),itemType,itemId,cartType); GameAnalytics.addBusinessEvent(currency,parseInt(itemPrice),itemType,itemId,cartType,receipt);
second one is working good for android. But none is working in ios.
Is there anything I am missing?