Project

General

Profile

Actions

New Function #134

closed

[ADMIN/API] KRS 판매처리 (sales process) API

Added by Deca Park 11 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
10/24/2023
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

1.target
  1) POS [API] POST /api/pos/order_product_receive (st_order.smart_order_status is updated with 'SS04' (수령완료))
      - call KRS 판매처리 (sales process) API of sales type

  2) [ADMIN] 스토리 오더 관리 > 주문 관리(/storeOrder) > 상세(Modify) > 저장(save)
      a) if 주문 상태(smart_order_status) is updated with 'SS04' (수령완료)
        - call KRS 판매처리 (sales process) API of sales type
      b) if 주문 상태(smart_order_status) is updated from 'SS04' (수령완료) to 'SS11' (매장취소(환불))
        - call KRS 판매처리 (sales process) API of sales cancel type

2.KRS 판매처리 (sales process) API

  • refer to attach txt file

Files

Actions #1

Updated by bryant bryant 11 months ago

  • Status changed from New to Resolved
  • Assignee changed from bryant bryant to Deca Park
Actions #2

Updated by Deca Park 11 months ago

[KRS API]

1.RequestBody

  • "orderStat": set by {st_order.smart_order_status}
  • "cancelAmt" : if [sales type], set by 0
  • "itemCds"."taxType" : set by {st_product.krs_taxn_se_cd}
Actions #3

Updated by Deca Park 11 months ago

  • Description updated (diff)
Actions #4

Updated by Deca Park 11 months ago

1.when call KRS API, set encode into header

  • header
  • Content-Type
  • application/json;encode=utf-8
Actions #5

Updated by Deca Park 11 months ago

[KRS API]

1.target

2.header (add)

  • Authorization : "Basic{ID:PASSWORD}" 
  • {ID:PASSWORD} : "223.130.172.33:krstorywayplus7788!@#" (Base64 Encode)
     
  • Authorization :  aes.AES_Encode("storyplus", {key}) 
  • {key} : "KORstoryplus"+{current mmdd} (ex: KORstoryplus1103)
  • use attached AES256Cipher.java 
Actions #7

Updated by Deca Park 11 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Deca Park to bryant bryant
Actions #8

Updated by bryant bryant 11 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from bryant bryant to Deca Park
Actions #9

Updated by Deca Park 10 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Deca Park to bryant bryant

[API] POST /api/pos/order_product_receive

1.OrderService.receiveOrderProduct()
  1) when call productApiService.insertOrCancelSaleInfo(order, false);
    - setSmartOrderStatus("SS04"); // 수령완료(SS04)
    - currently, previous smart_order_status is transferred into API

[ADMIN]

1.StoreOrderController
  1) when call productApiService.insertOrCancelSaleInfo()
    - setSmartOrderStatus("SS04"); // 수령완료(SS04)
    - currently, previous smart_order_status is transferred into API
 

Actions #10

Updated by bryant bryant 10 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from bryant bryant to Deca Park
Actions #11

Updated by Deca Park 8 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF