question

John Gaby avatar image
John Gaby asked ·

getProductData fails when connecting to Amazon store

I am trying to implement in-app purchasing. My app is xamarin based and I am using Amazon's iap plugin. If I test it using Amazon's App Tester Plugin, everything works find. However when I publish my app using Amazon's Live App Testing service, I cannot retrive the product list using the getProductData function. It is either returning failed or an empty list. The logcat that is generated when I make the call is shown below.

Can anyone tell me what might be going wrong?

--------- beginning of main

08-14 16:41:51.792 31322-31322/? D/AmazonIapV2 Bridge: Executing native GetProductData

08-14 16:41:51.792 31322-31322/? I/AmazonIapV2: getProductData called

08-14 16:41:51.792 31322-31322/? I/AmazonIapV2: getProductData for skus:flippixdollhouse,flippixbridges,flippixtime,flippixprofessions,flippixgreece,flippixschool,flippixfair,

08-14 16:41:51.793 31322-31322/? D/AmazonIapV2 Bridge: java method called

08-14 16:41:51.794 31322-31322/? D/AmazonIapV2Android: Successfully called native code in 1 ms

08-14 16:41:51.881 4428-9155/? I/AmazonAppstore.AccountSummaryProviderImpl: isAccountPrepared(null) - using H:072d20a11701ea8841cdb762fde27114

08-14 16:41:51.881 4428-9155/? I/AmazonAppstore.AccountSummaryProviderImpl: isAccountPrepared() - using H:072d20a11701ea8841cdb762fde27114, returning true

08-14 16:41:51.881 4428-7830/? I/AmazonAppstore.IAP/IapAD3LoggingDelegate: IAP event: 0ca0a081-15b0-471a-85f2-2ac6fac0a9be IapGetItemCommandInitiated

08-14 16:41:51.882 4428-7830/? I/AmazonAppstore.BasicDeviceInspector: getDeviceType() called, isChildDeviceTypeUsed = false

08-14 16:41:51.882 4428-7830/? I/AmazonAppstore.BasicDeviceInspector: child device type special cases did not apply

08-14 16:41:51.883 4428-7830/? I/AmazonAppstore.AccountSummaryProviderImpl: isAccountPrepared(null) - using H:072d20a11701ea8841cdb762fde27114

08-14 16:41:51.883 4428-7830/? I/AmazonAppstore.AccountSummaryProviderImpl: isAccountPrepared() - using H:072d20a11701ea8841cdb762fde27114, returning true

08-14 16:41:51.884 521-1386/? W/PackageManager: com.amazon.canary is not installed for user 0

08-14 16:41:51.884 521-939/? W/PackageManager: com.amazon.fv is not installed for user 0

08-14 16:41:51.884 4428-7830/? I/AmazonAppstore.BasicDeviceInspector: getDeviceType() called, isChildDeviceTypeUsed = false

08-14 16:41:51.884 4428-7830/? I/AmazonAppstore.BasicDeviceInspector: child device type special cases did not apply

08-14 16:41:51.893 4428-7830/? I/AmazonAppstore.AvailabilityService: putMeasurement - venezia-metrics

08-14 16:41:51.894 4428-7830/? I/AmazonAppstore.IAP/IapAD3LoggingDelegate: IAP event: 0ca0a081-15b0-471a-85f2-2ac6fac0a9be IapGetItemCommandDiscoveryRequestInitiated

08-14 16:41:51.897 4428-7830/? I/AmazonAppstore.BasicDeviceInspector: getDeviceType() called, isChildDeviceTypeUsed = false

08-14 16:41:51.897 4428-7830/? I/AmazonAppstore.BasicDeviceInspector: child device type special cases did not apply

08-14 16:41:51.898 4428-7830/? I/AmazonAppstore.AccountSummaryProviderImpl: isAccountPrepared(null) - using H:072d20a11701ea8841cdb762fde27114

08-14 16:41:51.898 4428-7830/? I/AmazonAppstore.AccountSummaryProviderImpl: isAccountPrepared() - using H:072d20a11701ea8841cdb762fde27114, returning true

08-14 16:41:51.898 521-2197/? W/PackageManager: com.amazon.canary is not installed for user 0

08-14 16:41:51.898 521-6592/? W/PackageManager: com.amazon.fv is not installed for user 0

08-14 16:41:51.899 4428-7830/? I/AmazonAppstore.BasicDeviceInspector: getDeviceType() called, isChildDeviceTypeUsed = false

08-14 16:41:51.899 4428-7830/? I/AmazonAppstore.BasicDeviceInspector: child device type special cases did not apply

iappurchasing
1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Any chance getting this post approved any time soon? It has been 2 days now.

0 Likes 0 ·

1 Answer

Levon@Amazon avatar image
Levon@Amazon answered ·

Hi John,

Thanks for posting! We have identified and already fixed an issue related to IAP within Live App Testing environment. The issue does not affect public live releases, so if you release your app publicly, IAP will work as intended. The issue in LAT has been fixed, so if you submit a new test in LAT, your IAP functionality should work correctly now. If you take no action, we will republish your test app in LAT within a few days and IAP should start working from that point. Thanks!

2 comments
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

It seems to be working now, thanks.

0 Likes 0 ·

Thank you for the update John! We are glad it's working now, and apologise for any inconvenience that might have caused you. Thanks!

0 Likes 0 ·