Skip to content

card-like Model #6

Description

@guitarfireyeah

OCC card-like Model

Card part of hardware -> CARD
Card reader part of hardware -> READER
Payment gateway-> GATEWAY

A CARD has
Non-Powered Data Storage, e.g. chip, magnetic strip....
UserID - Can be undefined, otherwise sent with CardID to be used for additional security.

CardID - Unique, Corresponds to the hardware.
When inserted to READER, sent through gateway and connected eventually to corresponding wallet.

A READER has
Numeric Input Pad
Connection to GATEWAY
Card reader
Display element
ReaderID - Unique. corresponds to the hardware. connected to GasAccount on GATEWAY.
MerchantID - Can be undefined, corresponds to the hardware. connected GasAccount on GATEWAY.

THE GATEWAY has:
a function called auto-sign.
A transaction is signed automatically by the payment gateway only if all criteria are met:
-Gas price and/or gas limit are only modified fields, no bad gas circumstances exist
-Customer passed confirm/verification
-Enough for gas in GasAccount associated with ReaderID on the GATEWAY
-Customer has enough funds in wallet associated with the account for the Transaction
-ReaderID and the receiving address are associated with the corresponding GasAccount

Steps of Transaction:

  1. Customer agrees to price which is entered to READER
  2. Customer gives READER the CARD. READER reads CARD, starts purchase
  3. READER sends CARD data to GATEWAY requesting access to corresponding wallet
  4. GATEWAY sends READER any Multi-factor instructions (additional card, pin ect.)
  5. READER prompts customer to verify/confirm, sends results to GATEWAY
  6. GATEWAY auto-signs the transaction and reports success, or reports error and aborts
  7. If success GATEWAY payment sent to merchant and GasAccount billed
  8. If out of gas, request auto-sign and notify if possible the merchant of the results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions