saurabhbakolia / SCROLLME--ECOMMERCE-WEBSITE

ScrollMe is an open-source eCommerce platform built with JavaScript, React, Styled Components, Node.js (Express), and MongoDB. It offers a modern shopping experience with a scalable backend, perfect for contributors or those learning modern web development.
https://www.scrollme.online/
MIT License
19 stars 64 forks source link

[Improvement]: Adding Payment gateway usign phonePe #185

Open Amarjha01 opened 3 weeks ago

Amarjha01 commented 3 weeks ago

Feature Update

Title

Payment Getway

Description

I will add Payment getaway for checkout.

Steps to Implement this feature

  1. I will send user data from frontend to backend calling payment getway.
  2. Verify the data sent from frontend and authentication.
  3. Hashing and adding salt and key to data to create payload.
  4. Creating Payload for API call.
  5. calling the Payment Getway API
  6. Send response to the user about payment failed or success

Expected Behavior

The user should able to make payment

Actual Behavior

Static page the user is not able to make payment

Screenshots

image

@thakuratul2 @saurabhbakolia I'll be using testing getaway later you can change it to your original payment gateway.

thakuratul2 commented 3 weeks ago

@Amarjha01 assgined

thakuratul2 commented 2 weeks ago

@Amarjha01 status

thakuratul2 commented 2 weeks ago

@Amarjha01 status please

Amarjha01 commented 2 weeks ago

I'll update you by tomorrow coz I'm learning redux toolkit which will further help in managing state's in our project.

thakuratul2 commented 2 weeks ago

@Amarjha01 okyy

Amarjha01 commented 2 weeks ago

Done sir payment integration is successfully integrated I've used testing credentials so there is some limitation like I have hard coded the amount for every transaction set it to 100RS only which can be modified to dynamic if you want to use it with real payment gateway .

Here is demo video

https://github.com/user-attachments/assets/7206bd11-ddc6-4730-9bed-15d2a5e7a958

@thakuratul2 @saurabhbakolia please let me know if you want me to make any changes.