My app was rejected 3-4 times because of some error that doesn't load IAP's for apple engineers.
It loads perfectly for my Test Flight users and works for me as well, it doesn't load on simulators though and I get this error:
Error Domain=SKErrorDomain Code=0 "UNKNOWN_ERROR" UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x60000013ea00 {Error Domain=ASDErrorDomain Code=507 "Error decoding object" UserInfo={NSLocalizedDescription=Error decoding object, NSLocalizedFailureReason=Attempted to decode store response}}}
I can't load IAP's in the simulator at all without a storekit config file, and even with that attatched, apple rejected my app
This was their response :
Guideline 2.1 - Performance - App Completeness
We found that your in-app purchase products exhibited one or more bugs when reviewed on iPhone running iOS 14.5 on Wi-Fi.
We cannot select an In-App Purchase product to purchase.
No action took place after we tapped on any In-App Purchase product.
Next Steps
When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead.
They ask me to change validation servers, but I am not validating the receipts in my app at all!
When I asked about it, they didn't reply to my message
I'm very confused right now because I have other apps with IAP's already live and they were approved pretty easily, I tried using the same exact code as one of those apps and even it was producing an error in the simulator, but working fine in the app store build on an actual device.
Every time Apple rejects my app, the IAP's move from waiting for submission to Developer action needed, and I fix that before uploading a new build so the problem is not that.
It's weird that it won't load IAP's for apple engineers but it will load for my test flight users.
Any help is greatly appreciated!
3
0
2.8k