Giter VIP home page Giter VIP logo

amazon-pay-alexa-demo's Introduction

Amazon Pay for Alexa Demo

This is a 'bare-bones' demo to show how you can integrate Amazon Pay into your Alexa skill.

Getting Started

Read the integration guide: https://developer.amazon.com/docs/amazon-pay/amazon-pay-overview.html

Once your Alexa, Amazon Pay, AWS, and Developer accounts are ready you can modify this skill.

  1. Clone repository and install dependencies
  2. Open config.js and update values appID, sellerId, and sandboxCustomerEmailId
  3. Zip files and upload to Lambda
  4. Link your accounts
  5. Enable testing for your skill and invoke it:

alt text

If you receive the message Thank you for ordering form Blitz and Chips then you have successfully configured your skill! If you receive an error, proceed to the troubleshooting section.

Troubleshooting

If you are encountering issues with your skill, double check that you have completed the following:

  1. Confirm that your Seller Central account is in good standing by selecting the Production environment and verify there are no errors on your account
  2. Link the correct skill in the appropriate environment ( Sandbox / Production ) in Seller Central
  3. Create a sandbox buyer test account in Seller Central
  4. Enable Amazon Pay permissions in your skill under Build > Permissions > Amazon Pay
  5. Link the correct Lambda function in your skill under Build > Endpoints > Default Region
  6. Upload the correct .zip file with the updated values in config.js
  7. Link the correct skill Id in your Lambda function
  8. Give the correct permissions for the role to use your Lambda function
  9. Enable your skill in your Alexa App
  10. Consent and give permissions to Amazon Pay in your Alexa App
  11. Enable Voice Purchasing in your Alexa App

All other errors and decline handling can be found here: https://developer.amazon.com/docs/amazon-pay/payment-declines-and-processing-errors.html

amazon-pay-alexa-demo's People

Contributors

xengravity avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.