How to use Subscriptions and normal In-app purchases

Our app includes subscriptions and consumable in-apps, receipt verified by sever.


When we !relesed! the app and users try to buy consumable in-apps they get this error: "Code 21004 - The shared secret you provided does not match the shared secret on file for your account."


After the dozen hours we finally understood that we MUST to check consumable in-apps by SHARED SECRET KEY too! Like subscriptions....



Why is this not mentioned anywhere? whats wrong?

Replies

Your app has an autorenewable subscription. When you ask for a receipt validation the system does not know whether the receipt has an autorenewable subscription in it or whether it does not. Therefore the system, realizing that your app has an autorenewable subscription, first checks for the shared seceret.


But feel free to report this as a bug.