Subscriptions from the store come and user data comes. I use useIapProductData and useIapUserData hooks from the package @amzn/keplerscript-appstore-iap-lib.
However, when I want to subscribe, I get this response
Could you guys check which version of @amzn/keplerscript-appstore-iap-lib you are using?
If possible can you upgrade to the latest version of this API and check again?
Can we also get journalctl logs to check the issue further ?
Also, we have seen similar issue is past and it was resolved by adding the AppstoreAuthenticationKey.pem file for the receipt verification to succeed.
Could you please confirm if you have this config?
You can follow steps here.
Thanks @Ivy for clarification. I have saved the AppstoreAuthenticationKey.pem file. Then pasted it into the assests/raw folder.
However the same response “receipt”: null.
But I tested on the debug mode and I made signature my build
Understood @Viktor_Kravchuk I’ll check with internal teams about your question.
In the meantime, please share journalctl logs for us to look into this in more depth.
We have noticed from your logs, a loop getting created to verify the purchase, which fails after 14 attempts.
In order to look into this issue more in depth, please share logs for the full E2E purchase.
That would help us help you better.
Closing this topic as there’s no reply from Dev. @Viktor_Kravchuk if you are still facing this issue and would link us to help, please create a new topic.
Happy developing !