When using the AppStoreServerAPI to retrieve user purchase information or decode a Payload,
The following responses occur multiple times throughout the day. If there is no error, the process is completed successfully.
HTTP response code: 502 for URL
What is the cause of this error occurring repeatedly? Is there still a problem with Apple's server status?
The following APIs are used to acquire and decode user purchase information.
AppStoreServerAPIClient.getAllSubscriptionStatuses
SignedDataVerifier.verifyAndDecodeTransaction
SignedDataVerifier.verifyAndDecodeRenewalInfo
Post
Replies
Boosts
Views
Activity
When the user's purchase information was retrieved from Japan using the AppStoreServerAPI,
I was able to obtain it with the status ‘1: The auto-renewable subscription is active.’,
However, the expiry date in the Payload was the previous day. How can this be the case?
Example: when the purchase information was retrieved on 10/02/2025 at 21:00:00, the expiry date for status ‘1’ was ‘2025/02/09’.
Please let me ask you about the following status code obtained from the AppStoreServerAPI.
3: The auto-renewable subscription is in a Billing retry period.
4: The auto-renewable subscription is in a Billing Grace Period.
5: The auto-renewable subscription is revoked. the App Store refunded the transaction or revoked it from Family Sharing.
For these status codes 3 to 5, would this mean that the service has not been purchased? And will they change to a status of ‘2: The auto-renewable subscription is expired’ after a certain period of time without the payment issue being resolved?
The following document states that some APIs in Storekit1 have been deprecated and that migration to Storekit2 is recommended, but I understand that Storekit2 only supports Swift.
I'm currently creating an iPhone app in Objective-C, but is there a way to implement APIs equivalent to Storekit2 using a different Objective-C API?
https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-18-release-notes#StoreKit