US-WG2-191.01 Payment for the order

US-WG2-191.01 Payment for the order

Responsible Team

WG2

Responsible

@Дмитрий Олейник (Unlicensed)

Business Requirements

BR-WG2-190 Payment for the ordered product by the user

Stakeholders Requirements

SR-WG2-191 Payment via credit or debit card

Functional Requirements

FR-WG2-192 Choose payment option

Non-functional Requirements

NA

Priority

MUST HAVE

 

 

 

Name

Payment for the order

Actors

Tourist

Preconditions

  1. The user has logged into the application

  2. The user has selected a restaurant

  3. The user coffirmed the order

Trigger (Start Point)

  1. On the order page, the user clicks the "Proceed and Pay" button

  2. The user proceeds to the order payment page

Flow of Events (Sunny Day Scenario)

  1. “The System displays the total amount of the order to the User”

  2. The user chooses one of the payment methods (cash, bank card, Apple Pay);

  3. User selects bank card payment

  4. If the user saved the data of his card last time,The System pull up for this payment;

  5. After the user has selected the payment method by bank card, indicated the card and clicked the pay button, he receives a notification that his order has been successfully accepted.

Flow of Events (Rainy Day Scenario)

  1. If the user is paying for the order for the first time, he will have to enter the card number and its data to continue the payment procedure

     

  2. If after clicking the "Swipe to pay" button the user does not have enough money on the account, the System will display a popop-uppup window:"You do not have enough balance on the card, to complete the operation. Please refill the balance and try again".

Post-conditions or Guarantees

  1. If the payment was successful, the user will be taken to the successful checkout page.

     

  2. If payment failed, the order will remain in the cart until the user refills the card account or chooses another method of payment

 

Related content