Template: Alexa In-Skill Purchases

Sell a sample product with Alexa In-Skill Purchasing

About

Use this template to learn how to implement In-Skill purchasing for Amazon Alexa with a sample product. This template contains:

1) A language model (models/en-US.json) that has a 'BuySkillItemIntent' and a 'RefundSkillItemIntent' with a slot LIST_OF_PRODUCT_NAMES that contains one product called cave_quest.

2) App logic (app/app.js) that uses the Jovo implementation of Alexa In-Skill purchases.

Find all the necessary steps here.

Installation

Use the Jovo CLI to download this template:

See the code and more information here

Sample Conversation

Open my purchase app

Which Skill Item do you want to buy?

Buy cave quest

Do you want to purchase Cave Quest? Prime members save $0.19. Without Prime, your price is $0.99 plus tax. Would you like to buy it?

Yes

Great! You now have Cave Quest.

Other Templates

Hello World

Build your first voice app with the Jovo Framework

Trivia Game

A quiz game that uses states and i18n

Alexa Audioplayer

Build an Audioplayer Skill for Amazon Alexa

Alexa Dialog Interface

Use the Alexa Dialog Interface for slot filling

Alexa Skill Events

Sample implementation of Alexa Skill Events

Google Action Media Response

Build a Google Action that plays audio files

Unit Testing

Create unit tests for your Alexa Skills and Google Actions

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.