Hello,
To test the SubscriptionStoreView in preview you need to use local storekit files. You can find here how to configure:
https://developer.apple.com/documentation/xcode/setting-up-storekit-testing-in-xcode/
Topic:
App & System Services
SubTopic:
StoreKit
Tags: