The .storeButton(.visible, for: .cancellation) does not refer to a button to cancel a subscription -- it is a setting to show or hide the button to cancel the store view. This button is displayed in the upper right corner of the store view and is used to dismiss the view. Depending on your paywall logic you may or may not want to show this button -- hence the option to make it visible or hidden. I had the same misconception for days until I figured it out. Hope this helps.