Project

General

Profile

Actions

QA #113

closed

[ADMIN/API] QA-20230907

Added by Deca Park about 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
09/07/2023
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

1.Spec

  • refer to attach ppt

Files

Actions #1

Updated by Deca Park about 1 year ago

[ADMIN] 

1.store product/order

  • p15 ~ 18
Actions #2

Updated by Deca Park about 1 year ago

[ADMIN/API] point / station

  • p8 ~ 11
Actions #3

Updated by Deca Park about 1 year ago

  • File deleted (0907_백엔드_코레일 버그 리포트_처리 요청사항_en_20230907.pptx)
Actions #4

Updated by Deca Park about 1 year ago

  • File 0907_백엔드_코레일 버그 리포트_처리 요청사항_en_20230907.pptx added
Actions #5

Updated by Toby Pham about 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Deca Park
Actions #6

Updated by Deca Park about 1 year ago

[Payment logic process]

[API] POST /api/online_order
1.process logic (Change)
  1) INSERT DB(st_order)
    a) if payment_amount = 0
      - set order_status = 'OS01' (상품준비중) as current
    b) else payment_amount > 0
      - set order_status = 'OS00' (결제대기중) (NEW)

[API] POST /api/store_order
1.process logic (Change)
  1) INSERT DB(st_order)
    a) if payment_amount = 0
      - set smart_order_status = 'SS01' (주문확인중) as current
    b) else payment_amount > 0
      - set smart_order_status = 'SS00' (결제대기중) (NEW)

[API] POST /api/pay_confirm
1.process logic (Add)
  1) if PG confirm API is success
    a) if mst_mall.mall_type = 'online'
      - UPDATE DB(st_order)
        set order_status = 'OS01' (상품준비중)
            mod_date/mod_user_seq
    b) if mst_mall.mall_type = 'store'
      - UPDATE DB(st_order)
        set order_status = 'SS01' (주문확인중)
            mod_date/mod_user_seq

[API] /hook
1.process logic (Change)
  1) if bank deposit status = "WAITING_FOR_DEPOSIT"
    - REMOVE DB(st_order_payment) UPDATE logic and PaymentStatus.WAITING_FOR_DEPOSIT constant
 

Actions #7

Updated by Deca Park about 1 year ago

[API] GET /api/near_station_list (가까운 역 리스트)

1.process logic (Change)
  1) SELECT DB (st_station)
    - if station_code is one of st_mall.station_code, return it
    - else don't return it

Actions #8

Updated by Deca Park about 1 year ago

[API] GET /api/order

1.Response
  1) add 4 fields
    - set by st_order_payment data
    a) refund_bank_code    string    환불은행코드 (가상계좌결제시)
    b) refund_bank_name    string    환불은행명 (가상계좌결제시)
      - set 'BC' code name of refund_bank_code
    c) refund_account_number    string    환불계좌번호 (가상계좌결제시)
    d) refund_holder_name    string    환불예금주명 (가상계좌결제시)

Actions #9

Updated by Deca Park about 1 year ago

  • File deleted (0907_백엔드_코레일 버그 리포트_처리 요청사항_en_20230907.pptx)
Actions #11

Updated by Deca Park about 1 year ago

[ADMIN] 

1.store product

  • p20
Actions #12

Updated by Deca Park 8 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF