So I am trying to set up the purchase of item though Playfab Cloudscript . I am not very good with Javascript, so it is hard to debug. The code is a copy/paste from the xsolla documentation.
So this return a "result" which is a successful call back function. But the callback contains errors.
Note that my items are properly setup in Xsolla and Playfab.
To prove all is setup properly ,I used an other approach that is successful which is:
But that opens the Xsolla Paystation with all the items for sale. If that is possible, I would like to, once the player purchase an item in the game, the next step is open the payment page directly....