---
title: "Discussion on \"Stripe - Payment Integration in ReactJS/NextJS project\" | Hashnode"
description: "Discussion on \"Stripe - Payment Integration in ReactJS/NextJS project\". Installations\n\n\nnpm i stripe\nnpm i @stripe/stripe-js\n\n//get pk and sk keys from stripe developers dashboard and put them in .env.local\n\n\nWhen user Click on Pay Now Button then -:\n - Create PriceId\n - If PriceId successfully created then createPayment..."
url: "https://hashnode.com/posts/stripe-payment-integration-in-reactjsnextjs-project/6875fa6f95741d3bc260c1ec"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stripe - Payment Integration in ReactJS/NextJS project](https://nextjs4u.hashnode.dev/stripe-payment-integration-in-reactjsnextjs-project?utm_source=hashnode&utm_medium=feed)

Installations npm i stripe npm i @stripe/stripe-js //get pk and sk keys from stripe developers dashboard and put them in .env.local When user Click on Pay Now Button then -: - Create PriceId - If PriceId successfully created then createPayment...

Jul 15, 2025 · 2 min read · nextjs4u.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#stripe](https://hashnode.com/tag/stripe)
-   [#payment-gateway](https://hashnode.com/tag/payment-gateway)
-   [#razorpay](https://hashnode.com/tag/razorpay)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Ayush Rajput](https://hashnode.com/@ayuxsh)

@ayuxsh

  
[View profile](https://hashnode.com/@ayuxsh)

</ hello world >

## Responses 1

Markdown supported · ⌘↵ to post

[Akash Moradiya](https://hashnode.com/@akash3444)

[Jul 15, 2025](https://hashnode.com/posts/stripe-payment-integration-in-reactjsnextjs-project/6875fa6f95741d3bc260c1ec/comment/6876058d05b78eb2bacfbb44)

At CourseFPX, we find Stripe to be one of the most developer-friendly and secure options for payment integration in ReactJS and NextJS projects. Its flexible APIs and extensive documentation make it easy to implement both one-time payments and subscriptions. Integrating Stripe into a NextJS app using serverless functions also ensures secure handling of sensitive data without compromising performance. A solid choice for modern web applications looking to scale with ease.
