question

newuser-ea5c6207-0008-4d79-9e05-deaef62b735d avatar image

getProductsAndEntitlements usage

Hi,

I'm having trouble implementing the functions from: https://developer.amazon.com/docs/in-skill-purchase/add-isps-to-a-skill.html

Specifically, I am trying to use the getProductsAndEntitlements. I put the functions in my lambda function, and when I call the function, I get this error:

Cannot read property 'areProductsLoaded' of undefined

Any advice?

Also, are there any templates of full skills with In skill purchases?

alexa skills kitpurchasing
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

KAIYIN@AMAZON.COM avatar image
KAIYIN@AMAZON.COM answered

Hi, here is our sample ISP skill in github, click this link and you will be able to start building from there.

10 |5000

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