Does anyone perhaps know how to retrieve the error codes from revenuecat when a purchase fails? In other words how to do error handeling?
I can't find it in FF and apple rejected my app because of this. If a purchase is not going through, I just pop a Snackbar with a message that it failed, but no specific reason purely because I don't have it. Could be that the user don't have money, could be that his payment method on apple has expired, I don't know. So apple rejected my app, saying that is a bug in my code because the tester didn't go through with the purchase but canceled it. Google is fine it though.
So I'm trying to get the reason code so I can return something like 'Seems like you canceled the purchase' or 'looks like your payment method failed' or anything!
Anyone had this problem with apple and in app purchases? Anyone any idea how to fix it? Been live on google for months and still struggeling with apple.