readdle / app-store-server-api

Pure PHP library that allows managing customer transactions using the App Store Server API and handling server-to-server notifications using the App Store Server Notifications V2
MIT License
54 stars 20 forks source link

failed with status code 401. Response text is: Unauthenticated #19

Closed 313654021 closed 4 months ago

313654021 commented 4 months ago

in sandbox environment, payload ttl default value is 1 hour,it will get 401 error code. when i change the ttl to 5 minute,it work fine. maybe this is also the reason for the #18 issue so i think client instance need ttl param to change the default value. sorry for my poor english.

yosun commented 4 months ago

same issue

pkotets commented 4 months ago

Hey guys,

Thanks for the report. Never had this kind on an issue, but I assume that it is totally realistic scenario, so v3.8.1 has just been released to address it.

Hope this will fix the issue.

313654021 commented 4 months ago

It works thanks