Channel | Publish Date | Thumbnail & View Count | Download Video |
---|---|---|---|
Publish Date not found | 0 Views |
GitHub source code: https://github.com/sonnysangha/stripe-paymentelements-with-https-nextjs-14-demo
Join the world's BEST developer community "Zero to Full Stack Hero" NOW: https://www.papareact.com/course
LOOKING FOR THE CODE OF MY OTHER BUILDINGS? ️
https://links.papareact.com/github
Join me as I show you how to build and test popular payment methods like Apple and Google Pay on localhost with Next.js 14. In this video you will learn:
How to integrate Stripe's embeddable UI component: Stripe Payment Element to accept payment methods
Test payment methods such as Apple Pay and Google Pay on localhost using lcl.host
Benefits of using lcl.host compared to Next.js Experimental Flag
Benefits of using lcl.host compared to ngrok
Create an API route handler in Next.js 14 to accept payments
How to build a fully responsive site with Tailwind CSS
How to use TypeScript to reduce the overall number of bugs and errors
WANT TO LISTEN TO THE EXCLUSIVE PAPAFAM PLAYLIST?
Sign up for the PAPAFAM newsletter here https://links.papareact.com/newsletter
FOLLOW ME HERE:
Instagram: https://links.papareact.com/instagram
Facebook: https://links.papareact.com/facebook
LinkedIn: https://links.papareact.com/linkedin
Twitter: https://links.papareact.com/twitter
Discord: https://links.papareact.com/discord
DO YOU WANT TO SUPPORT THE CHANNEL?
Donate here: https://links.papareact.com/donate
Buy some PAPAFAM merchandise: https://links.papareact.com/merch
TIMESTAMPS:
00:00 Introduction
00:23 Construction demo
01:35 Build a demolition in 5 steps
02:08 Step 1 | Create the Next.js 14 app
03:19 Step 2 | Implement Stripe payment element
07:46 Create the checkout page
08:40 Step 3 | Create a Next.js 14 API route handler to accept payments
10:56 Generate a customer secret based on the selected payment method
17:25 Step 4 | Redirect user to a payment success page
18:08 Problem testing payment methods on localhost
18:46 Step 5 | Implemented lcl.host to test payment methods in localhost
21:31 Testing payment methods on localhost!
22:43 Why use HTTPS in a local environment
24:05 lcl.host vs. Next.js experimental flag
24:37 lcl.host vs ngrok
25:07 Benefits of lcl.host
25:55 Off
Let's get it, PAPAFAM.
#nextjs14 #localhost #anchor #applepay #googlepay #lclhost #tailwindcss #typescript #testing #reactjs #javascript
Please take the opportunity to connect and share this video with your friends and family if you find it helpful.