Closed LoisFromNeo closed 1 month ago
@LoisFromNeo This error is generally thrown when you attempt to decode something that isn't a notification as a notification, like a transaction or renewal info. Can you confirm you are actually decoding a notification itself, perhaps by putting the JWS into a decoder and confirming the output matches a notification?
Oops, I just realized that the signedPayload I was passing was not the value of the signedPayload property in the body of the notification, but rather the entire object contained in the body itself. I apologize for not checking this thoroughly… Additionally, thank you for the quick response!
Hello, I hope this message finds you well.
I am currently using version 1.4.0 of your app-store-server-library-node. However, I encountered the following error when attempting to decode a signedPayload after receiving server notifications for auto-renewable subscriptions.
Here are the detailed steps:
As shown in the attached screenshot, the error stack trace indicates that the error originates from within the library’s internal logic, prompting me to raise this issue.
I would appreciate it if you could review this matter.
Thank you.