FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

examples/aws-node-stripe-integration at v4 · serverless/examples · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

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)

Back | FazBrowse Home | New Git URL