How to test Redeem Code flow?

Hello,

I implement redeem code inApp with this code :

    let paymentQueue = SKPaymentQueue.default()

        if #available(iOS 14.0, *) {                     paymentQueue.presentCodeRedemptionSheet()

                }

        }

Before this I make every setup about subscription in my application. Now I just want to implement Redeem Code in-app.

And generate 1 redeem code for test in AppstoreConnect. I'm logged in with sandbox account in my application and enter that redeem code, I got : "The code you entered could not be found." at the top of RedeemCode screen.

I wait 24h and again same error.

Can someone to help me about testing of Redeem Codes and check my implementation?

Post not yet marked as solved Up vote post of Fatyovan Down vote post of Fatyovan
1.6k views
  • The same happens to me, and same if I use this apple link to redeem a code https://apps.apple.com/redeem?id=YourAppAppleID&code=OfferCode. But the same code works just fine if I redeem in App Store > Profile > Redeem a gift card or code.

    I believe this is a bug, that happens for specific developers/users, and that a ticket should be created.

Add a Comment