Cubeseed / Backend

3 stars 8 forks source link

working on the card-transaction with account verification and validation feature #76

Open Natiman58 opened 1 year ago

Natiman58 commented 1 year ago

Accounts

Scenario:

John wants to take a look at all his transactions. While he’s on it, he wants to add a different card for payment because he changed banks.

Basic Flow:

Join is logged onto Cubeseed

He clicks on the wallet icon, it takes him to accounts space where he can view  his transaction

He clicks on one transaction, it opens up the details of the transaction

Alternative Flow:

If he wants to add another card;

He clicks on the wallet icon, it takes him to accounts space where he can view  his transaction

He clicks on ‘Add Card’, a page with all his added cards is shown

He clicks on ‘Add new Card’ and inputs card details

Card number

Expiry date

CVC?CVV

Card holder name

He clicks on ‘Add card’

Developers’ Notes:

When John checks the save card box, the card should be added as draft

Transaction details should be accurately fetched from the backend database.

Validate card details using industry-standard algorithms.

Utilize encryption for storing sensitive data like card details.

Consider integrating with a secure payment gateway for card processing.

Implement input validation and error handling to prevent data loss or corruption.

Error messages should be clear and user-friendly.

Make sure to adhere to security and privacy regulations while storing and processing user data.

Test the entire flow thoroughly, including edge cases and error scenarios, before deployment.