<style>
.markdown-body { max-width: 73%; }
svg[id^="mermaid-"] { min-width: 125%; max-width: 130%; }
</style>
# <font color='darkred'>Payment</font>
</style>
:::info
:information_source: [H O M E](https://hackmd.io/@Nokdev/SydLuyrGp/edit)
:::
[toc]
---
<br><br><br>
# <font color='dodgerblue'>2C2P</font>
```mermaid
gantt
title 2C2P
dateFormat YYYY-MM-DD
todayMarker stroke:#ADFF2F, opacity:0.7
axisFormat %b %y
%%excludes weekends
tickInterval 1month
%%START: done, milestone, 2023-01-01, 1d
section Meeting
Clarity (08sep23): done, milestone, 2023-09-08, 1d
Follow up UAT (26oct23): done, milestone, 2023-10-26, 1d
section Implementation
CERT is ready for CVT (09nov23): done, milestone, 2023-11-09, 1d
Call-Center UAT on CERT (11nov23): crit, 2023-11-11, 19d
Order ID issue (16nov23): crit, milestone, 2023-11-16, 1d
Sign off CVT (17nov23) POSTPONE (10jan24): crit, milestone, 2024-01-10, 1d
PVT on PROD (xxjan24): crit, 3d
Go Live (xxjan24): crit, milestone, 1d
End Of Year: milestone, 2023-12-31, 1d
```
## [Diagram](https://miro.com/app/board/uXjVOE_TVSY=/?moveToWidget=3458764562349701036&cot=14)
## <span style='color: gray;'>Requirement</span>
> `26oct23`
> - Call Center ใช้เฉพาะ THB
> - 2C2P สามารถ set currencies อื่นได้ภายหลัง
## <span style='color: gray;'>BRD / CR</span>
1. [Radixx's Project Scope Signed](https://nok365.sharepoint.com/:b:/r/sites/NokIT/Shared%20Documents/General/Payment/2C2P/ProjectScope_Nok%20Air_2C2P%20v1.1_Signed.pdf?csf=1&web=1&e=uzzSR8)
<br><br><br>
# <span style='color: dodgerblue;'>Hold Payment</span>
- [Diagram](https://miro.com/app/board/uXjVOE_TVSY=/?moveToWidget=3458764564673913469&cot=14)
<br><br><br>
# <span style='color: dodgerblue;'>Timeline</span>
## <span style='color: salmon;'>Radixx</span>
```mermaid
gantt
title Payment Enhancement (Radixx)
dateFormat YYYY-MM-DD
todayMarker stroke:#ADFF2F, opacity:0.7
axisFormat %d-%b-%y
%%tickInterval 1month
section Tasks
Set the contact point (Wichai): done, milestone, 2023-05-30, 1h
Review the workflow (David Smeringe): crit, 2023-06-20, 3w
Start to Dev: crit, milestone, 2023-08-15, 1h
Get requirement: crit, 1w
Coding: crit, 4w
UAT: crit, 1w
Go Live: crit, milestone, 1d
section Meeting
Get requirements: done, milestone, 2023-03-31, 1h
Catch-up with internal Dev: done, milestone, 2023-07-06, 1h
```
<br><br>
# <span style='color: mediumpurple;'>SCB</span>
## SCB Production Profile
| Type | Merchant ID | Sub-Account ID | Kanya Ngarmyoo [kanya.nga@nokair.com] | Chattarin Kestong [Chattarin.Kes@nokair.com] | Tussanee Dumsri [Tussanee.Dum@nokair.com] |
| ------------- |:-----------:|:--------------:|:-------------------------------------:|:--------------------------------------------:|:-----------------------------------------:|
| NOKAIR.COM | 2023813603 | 202310046546 | NOKAIRCOM | NOKAIRCOM1 | NOKAIRCOM2 |
| DirectPay | 2023813604 | 202310041520 | NOKAIRDP | NOKAIRDP1 | NOKAIRDP2 |
| NOK FAN CLUB | 2023813605 | 202310048918 | NOKAIRFC | NOKAIRFC1 | NOKAIRFC2 |
| Web Pay | 2023813606 | 202310040036 | NOKAIRWP | NOKAIRWP1 | NOKAIRWP2 |
| STAFF WELFARE| 2023813607 | 202310045496 | NOKAIRSW | NOKAIRSW1 | NOKAIRSW2 |
```mermaid
gantt
title SCB Connection
dateFormat YYYY-MM-DD
todayMarker stroke:#ADFF2F, opacity:0.7
axisFormat %d-%b-%y
%%tickInterval 1month
section Meeting
Internal meeting with Kaak: done, milestone, 2023-04-26, 1h
Meeting with SCB - Technical part: done, milestone, 2023-06-26, 1h
WebPay Test result: crit, milestone, 2023-07-10, 1h
section Dev
Test Sandbox: done, 2023-04-26, 9w
Test WebPay: crit, 2023-06-26, 2w
UAT on cloud: crit, 2023-06-26, 4w
section Commercial
Reactivity with SCB (Within 30jun23): crit, milestone, 2023-06-30, 1h
Go Live (Payment): crit, milestone, 2023-08-31, 1h
```
<br><br>
# <span style='color: salmon;'>Workflow</span>
## <span style='color: pink;'>Top up</span>
<span style='color: purple;'>`06jul23`</span>
```mermaid
flowchart LR
subgraph ez [EzyCommerce]
tap([TA Portal])
end
db[(Radixx)]
u(User) -.->|1. Click menu Top up| tap
u -.->|2. Select Direct Pay Bank| tap
u -.->|3. Select Top up amount| tap
tap -.->|4. Request| nps([Nok Payment Service])
nps <-.-> |5. Request/Response|bk((Bank))
nps -.->|6. Call back| ez
ez -.-> |7. Verify| x1{X}
x1 -.->|8. Top up Complete| up[Update Amount]
up -.-> db
db -.->|9. Display new amount| tap
classDef action color: black, fill: azure, stroke: skyblue, stroke-dasharray: 0 0
classDef crit color: slategray, fill: salmon, stroke: coral, stroke-dasharray: 0 0
classDef apps color: SlateGray, fill: lightyellow, stroke: gold, stroke-dasharray: 2 2
classDef gray color: black, fill: whitesmoke, stroke: darkkhaki, stroke-dasharray: 2 2
class up action
class tap apps
class nps crit
class ez gray
```
<br><br><br>
# <span style='color: darkkhaki;'>Payment Method</span>
## Channel (Offline)
1. ATM
- AB (BBL)
- AK (KBank)
- AS (SCB)
- AT (TMB)
1. Counter Service
- CR (Counter Service Reservation)
- CT (7-Eleven)
- KT (KTB Teller)
1. QR
- QS (QR Payment by SCB)
1. POS
- BA (EDC BBL Alipay)
- BJ (EDC JCB BBL)
- BM (EDC Master Card BBL)
- BV (EDC Visa Card BBL)
- BW (EDC BBL Wechat Pay)
- CB (Cash POS)
- QB (QR Payment by BBL)
1. SE-ED
- SE
<br><br><br>
# <span style='color: darkkhaki;'>QR Payment</span>
## TA Topup
- [TA Topup Web](https://api3.nokair.com/prod/QRCode/TATopupQRCode.aspx)
- THCTEST1 / Oct@2023 `18oct23`
