Project

General

Profile

Actions

Non-Function #220

closed

[APP] 주문 데이터 과다 생성

Added by Jisoo Choi 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
High
Assignee:
Start date:
12/01/2023
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

 

 

 

운영 서버 기준 윤현정(ID : store6262) 계정에서 과도하게 많은 주문 데이터가 생성되었습니다.

231201 12:36:19 ~ 12:36:57 사이 약 40초 간 45개의 데이터가 생성되었습니다.

주문 상태는 모두 결제 대기중입니다.

PG사를 통한 결제 화면에 진입했으나 결제를 하지 않은 경우에도 주문 데이터가 생성되기는 하지만,

갑자기 이렇게까지 많은 데이터가 생성된 원인을 추적할 수 있을까요?


Files

Actions #1

Updated by Deca Park 10 months ago

  • Assignee changed from Deca Park to bryant bryant

[APP] 주문하기 (/shopping/payment)
           주문하기 (/smartorder/payment)

1.주문하기 (order) button
  - disable multiple click until PG payment is done
  - currently, if multiple click, multiple same order are created

2.주문하기 button > PG payment popup (check on WEB/APP both)
  1) back button click OR the popup is closed on WEB (but, popup x button is not shown on Mobile App)
        - call [API] DELETE /api/pg_fail_order
        - close PG payment and return 주문하기 page

Actions #2

Updated by Jisoo Choi 10 months ago

 

 

   현재 주문하기버튼 클릭 시, 다중 처리 제한이 되어 있지 않아서 처리를 부탁드리고 싶습니다.

   

   (1)전액 포인트 결제일 때 : 테스트 결과 2회 정도 중복 데이터(결제 완료되어 주문 확인 중 상태) 생성됨

   (2)PG사 거치는 결제일 때 : (1)일 때보다 PG사 화면으로 연결될 때까지 지연이 있어서 2초 동안 14정도데이터(결제 대기중)를 생성할 수 있었습니다.

 
스토리 쇼핑, 오더 주문 데이터 생성 시점(버튼)이 다른데 둘 다 처리가 되어 있지 않은 것 같습니다.
 
개발, 운영 모두 버튼을 여러 번 눌렀을 경우, 전액 포인트 또는 PG사를 거쳐서 결제할 경우 동일하게 다중 데이터 생성이 가능합니다.
Actions #3

Updated by Deca Park 10 months ago

  • Assignee changed from bryant bryant to Toby Pham
Actions #4

Updated by Deca Park 10 months ago

  • Assignee changed from Toby Pham to bryant bryant
Actions #5

Updated by Deca Park 10 months ago

[APP] 주문하기 (/shopping/payment)
[APP] 주문하기 (/smartorder/payment)

1.Android App
  1) when Android back button clicks on payment page
    - ignore event (keep the page)
    - refer to store_asset_mgt_android (#9951)

Actions #6

Updated by Deca Park 10 months ago

[API] DELETE /api/pg_fail_order

1.Logic
  1) As-is : DELETE st_order_payment
  2) To-be: DELETE st_order

Actions #7

Updated by Deca Park 10 months ago

  • Assignee changed from bryant bryant to Jisoo Choi
Actions #8

Updated by Jisoo Choi 10 months ago

  • Status changed from New to Resolved
Actions #9

Updated by Jisoo Choi 10 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF