App Store Server Notifications
Detailed information about App Store Server Notifications for Pearl purchases. Transparent transaction processing and secure payment handling.
Detailed information about App Store Server Notifications for Pearl purchases. Transparent transaction processing and secure payment handling.
App Store Server Notifications provide real-time updates about subscription status changes, purchase events, and other transaction-related activities. Pearl implements these notifications to ensure reliable transaction processing and subscription management.
App Store Server Notifications are webhook notifications sent by Apple to inform your server about subscription status changes and other events related to in-app purchases. Pearl implements these notifications to ensure reliable transaction processing and subscription management.
These notifications help Pearl maintain accurate subscription status and provide a seamless user experience by automatically handling subscription renewals, cancellations, and other billing events.
Sent when a user makes their first purchase of a subscription or non-consumable product.
Sent when a subscription automatically renews for another billing period.
Sent when a subscription is cancelled by the user or Apple.
Sent when there's a billing issue with a subscription renewal.
Sent when a purchase is refunded by Apple or the user.
Sent when a subscription enters or exits a grace period.
Pearl implements a secure webhook endpoint to receive App Store Server Notifications:
POST /api/appstore/notifications Headers: "Content-Type": "application/json" "X-Apple-Signature": "[signature]" Body: { "signedPayload": "[base64-encoded payload]" }
All notifications are verified using Apple's cryptographic signatures to ensure authenticity and prevent fraud:
When Pearl receives an App Store Server Notification, the following process occurs:
Pearl implements comprehensive error handling for App Store Server Notifications:
Pearl's App Store Server Notification implementation is thoroughly tested using:
Pearl's App Store Server Notification implementation complies with: