question

Sergey Shurygin avatar image
Sergey Shurygin asked

Issue : Incorrect usage of Amazon IAP

Hi! We are getting message about an issue with Incorrect usage of IAP

"Your app or game has not implemented an Observer corresponding to an IAP Purchase that you have initiated. This could lead to failed purchases."

We have a live version for several months & we've done no changes in our IAP usage implementation. PurchaseListener, PurchasingService & Response Receiver are on their places. So, can you, please help with investigating the problem & is the problem critical for update submission, which is planned in several days?

https://developer.amazon.com/tya/results.html?testId=wQ28aCLiuQpm5wHYGje303LWgoThtFknMGUcy20yL2vV5FrDpVYk0lYwWmOas-Pd9LhfsDSi9pW2_5Ki4LhYcg

iap
10 |5000

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

Nick Gardner avatar image
Nick Gardner answered
Hi, This issue should be fixed. The messaging now properly speaks to IAP 2.0 related terms when you are using 2.0. Thanks, Nick
10 |5000

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

J. R. Hagewood avatar image
J. R. Hagewood answered
I am having this issue as well. The first version of the game I uploaded did not give me this error. The next few versions only had a few minor changes regarding images and icons, but began to show this error: "Issue : Incorrect usage of Amazon IAP." My game will not have any IAPs because it will be an Underground game. It is not yet published, and in the Live App Testing phase. What can I do to resolve this error?
10 |5000

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

Nick Gardner avatar image
Nick Gardner answered
If it is in Live App Testing, and everything works as expected, then there likely isn't any issue and you can safely ignore the warning. Thanks, Nick
10 |5000

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

Levon@Amazon avatar image
Levon@Amazon answered

Also, if you are not planning to use any IAP functionality, check whether you have any IAP related code in your app and comment it out / remove it accordingly. In addition, check your Android manifest file for the associated receiver and permission:

<receiver android:name = "com.amazon.device.iap.ResponseReceiver" >
  <intent-filter>
    <action android:name = "com.amazon.inapp.purchasing.NOTIFY"
              android:permission = "com.amazon.inapp.purchasing.Permission.NOTIFY" />
  </intent-filter>
</receiver>

and also remove it, as it normally tells the host and reporting systems that your app uses IAP, even if there's no actual IAP code in your app. Hope that helps.

10 |5000

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