In this video we use a Lambda function to integrate our app with the Stripe payment processing service. When there is an INSERT event on our DynamoDB Product table we call the Stripe API to create product and price objects and then update the item in our table with Stripe product and price IDs. Due to a current limitation in AWS Amplify Gen 2 related to circular dependency errors, we employ a workaround.
GitHub repo for this project: github.com/dav...
AWS Amplify Discord: / discord
AWS Amplify GitHub repo: github.com/aws...
Function example with DynamoDB Streams docs.amplify.a...
Get Started with Stripe: docs.stripe.co...
Circular dependency issue: github.com/aws...
Copy Lambda Module Helper: github.com/nae...
Негізгі бет Getting Started with AWS Amplify Gen 2 NextJS Part 4: Stripe Integration & Lambda Functions
Пікірлер