How To COLLECT PAYMENTS With STRIPE + NEXT.Js (Step-By-Step Tutorial)

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • ecommerce-nextjs-stripe-checkout

    💰 🌱 E-commerce store built with Next.js and Stripe checkout

  • However, I'm not going to show you how to build the Next.js e-commerce website from scratch, but you can find the source code on Github. So check this out!

  • axios

    Promise based HTTP client for the browser and node.js

  • So inside that function, start by creating the Stripe checkout sessions using axios to perform a POST request to the /api/checkout_sessions API endpoint we just created.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • SWR

    React Hooks for Data Fetching

  • Once we've got this id, we could perform a GET request to /api/checkout_sessions/${session_id} using the useSWR hook from the swr package.

  • Stripe

    PHP library for the Stripe API.

  • Then you need to create an account on stripe.com. But don't worry, it's entirely free. You don't have to provide you credit cards or anything. You just need to click the sign-in button at the top, and you should be good to go.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • API Monitoring for the JAMStack

    2 projects | dev.to | 9 Apr 2021
  • How to Fetch API Data in React

    3 projects | dev.to | 17 Dec 2023
  • Create an E-Commerce Web API from scratch in 14 minutes

    3 projects | dev.to | 11 Oct 2022
  • HTTP based OOP

    2 projects | dev.to | 9 Oct 2022
  • A Beginner's Guide to HTTP - Part 4: APIs

    3 projects | dev.to | 22 Apr 2022