Access to Amazon userId is critical to verify subscription receipts
JoyHong opened this issue · 1 comments
flutter_inapp_purchase : 5.3.1
Platforms you faced the error (IOS or Android or both?) Android -> Amazon
Expected behavior: a way to access to platform userId for Amazon
Actual behavior: The user id value is not being used
Tested environment (Emulator? Real Device?) Real Device
Steps to reproduce the behavior
Purchase a subscription via the Amazon IAP Sandbox or the Amazon sdk tester
In order to verify an amazon receipt, the app needs to know the userId value. The userId value is returned in the callback
PurchasingListener::onPurchaseResponse(PurchaseResponse). However it is not a place to access in the response.
Also, the data could be made available via the initConnection call. However, the call logs the data, but does not provide an access to it.
May Ask: Can you provide an FIPActiveEnvironment Object with platform specific methods (e.g. appStoreData, playStoreData, amazonStoreData) for data unique to that platform.
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.