Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vishal-girhepunje/portone-hiring-assignment-
As a final deliverable, you need to submit code implementing the APIs mentioned below.
https://github.com/vishal-girhepunje/portone-hiring-assignment-
Last synced: 11 days ago
JSON representation
As a final deliverable, you need to submit code implementing the APIs mentioned below.
- Host: GitHub
- URL: https://github.com/vishal-girhepunje/portone-hiring-assignment-
- Owner: vishal-girhepunje
- Created: 2024-06-20T06:45:35.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-20T07:38:27.000Z (6 months ago)
- Last Synced: 2024-06-21T19:51:28.900Z (6 months ago)
- Language: Java
- Size: 313 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Portone Assignment
## Stripe Payment Gateway Integration
**REST API SERVICE**
The **Portone Assignment** is a REST API and it is integrate the Stripe Payment Gateway which allows to perform the
- Create Payment Intent
- Capture the Created Payment Intent
- Create the Refund
- Get All Payment Intent.The **Portone Assignment** REST API simplified Exception Handling for layman's easy understanding.
The API's primary objective is to provide to the customer **with a seamless experience and user-friendly environment during online payment.**
The API's Services consist the following points with HTTP Methods:
|S.No. | End Point | HTTP Method |
|:-----:|:-------|:----------:|
| 1 | ```/api/v1/create_intent``` | POST |
| 2 | ```/api/v1/capture_intent/{id}``` | POST |
| 3 | ```/api/v1/create_refund/{id}``` | POST |
| 4 | ```/api/v1/get_intents``` | GET |## Feature
- Create Payment
- Capture Payment
- Refund Payment
- Get All Payment Information## Tech Stack
- JAVA
- SPRINGBOOT
- MAVEN
- SWAGGER UI## Dependencies
- SPRING BOOT DEVTOOLS
- SPRING WEB
- LOMBOK
- SWAGGER UI
## Modules- Payment Intent Module
- Capture Module
- Refund Module
- Exception Handler Module
## System StructureThe REST API allows a Customer to **Create Payment**, **Capture Payment** **Refund Payment** & **Get All Payment Information** through the **browser** with appropriate Http Methods.
## About
This assignment is for **portone.io**, This is an online accept the payment (payment gateway) Rest API. We built this Rest API assignment Within 2 days and Please [click here for Demo Video](https://drive.google.com/file/d/1h5YWO9Tjh-r-Aey1Fn6W5U5pkTKz143j/view?usp=sharg).## Installation And Run Project
- copy this https://github.com/vishal-girhepunje/PortOne-assignment.git
- Select path where you want to store the project in your pc
- open the corresponding file / folder with editor
- open terminal of your editor
- use command --> git clone (paste link) <--
- after project cloned to your folder
- go to StripePaymentGatewayIntegrationApplication.java file inside io.portone folder/package
- Before the run this project, ensure LOMBOK should be proper installed in the IDE.
- run as Spring Boot
- This application run on the port 8080
- After the project run, [click here](http://localhost:8080/swagger-ui/index.html) to view the project in swagger-ui### Postman link of Stripe Payment Gateway Integration
click here to see in the [Postman](https://www.postman.com/material-geologist-27820143/workspace/stripe-paymen-gateway).### Deploy Link
[Click here]([http://34.0.8.234:402/swagger-ui/index.html](https://portone-hiring-assignment-production.up.railway.app/) to see deploy in RailwayApp.## Screenshot
### PostMan UI Page
### Payment Intent Parameter
### Payment Capture Parameter
### Refund Payment Parameter
### Get All Payments
Links to GitHub code with setup/exec instructions in Readme
Link to Postman collection for the APIs