5 Commits

Author SHA1 Message Date
Vari
e97d70ecb4 Added some special logging to research the purchase error that sometime happens. 2024-09-01 15:06:06 +02:00
Vari
19a604e188 Added more logging to purchase set item to analyse error.
Also changed ->attach to ->syncWithoutDetach to better handle items already in inventory errors (it technically shouldn't happen, but just to be sure)
2024-02-29 10:40:28 +01:00
Vari
a428c9b7eb Fixed SetItem not added to inventory when buying a set.
Fixed error in InitOrGetGroupsResponse.php with wrong array access(i think).
2024-02-29 10:27:27 +01:00
Vari
6ce8d3f6fd Added purchase/set endpoint 2024-02-28 22:16:53 +01:00
Vari
1d133cfefe Added purchase/item endpoint.
The endpoints checks if you can afford the item and have completed the required challenges when any exist.

It also throws an error if you try to buy an item you already have in your inventory.
2024-02-28 17:37:28 +01:00