Server to Server Notifications forwarding
This page describes how to use S2S forwarding from Purchasely console
The Apple Server to Server Notifications are used to receive real-time notifications about the lifecycle of your client's purchases.
They consist in messages, sent by the App Store, every time an event occurs on a subscription. For instance, a message is sent when a subscription :
- is purchased
- is renewed
- won't renew because the user as canceled the auto-renewal
- is refund
- gets expired
- encounters a billing issue
…
In the Apple App Store Connect, you can only add only one Production Server and Sandbox Server URL to receive Server to Server notification. Hence its recommended to add Purchasely URL here.

If you would like to receive these notification to your servers, you can add the URL to the S2S Forwardings in Purchasely Integrations.

In the following page, you have to turn on the Integration enabled toggle button, add your production and sandbox server URL in the respective text boxes.

Redirects must use proper HTTP Temporary (307) / Permanent Redirect (308)
If the response is a redirection to another URL, it must be of type
- Temporary Redirect (HTTP 307)
- Permanent Redirect (HTTP 308)
Redirections of type Found (HTTP 302) Moved Permanently (HTTP 301) will be rejected as they don't preserve the original request method and body
Updated 1 day ago