“Cannot connect to iTunes Store” in-app purchases

前端 未结 17 2387
鱼传尺愫
鱼传尺愫 2020-12-01 06:13

I am having problems testing my in-app purchases. I get back valid product identifiers, but upon purchase I receive the dreaded \"Cannot connect to iTunes Store\". Interesti

17条回答
  •  长情又很酷
    2020-12-01 06:28

    In addition to all the other methods outlined here, if you are working with subscriptions it seems you need to make sure you've generated a shared secret:

    "To test or offer auto-renewable subscriptions, you must have a master shared secret or use an app-specific shared secret for each app."

    A master shared secret is generated from the 'Shared Secret' tab of the 'Users and Access' section of App Store Connect.

    An app-specific shared secret is generated where you manage the in-app purchases of the app itself.

提交回复
热议问题