On iOS, the Billing System returns pretty useless error information when a purchase fails.
For example, when the user cancels a purchase, you get the following error:
Domain: null Error Code: 0 Description: [super long raw Apple error here]
Using this data, I cannot possibly present the player with something that can help them resolve the issue themselves. I would love the failed function to get an enumerator or other custom parameter for some of the common purchase fail reasons like this one. With thousands of players potentially running into errors here, I need to be able to give them support based on a screenshot or a text with a useful error code or sorts...
PurchaseFailureReason.UserCancelled PurchaseFailureReason.PaymentDeclined PurchaseFailureReason.ProductAlreadyOwned etc
I hope something like this is possible!
1 year ago