open application button on offer code redemption sheet is not working

Hi Everyone, I've been working on implementing the code redemption sheet in our iOS application. I've successfully redeemed the code using the code redemption sheet. However, after redeeming the code, the redemption sheet displays an "Open Application" button. When I attempt to click on this button, it remains unresponsive, and nothing happens. Everything works correctly once I dismiss the redemption sheet using the cancel button.

The main issue here I am facing is that the "Open Application" button on the redemption sheet is not functioning as expected.

we are presenting the code redemption sheet using the below code.

SKPaymentQueue.default().presentCodeRedemptionSheet()

Listening to the updated transactions using the below function.

func paymentQueue(_: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction])

I have tested it with iOS 16 and 17 devices, and the issue persists on both devices. If anyone knows of a solution for this issue, please share it. Your assistance would be greatly appreciated.