Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement NFC payments #37

Open
mislavmatijevic opened this issue Jun 18, 2023 · 0 comments
Open

Implement NFC payments #37

mislavmatijevic opened this issue Jun 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mislavmatijevic
Copy link
Contributor

mislavmatijevic commented Jun 18, 2023

Currently, only QR code and normal code payments are accepted.

However, a real cool thing would be to allow NFC payments.

Acceptance Criteria

Condition Description
Given User1 is logged in successfully as a seller and on products/packages page.
When User1 selects products for sale and proceeds to initiate invoice generation.
Then User1 is offered "Use NFC for payment" option.
And
Given User2 is logged in successfully as a buyer and on BUY menu.
When User2 selects NFC Payment as payment method.
Then User1's and User2's phones touch and NFC payment is initiated, User2 is immediately presented with INVOICE DETAILS screen.

This method should work the same as current QR code method, including allowing the manual code entry option that is currently enabled for QR code scanning (a failsafe option).

Problem with implementing this is - testing, since two test devices are needed. Either 2 emulators (good-bye 20GBs) or 2 real-life devices (which would require approaching another fellow Android-user human and asking them to borrow their phone - arghh!).

Of course, this method would be enabled only on Android and iOS devices.

@mislavmatijevic mislavmatijevic added the enhancement New feature or request label Jun 18, 2023
@jfletcher20 jfletcher20 self-assigned this Jun 21, 2023
jfletcher20 added a commit that referenced this issue Jun 21, 2023
jfletcher20 added a commit that referenced this issue Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants