I'm attempting to test an in app purchase for my app on my phone (not in a simulator, not sandbox testing). I'm getting an error that certificate check has failed.
Could this have anything to do with the SHA-1 warnings that Apple has recently mentioned?
I've tried regenerating my StoreKit file, cleaning the build, restarting XCode, resetting all of my devices purchases from the Debug > StoreKit menu, all with no luck.
Any help would be greatly appreciated.
2025-01-10 19:52:19.974564-0500 MyApp[74478:30675548] [Default] Failed to verify certificate chain due to client recoverable failure:
Error Domain=NSOSStatusErrorDomain Code=-67818 "“StoreKit Testing in Xcode” certificate is expired" UserInfo={NSLocalizedDescription=“StoreKit Testing in Xcode” certificate is expired, NSUnderlyingError=0x3027b9d40 {Error Domain=NSOSStatusErrorDomain Code=-67818 "Certificate 0 “StoreKit Testing in Xcode” has errors: Certificate is not temporally valid;" UserInfo={NSLocalizedDescription=Certificate 0 “StoreKit Testing in Xcode” has errors: Certificate is not temporally valid;}}}
2025-01-10 19:52:19.978233-0500 MyApp[74478:30675483] [Default] Failed to verify signature for Transaction, will assume invalid: failedToVerifyCertificateChain
Purchase succeeded but verification failed: Certificate Chain Invalid
Failed to purchase Premium: invalidCertificateChain
saveUnencrypted: Started saving form_info.json
saveUnencrypted: Saved form_info.json to Documents Directory in 9 ms (JSONEncoder chunk-based copy-on-write, 1 chunks) at ...
Post
Replies
Boosts
Views
Activity
I'm looking to understand what total amount of money (USD) per month is made from campaign links and promo codes.
Here is what I've tried and the problems I'm encountering.
In the analytics page I see I can filter/group sales and proceeds by campaign link. This would be sufficient, but it looks like the amounts are in dollars and neglect cents, even when exporting to CSV. I don't see any campaign link information in reports.
I've generated sales reports, such as subscriber information, and I can see subscriber sales/proceeds by promo code, but the proceeds amounts are in local currency, and I don't know what this translated to in USD for monthly revenue.
Any help would be much appreciated. Ideally what I'd like to find is USD in sales/proceeds for a specific campaign link and/or promo code per month.