Skip to content

ppanya/KUPaypal

Repository files navigation

KUPaypal

Description

Service for payment from one user to other user. There are two perspective of user, customer and merchant. Customer want to pay money to merchant by kupaypal. After check out payment from merchant, website will redirect to kupaypal sign in page. Customer require to have kupaypal account to sign in after that kupaypal will show the order id merchant name total amount and time that payment has created, customer choose accepte or decline a payment. After customer accept a payment, service will redirect to callback path provide by merchant with order_id e.g. http://sabaii.com/order/+1 => http://sabaii.com/order/1
For authetication, service use basic authetication which laravel provided with laravel hash encryption.
There is not include parts that use bank api to withdraw or deposit money with this service.

Stakeholder

* Merchant * Customer * Payment System Admin * User, It refer to both Customer and Merchant.

Specific Term

* Payment - a payment for goods/services that merchant send to the recipient (customer). * Problem - a problem that broke an agreement of two stakeholders which is merchant and customer.
note: we still doesn't have standard for problem.

Use Case

[Use case at github's wiki](https://github.com/maixezer/KUPaypal/wiki/Use-Case)

API Specification

[API Specification at github's wiki](https://github.com/maixezer/KUPaypal/wiki/API-Specification)

How this service work

Situation: Customer come to a web store, buy something and want to pay via this service.

1. Customer choose to pay with KUPaypal service, web store will use HTTP Post method to create a payment and redirect customer to an accept page as refer in image below.

Customer pay a payment

![Alt text](https://github.com/maixezer/KUPaypal/blob/master/pic/sequenceUser.png "Optional title")
  1. After customer accept a payment, money doesn't transfer to merchant account immediately. Merchant need to validate a payment to retrieve his/her money.

Merchant validaet a payment

![Alt text](https://github.com/maixezer/KUPaypal/blob/master/pic/sequenceMerchant.png "Optional title")
  • Alternative: If merchant found out that something wrong with payment, merchant can decline it. Payment marked as cancelled.

State of System

![Alt text](https://github.com/maixezer/KUPaypal/blob/master/pic/state.png "Optional title")

Reference

This part is reference of my research through paypal system. I found this [link](https://www.paypal.com/cy/webapps/mpp/ua/servicedescription-full) is really helpful.

Developer

* Atit Lelasuksan 5510546201 * Parinthorn Panya 5510546085 * Wat Wattanagaroon 5510546140

About

KUpaypal Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages