Uploading a certificate does not affect real users. Production receipts signed by Apple keep validating through Apple; the certificate is only used to validate receipts produced by your StoreKit Configuration file.
1. Create a StoreKit Configuration file
Add the file
In Xcode, go to File → New → File from Template, search for StoreKit, and choose StoreKit Configuration File. Save it.
Add your products
Inside the
.storekit file, add the in-app products you want to test — consumables, non-consumables, and auto-renewable subscriptions.2. Export the public certificate
Qonversion needs the public certificate from your StoreKit Configuration file to validate transactions.3. Upload the certificate to Qonversion
Once uploaded, the StoreKit test certificate chip turns green. To stop accepting StoreKit Configuration receipts, click Remove on that chip.
Only
.cer and .pem public certificates are accepted — never upload a private key or an Apple production certificate.4. Run test purchases
Run your app in the Simulator or on a device using the scheme with your StoreKit Configuration file, and buy products as usual. Qonversion validates each transaction with your uploaded certificate, so local test purchases grant entitlements and appear in analytics just like real ones.5. Manage and clear test data
Purchases made through your StoreKit Configuration certificate are tagged sandbox and show up in your test-mode analytics next to Apple Sandbox purchases. They are not removed when you reset StoreKit in Xcode. To clear StoreKit test data from Qonversion:- The whole project — on the Customers page, open the ⚙ chart settings and choose Reset StoreKit test data.
- A single customer — open the customer and use Reset StoreKit test data next to the sandbox icon.