AWS re:Invent 2022 - Serverless order fulfillment with Stripe and AWS (PRT084)

Поделиться
HTML-код
  • Опубликовано: 24 авг 2024
  • Stripe webhooks are one of the main ways to get notified asynchronously about key events that occur in your payment workflow. In this lightning talk, explore multiple options for handling Stripe’s webhook events using various AWS services. Start off by looking at some of the event types and their payloads, learning how to work with them locally using the Stripe CLI, and seeing how to scale your solution using AWS serverless services such as AWS Lambda. This presentation is brought to you by Stripe, an AWS Partner.
    Learn more about AWS re:Invent at go.aws/3ikK4dD.
    Subscribe:
    More AWS videos bit.ly/2O3zS75
    More AWS events videos bit.ly/316g9t4
    ABOUT AWS
    Amazon Web Services (AWS) hosts events, both online and in-person, bringing the cloud computing community together to connect, collaborate, and learn from AWS experts.
    AWS is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers-including the fastest-growing startups, largest enterprises, and leading government agencies-are using AWS to lower costs, become more agile, and innovate faster.
    #reInvent2022 #AWSreInvent2022 #AWSEvents

Комментарии • 4

  • @reprovedcandy
    @reprovedcandy Год назад +3

    But how does the Lambda function accept the raw body payload?

    • @awssupport
      @awssupport Год назад

      Interesting point! 🤔 Our re:Post platform is a place where our community experts can weigh in & share their expertise, you can check it out here: go.aws/aws-repost. Also, feel free to explore these additional options for getting answers to questions you may have: go.aws/get-help. ^AK

    • @techexec
      @techexec 11 месяцев назад

      In Nodejs, event.Records.body.
      When lambda polls the queue, that's how you get the sqs body

    • @bls20
      @bls20 3 месяца назад +1

      @@techexec When you set up the webhook in Stripe you have to give it an HTTP endpoint to send the data too, You might set up this endpoint Using Amazon API Gateway. APIGW can then proxy the payload onto the SQS queue that Lambda is polling.
      Side note: A newer way to do this now is using the new Amazon EventBridge integration, then no webhook endpoints are needed.