Use Amazon Pay in your Voiceflow project

In this tutorial, we will see how to set up your Amazon Seller account to use Amazon Pay in your Voiceflow Alexa project.

To be able to follow those steps, you want to first check that you’re all set with your seller account by following the Amazon Pay documentation here:

Once you’re ready, you will need to enable the integration for your Alexa skill.
For this tutorial, we will use the sandbox view so be sure to select the corresponding account.

1) Go to your Amazon Seller account and select the Amazon Pay (Sandbox View) for your account.

On the new page, click on the Integration Central link in the Configuration section.

Then, select Alexa, choose Connect Amazon Pay to an existing skill and click on Go to skill settings

2) On the new page, click on the Connect an Alexa skill button

If you haven’t created a Voiceflow project yet, do it now or import the Amazon Pay Demo project to your account and click on the upload to Alexa button in Voiceflow as you will need your skill ID in the next step.

You will now need to fill in your skill Id to link your skill.

To find your skill ID, in your Voiceflow project, click on the Launch tab and the More Info link in the top right.

or you can go to your Alexa Developer Console and click on the Copy Skill ID link

CleanShot 2021-06-03 at 11.15.28

Enter the skill Id and hit the Connect button

CleanShot 2021-06-03 at 11.13.59

The new skill should now be visible on your list

You can close that page and go back to the Amazon Seller page by clicking on the top left logo

CleanShot 2021-06-03 at 11.42.52

3) We are now going to create a Test account, to do so, click on the Test accounts link in the Sandbox testing section

CleanShot 2021-06-03 at 11.43.25

On the next page, click on Create a new test account button

CleanShot 2021-06-03 at 11.44.59

Create your test account with the information you want on the next screen

And confirm the account creation by clicking on the Create account button at the bottom of the page

CleanShot 2021-06-03 at 11.49.11

4) Last step, you need to get your Amazon Seller ID as you will need it in your Voiceflow project to setup the Amazon Pay integration.

To easily access that ID, use this link while logged on your Amazon Seller Central portal:

https://sellercentral.amazon.com/sw/AccountInfo/MerchantToken/step/MerchantToken

Select and copy that ID and save it for later.

5) You can watch the Fix It Hour video on our Youtube Channel and/or import the Amazon Pay Demo project to your account if it’s not already done.

2 Likes

Have you set your seller ID in the settings block? Looks like that on your screenshot, no value has been set for the seller id.

These variables are used in all the Directive blocks

CleanShot 2021-06-04 at 17.42.55

Nico, Difficulty because we were sharing my Seller account. For me in sandbox or production mode only successfully creates an order if using the {sandboxCustomer} value test+account@voiceflow.com also every order in sandbox mode was only being shipped to Susie Smith.

Set up a deposit and charge method for the Amazon Pay merchant account. Performed the production mode per the Integrate your Skill with Amazon Pay instruction 7. Repeat steps 3 through 5 in Production View to link your skill to your Amazon Payments account for production use. Then in the Amazon Pay Setup Directive Block changed the “sandboxMode”: false. The production order processed all the way to the Orders Manage Transactions. Amazing was the project “as is” pulled my own billing address without using the Api blocks. Putting the project back to sandbox mode and building out a goods conversation design and integration. Merci Nico! Reading this and need the solution built visit SpeakEnabled.io

This is a Japanese version of this tutorial.

日本語のチュートリアルはこちらです。全3回の予定です。日本語に対応させたデモもダウンロードできます。

https://kun432.hatenablog.com/entry/amazon-pay-with-voiceflow-1

2 Likes