Unable to getAutoRenewProductId() on Server Notification event listeners #91
Unanswered
r0hitch0pra
asked this question in
Q&A
Replies: 1 comment
-
@r0hitch0pra |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have event listeners for almost all Apple IAP Server to server events. However, I don't understand how I am supposed to get "getAutoRenewProductId()" or even "getUnifiedReceipt()" from the event listener.
I have a need to store the renewal product ID into a database upon the DID_CHANGE_RENEWAL_PREF notification type. I can see that the event itself has all the properties as private/protected but neither getServerNotification() nor getSubscription() provides access to those functions/properties.
Is this intended or an oversight? Or am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions