question

admin-9 avatar image
admin-9 asked

Integrating other Cashshop systems

I am hosting my game on Kongregate and as such you have to go through their API in order to do a Cash Shop. I want to still be able to use PlayFab for the Analytics and I am using PlayFab for the CashShop for my Standalone version. Is there a way to send the events for making real money transactions so they register in PlayStream and Updates their Value to Date?

I created this method for sending the PlayStream event which that is working just fine but so far I haven't seen a way to update their VTD.

public void SendPaidMoneyEvent(Dictionary<string, object> data){
		WriteClientPlayerEventRequest request = new WriteClientPlayerEventRequest ();
		request.EventName = "player_realmoney_purchase";
		request.Body = data;


		PlayFabClientAPI.WritePlayerEvent (
			request, OnComplete, DefaultErrorLogging);
	}
PlayStream
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Correct, for Kongregate-hosted games, you need to use their "Kreds" system. We don't currently have a direct integration with that, but you can use a custom game server or Cloud Script to make calls into that system. However, since that's not going to generate our internal purchasing events (such as player_realmoney_purchase), the purchase isn't something that can be rolled into our tracking/reporting on revenue or player VTD. We do have a backlog item to add a Server API call that will allow you to "inject" a payment event with a specified value. I don't have a timeframe for when that'll bubble up to the top of our backlog, but I'll add your info to it, so that we have that information for tracking purposes.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.