Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Stripe Integration Example

This example for Stripe integration using AWS Lambda and API Gateway.

Use Cases

  • Notified about events that happen in a Stripe account.

Setup

Install npm packages

$ npm install

Set your Stripe secret keys

Edit the environment block in serverless.yml with your Stripe secret keys:

provider:
  environment:
    STRIPE_TEST_SECRET_KEY: 'Stripe_Test_Secret_Key_here'
    STRIPE_LIVE_SECRET_KEY: 'Stripe_Live_Secret_Key_here'

Deploy!

$ serverless deploy

or production

$ serverless deploy --stage live
Deploying "aws-node-stripe-integration" to stage "test" (us-east-1)

✔ Service deployed to stack aws-node-stripe-integration-test (42s)

endpoint: POST - https://xxxxxxxxx.execute-api.us-east-1.amazonaws.com/test/stripe/incoming
functions:
  incoming: aws-node-stripe-integration-test-incoming (1.2 kB)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.