I’m using the RevenueCat Paywall UI component in React-Native, however there seems to be no way for a customer to input a discount code to get a percentage decrease on the product.
We have setup a discount code in Apple Subscription and it’s linked to a product we are showing the customers in the paywall but there seems to be no way of the customer redeeming a code like you can see in the Apple Documentation below
https://developer.apple.com/design/human-interface-guidelines/in-app-purchase#Supporting-offer-codes
The only way I could get this to work is to engage the presentCodeRedemptionSheet function.
<RevenueCatUI.Paywall
onDismiss={() => router.replace("/(app)/(tabs)/")}
/>
<TouchableOpacity style={{marginBottom: 24}} onPress={() => Purchases.presentCodeRedemptionSheet()}>Redeem Offer</TouchableOpacity>