According to the official docs for version 1_3: https://developer.apple.com/help/app-store-connect/reference/subscriber-report
I was expecting data being filled in as I also can see it via S2S notifications or in the Subscription Event report for the following fields:
Subscription Offer Name
Promotional Offer ID
The field "Subscription Offer Name" is only rarely filled and I have never seen field "Promotional Offer ID" being filled at all, although data shows up in the Subscription Event report.
This causes a serious issue in that we see lower prices for a subscription without any reason.
How do you work around this issue?
Post
Replies
Boosts
Views
Activity
I have configured my app and my servers correctly as documented to receive S2S notifications for Sign-In With Apple and yet, I am not receiving any notification at all.
Of course I have verified that the endpoints are reachable.
I have noticed a similar issue with S2S notifications for subscriptions, which made me introduce a hack in my environment that allows TLS 1.2 for that, although I can see that Apple clients negotiate TLS 1.3 occasionally (really weird).
Has anyone faced a similar issue and found a solution other than to revert to TLS 1.2?
For me, these S2S notifications are the only clients to my servers that would need this.
As a side note: it would be really helpful in troubleshooting to see some form of feedback in the developer account for the notification endpoint configuration (e.g. if there was an error registered by Apple and if so, which one). Without it, we're completely blind and don't know anything. Other providers with such a remote integration provide feedback or at least have a "test" option that can be used for verification and/or troubleshooting. IDK why Apple is so closed up here, really.
For a new app, I have configured my server and the app in App Store Connect according to the official documentation:
https://developer.apple.com/documentation/appstoreservernotifications/enabling_app_store_server_notifications
https://help.apple.com/app-store-connect/#/dev0067a330b
However, for some reason I am not receiving any notifications at all, although I have created several subscriptions, up-/downgraded, cancelled, resubscribed, switched auto-renew on and off, aso. I also have access logs and even there I don't see any call from Apple.
A simple test using curl, however, does work as expected:
$ curl -v 'https://MY_HOST/apple-s2s/app-store/sandbox' --data-binary '{}' --header 'content-type: application/json'
* Trying my...ip:443...
* Connected to MY_HOST (my...ip) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=MY_HOST
* start date: Nov 16 19:10:49 2021 GMT
* expire date: Feb 14 19:10:48 2022 GMT
* subjectAltName: host "MY_HOST" matched cert's "MY_HOST"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x55dc1f20eb10)
> POST /apple-s2s/app-store/sandbox HTTP/2
> Host: MY_HOST
> user-agent: curl/7.74.0
> accept: */*
> content-type: application/json
> content-length: 2
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* We are completely uploaded and fine
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
< HTTP/2 200
< content-type: application/json
< date: Tue, 23 Nov 2021 19:41:35 GMT
< server: nginx/1.21.0
< content-length: 2
<
* Connection #0 to host MY_HOST left intact
{}
There is also nothing from within the App Store Connect where I could see that something went wrong, whether Apple actually tried to connect at all or whether I am missing to configure anything else. No feedback at all here, very sad.