There is not include parts that use bank api to redeem money from this service or deposite money to this service. * Merchant * Customer * Payment System Admin
note:I consider that merchant and customer is a different user type. But I still consider about customer to customer transaction, should this service support it or not. * 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: It should have a standard for Problem term but it seem hard to set it up. When client get price, order id, merchant id, and date time, it can POST payment to webservice. * Primary Actor: Merchant * Scope: Payment System * Level: Very High * Story: Merchant send a payment to customer. 1. User choose product 2. User proceed and check out 3. Merchant website will send order id, merchant id, total amount, and date time for create payment to webservice Create Payment 2a. Total amount is minus value .1 Merchant have to send order id, merchant id, total amount, and date time again User selects to pay by "Ku paypal" User can create payment When customer sure for transfer money, they can PUT payment to accept the payment. * Primary Actor: Customer * Scope: Payment System * Level: Very High * Story: Customer approve a payment then funds transferred to merchant. (payment completed) 1. User will see all of detail of payment 2. User accept the payment
Create Account
User is logged in to ku paypal User proceed or check out from merchant User pay the payment When customer see payment description, price/merchant is not correct, Customer will decline this payment. * Primary Actor: Customer * Scope: Payment System * Level: Low * Story: Some problem occured. Customers want to refund their funds back. They go and try to reverse/rollback a payment. 1. User full fill form for reverse paymnet from merchant 2. Merchant tell webservice to charge back 3. User get charge back 2 Admin of website do not permit to charge back User selects to pay by "Reverse" User paid payment already User can get charge back from payment When customer can not login to the system. * Primary Actor: Customer * Scope: Account management * Level: High * Story: Customer want to become a member of the system. 1. User types a user name of his or her choice 2. User types a password 3. User retypes the password 4. User types his or her first name 5. User types his or her last name 6. User types his or her Address, Date of birth (Optional) 7. User types his or her credit card number. Create Account 1a. User name is already in use .1 User is requested to select another user name and password 3a. The two passwords are different .1 User is requested to retype (twice) his/her password User selects the "Sign Up" link User is not logged in User becomes a registeredplayer When customer want to accessto the system. * Primary Actor: Customer * Scope: Account management * Level: High * Story: Customer want to login to the system. 1. User types his/her user name 2. User types his/her password Login 2a. User provides invalid login parameter (see Login Failed) User selects the "Login" link User does not login yet The user can see his/her own information in paypal When customer want to accessto the system. * Primary Actor: Customer * Scope: Account management * Level: High * Story: Customer want to login to the system. -The user provides invalid login parameters Precondition should be identical with the condition of the extension point 1.System redirects the User to the Login page 2.System informs the User that he/she typed a non-registered user name -The User typed a non-registered user name Precondition should refine the precondition of Login Failed 1. System redirects the User to the Login page 2. System informs the User that he/she typed a non-registered user name 1. Transaction history 2. Current balance for each user. 3. (Extra) Support multiple currency and multiple language [API Specification at github's wiki](https://github.com/maixezer/KUPaymentService/wiki/API-Specification)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. * Atit Lelasuksan 5510546201 * Parinthorn Panya 5510546085 * Wat Wattanagaroon 5510546140