Alexa in-skill Purchasing Problems

amazon-alexa

#1

I’ve been trying to implement in-skill purchasing but console.log(product) prints undefined. I’m not sure what I’m doing wrong. I added the frozen sword json file into the isps folder. The code that is running is straight from the github: https://github.com/jovotech/jovo-templates/blob/master/alexa/isp/javascript/src/app.js. Is there something I’m missing? Perhaps I need to add another file or install something?

I’ve pasted a picture below of the code I currently have.


#2

Hi @surajraj99, welcome to the community, and thanks for your question! :wave:

From what you describe, it sounds as if you haven’t registered your ISP product - Placing it in the folder doesn’t automatically do that. You can do that either in the Alexa dev console or the ASK CLI.

Please let me know if that helps! :smiley:


#3

Hey Florian,

Thanks for the response! Yes, it worked perfectly.

Once again, thank you so much!