question

Hakk1969 avatar image
Hakk1969 asked

HTML5 in-app purchases

Currently developing my first HTML5 app with in-app purchasing for consumables implemented using the example given here ...

https://developer.amazon.com/public/solutions/platforms/webapps/docs/consumable.html

Testing using the Web App Tester flags an error for repeat purchases ... Purchase cannot be completed because the previous purchase has not been fulfilled.

Is notifyFulfillment part of this API? If so, do you have a JavaScript example of an implementation?

Thanks.

iapapppurchasing
10 |5000

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

1 Answer

WangChao@Amazon avatar image
WangChao@Amazon answered

Hello,

notifyFulfillment is NOT part of the API. It is in the Amazon IAP v2.0. Sorry for the confusion.

The "Purchase cannot be completed because the previous purchase has not been fulfilled." is for testing purposes only and does not reflect production behavior. Please ignore it and continue with your developement. Thanks.

10 |5000

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