Hi! :)
---
I recently encountered two problems with the RedeemCoupon API.
1.) There seems to be a timeout, if the bundle associated with the CouponCode contains too many items
For example, the following Error was returned, when I tried to Redeem a coupon for a Bundle with 24 items, that had a Quantity of 10 each. If I reduce the Quantity from 24 x 10 to 24 x 5 it works.
{ "Level": "Error", "Message": "PlayFab API request failure", "Data": { "api": "/Server/RedeemCoupon", "request": { "PlayFabId": "3AD264F1DD7F6299", "CouponCode": "nei-z5gm-gde" }, "error": "Timeout" } }
2.) The RedeemCouponResult only has informations on the items that were granted, but is missing information on the granted currency amounts.
This makes it very difficult to display to the user, what they have received (currency-wise). The only way I see right now would be to manually query the currency right before and right after the RedeemCoupon call, and even then there's a chance this might incorporate currency-differences from other sources than the coupon.
Most likely a "GrantedCurrencies" field should be added to the RedeemCouponResult, analogously to the GrantedItems field which is already there.
---
Thanks!