We have been unable to get the Xsolla Store SDK to play nice with Playfab for in-game purchases. Although the purchase is started and completed in the Xsolla web popup, the Playfab purchase is stuck on CreateCart. The purchase steps taken are:
PlayFabClientAPI.StartPurchase
to get the order IDCreatePaystationToken
to get the Xsolla Store tokenXsollaStore.Instance.ItemPurchase
, and XsollaStore.Instance.OpenPurchaseUI
XsollaStore.Instance.ProcessOrder
on the order ID
Is there something we have missed in setting up our purchasing? I have added the XsollaConfirm webhook for playfab but it seems like Playfab does not get any response from Xsolla about the transaction.
It looks like the webhook that I scrounged from other PlayFab forum posts (https://{{TitleID}}.playfabapi.com/ThirdPartyPayments/XsollaConfirm) isn't responding.
Answer by SethDu · Jan 28, 2021 at 06:56 AM
Xsolla has a different payment procedure from other non-receipt payments. Have you checked and followed the instructions from the official documentation? -- Accepting Payments with Xsolla
Yes, I have followed that documentation completely. Xsolla support has let us know that there is an issue with the syncronisation of Xsolla inventory and PlayFab inventory.
Is it caused by item ID mismatch? Please let us know if you need any help.
No, our ids were correct across playfab and xsolla, it appears to be some issue with the callback from the xsolla purchasing system to playfab through the webhook. The webhook does get called, but there is no synchronisation of the purchased items on the playfab account.
We have decided to go down a slightly different route but I would say there is some issue either with the Xsolla add on in Playfab, or the webhook response. Testing the webhook from the xsolla backend failed every time.
Issue with ValidateGooglePlayPurchase 1 Answer
iOS Reciept Validation Failed - Request Timeout 16 Answers
Paypal overlay for Unity games 1 Answer