harley1011 / RestoTouch

A web application for providing virtual menus to restaurants
3 stars 1 forks source link

Payment System #8

Closed harley1011 closed 7 years ago

harley1011 commented 8 years ago

Story: As a restaurant owner, I want to be able to configure the payment method for the customer application so that they can pay for their orders Story Points: 5 Priority: Medium Risk: Very High

ddbas commented 7 years ago

This User Story also involves research for future possibilities on implementing some form of interface that allows us to use payment machines through our app. The results of this research would determine what is done for the user story Payment user story

ddbas commented 7 years ago

Tasks (9h)

Research (3h)

Front End (3h)

Back End (3h)

ddbas commented 7 years ago

Research Report

Payment Card Reader With Own Dedicated App

SumUp: One possibility would be that, when it is time for the restaurant client to pay, the restaurant personnel open up the SumUp app and enter the amount due. Another option, which would make things a little simpler for the user, is to have a pay button in our app that manages to launch the SumUp app by itself when clicked.

Payment Card Reader With API

Unfortunately, there are no payment machine solutions with APIs that allow us to connect our PhoneGap app directly to the machine. Here are solutions that I found, but that only have support for native apps for Android and iOS, and not cross-platform apps implemented using PhoneGap.

Payment Directly Inside Our App

If we want to allow restaurant customers to pay restaurants directly from inside the app, the best option would obviously be PayPal. This would also require us to have the restaurant owner enter his PayPal information in the website application, which will then be stored in our database. Our mobile app would then fetch this information to allow customers to pay the restaurant using PayPal.

harley1011 commented 7 years ago

Definitely some potential solutions, but I don't think SumUp would be that good of an idea as opening another app and manually entering your amount doesn't really seem practical.

ddbas commented 7 years ago

I absolutely agree. It wouldn't be practical at all. But these are just a list of possible options. They're not necessarily the best

ddbas commented 7 years ago

Testing

Backend Unit Tests

Front End Unit Tests

Demo step

Step 1: Navigate to https://resto-touch.herokuapp.com/dashboard/home Step 2: Login (if necessary) Step 3: Navigate to 'Restaurants' page Step 4: Add or Open a restaurant Step 5: Go to the payment methods section and select the ones offered by the restaurant Step 6: Click Create or Save Step 7: View newly selected payment methods for the specific restaurant Step 8: Edit payment methods and click save Step 9: Verify changes made to restaurant payment methods

hi-larry commented 7 years ago

Customer Sign-off

Status: Approved. Comments:

Shirley Liang 16/01/2017