If you are seeing a paywall when you think you shouldn't or vice versa, we recommend running through the following list to debug:
Check the return value of the delegate method
isUserSubscribed(). It's important that the variable here is kept in sync with the subscription status of the user. If it isn't the paywall won't display when it is supposed to. See here for more information about conforming to the delegate.
Check your device. If you have already purchased a subscription on your device, your paywall wouldn't show again. If you're using a local StoreKit file in your app for testing purposes, deleting and reinstalling your app will reset your device's subscription status.
Check your campaign. Are you sending the necessary properties along with your trigger to match the rule? Is your trigger event name spelt correctly? If you have a holdout group in your campaign double check that this isn't the reason your paywall isn't displaying.
Updated 20 days ago