Hi!
We have implemented the redemption of offer codes using the function
SKPaymentQueue.default().presentCodeRedemptionSheet()
The redemption view appears correctly and the flow ends successfully, we receive the callback from apple on the server side, the problem is that we do not receive feedback on the app side and we cannot guarantee a good user experience. in particular it seems that the function
paymentQueue (_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction])
is not called, but we are not sure.
The standard app purchase flow works fine, but code redemption does not.
In general it is very difficult to test these discount codes because they are only testable with the app in production, without being able to take advantage of the debug prints or breakpoints. In addition, a particular offer can only be redeemed once per apple id
Is there any way to test offer codes in debug mode?
How could we do some tests on the code without having to send the app for verification every time?
Thank you!
Hello @btdev, did you find any ways to resolve your issue?