Last active
July 3, 2023 08:38
-
-
Save vinh0604/eb2a09db9d118e01d681fdd0fd849225 to your computer and use it in GitHub Desktop.
Merchant Checkout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Merchant Checkout | |
| Display QRPH QR code | |
| scan -> Payment Info | |
| Tenant Mobile App | |
| Payment Info | |
| input amount currency -> Confirm Payment | |
| Confirm Payment | |
| confirm -> Submit Transaction | |
| Submit Transaction& | |
| Processing payment | |
| submit -> Approve Transaction | |
| Display payment processing | |
| Payment Success | |
| Payment Failed | |
| Tenant Backend | |
| Approve Transaction | |
| send txn & QR info -> Process Transaction | |
| Charged Notification | |
| send notification -> Payment Success | |
| Cancelled Notification | |
| send notification -> Payment Failed | |
| OF | |
| Process Transaction | |
| submit Account-To-Account fund transfer -> PESONet - Instapay | |
| OF transaction success | |
| send notification -> Charged Notification | |
| OF transaction pending | |
| poll status -> retrieve fund transfer | |
| OF transaction failed | |
| send notification -> Cancelled Notification | |
| Netbank | |
| PESONet - Instapay | |
| process fund transfer | |
| settled -> OF transaction success | |
| for_settlement -> OF transaction pending | |
| pending -> OF transaction pending | |
| rejected -> OF transaction failed | |
| retrieve fund transfer | |
| settled -> OF transaction success | |
| for_settlement -> OF transaction pending | |
| pending -> OF transaction pending | |
| rejected -> OF transaction failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function render(model){ | |
| let current_state_name = model.active_states[0].name; | |
| return $("h1", | |
| {style: {color: "darkBlue"}}, | |
| `The current state is: ${current_state_name}`); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment