New Function #141
closed
[API/Scheduler] PG payment
Added by Deca Park over 1 year ago.
Updated about 1 year ago.
Description
1.API
2.[ADMIN] SchedulerTasks > changeSmartOrderStatus()
- orderPaymentService.cancelOrderPayment
- set st_order_payment.cancel_user_seq by NULL (currently, it's set by 1)
Files
- Status changed from New to Resolved
- Assignee changed from bryant bryant to Deca Park
[API] POST /api/pay_confirm
1.add logic (after PG API call)
1) UPDATE DB(st_order)
a) payment_method
- set value by PG API response > method
- if method = "카드", set "PV01"
"가상계좌", set "PV02"
"간편결제", set "PV03"
"휴대폰", set "PV04"
"계좌이체", set "PV05"
2) UPDATE DB(st_order_payment)
a) payment_method
- same with 1)-a)
- Status changed from Resolved to Closed
Also available in: Atom
PDF