generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Updates to credit account payment sequences (#1290)
- Loading branch information
1 parent
d008acd
commit 5af9131
Showing
6 changed files
with
79 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
21 changes: 20 additions & 1 deletion
21
common/payment/Credit Accounts/Pay Credit Account Cheque Sequence.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
# Sequence to make a payment against a credit account via cheque | ||
|
||
```mermaid | ||
sequenceDiagram | ||
participant cvc as CV Client | ||
participant PPC | ||
participant onRouteBC | ||
participant CFS | ||
cvc->>PPC: Provice cheque to PPC | ||
note over cvc,PPC: Can send via physical mail<br/>or in person at permit centre | ||
PPC->>onRouteBC: Find client by client<br/>number | ||
onRouteBC-->>PPC: Show client page | ||
PPC->>onRouteBC: Record payment | ||
note over PPC,onRouteBC: TBD what interface will look<br/>like, but will include a form<br/>to supply amount and payment<br/>method. | ||
alt CFS is unavailable | ||
onRouteBC->>onRouteBC: Save payment details<br/>including cheque number<br/>and amount to DB<br/>for later processing | ||
else CFS is available | ||
onRouteBC->>CFS: Create receipt | ||
note over onRouteBC,CFS: TBD whether the receipt will<br/>need to be explicitly applied to<br/>outstanding invoices or if it can<br/>just be left on file. | ||
CFS-->>onRouteBC: Return receipt number | ||
onRouteBC->>onRouteBC: Record receipt number in DB | ||
onRouteBC-->>PPC: Return success message | ||
end | ||
``` |
34 changes: 33 additions & 1 deletion
34
common/payment/Credit Accounts/Pay Credit Account EFT Sequence.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,37 @@ | ||
# Sequence to make a payment against a credit account via EFT/Wire Transfer | ||
|
||
```mermaid | ||
sequenceDiagram | ||
participant cvc as CV Client | ||
participant cbank as Client Bank | ||
participant mbank as MoTI Bank | ||
participant pt as Provincial Treasury | ||
participant PPC | ||
participant onRouteBC | ||
participant CFS | ||
cvc->>cbank: Initiate EFT/Wire Transfer | ||
cbank->>mbank: Transfer funds | ||
mbank-->>cbank: Success message | ||
cbank-->>cvc: Success message | ||
note over cvc,mbank: This process may take several days to process | ||
pt->>mbank: Retrieve transactions | ||
mbank-->>pt: Send transaction list | ||
note over mbank,pt: The transaction list is requested<br/>daily by PT | ||
pt->>PPC: Email transaction list | ||
note over pt,PPC: The email is the trigger for<br/>PPC to initiate recording payment | ||
loop For each transaction | ||
PPC->>onRouteBC: Find client by client<br/>number | ||
onRouteBC-->>PPC: Show client page | ||
PPC->>onRouteBC: Record payment | ||
note over PPC,onRouteBC: TBD what interface will look<br/>like, but will include a form<br/>to supply amount and payment<br/>method. | ||
alt CFS is unavailable | ||
onRouteBC->>onRouteBC: Save payment details<br/>including transaction id<br/>and amount to DB<br/>for later processing | ||
else CFS is available | ||
onRouteBC->>CFS: Create receipt | ||
note over onRouteBC,CFS: TBD whether the receipt will<br/>need to be explicitly applied to<br/>outstanding invoices or if it can<br/>just be left on file. | ||
CFS-->>onRouteBC: Return receipt number | ||
onRouteBC->>onRouteBC: Record receipt number in DB | ||
onRouteBC-->>PPC: Return success message | ||
end | ||
end | ||
``` |
19 changes: 18 additions & 1 deletion
19
common/payment/Credit Accounts/Pay Credit Account Online Banking Sequence.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
# Sequence to make a payment against a credit account via online banking bill payment | ||
|
||
```mermaid | ||
sequenceDiagram | ||
participant cvc as CV Client | ||
participant cbank as Client Bank | ||
participant rbank as Royal Bank | ||
participant mbank as MoTI Bank | ||
participant CFS | ||
cvc->>cbank: Initiate online bill payment | ||
cbank->>rbank: Transfer funds | ||
note over cbank,rbank: Royal Bank is the broker for<br/>all online bill payments in<br/>Canada. | ||
rbank->>mbank: Send funds | ||
note over cvc,mbank: This process may take several days to process | ||
CFS->>rbank: Request online bill payment transactions | ||
note over CFS,rbank: This is provided as an FTP file, but should<br/>not matter to onRouteBC | ||
rbank-->>CFS: Return transaction list | ||
loop For each transaction | ||
CFS->>CFS: Record receipt on account | ||
end | ||
note over cvc,CFS: The entire bill payment process is transparent to <br/>onRouteBC and happens automatically each day | ||
``` |
2 changes: 2 additions & 0 deletions
2
common/payment/Credit Accounts/Pay Credit Account PayBC Sequence.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Sequence to make a payment against a credit account via PayBC / Credit Card | ||
|
||
This sequence is TBD. Though paying credit accounts through PayBC has been discussed as a possible requirement no discovery has been done on it. | ||
|
||
```mermaid | ||
``` |
5 changes: 0 additions & 5 deletions
5
common/payment/Credit Accounts/Pay Credit Account Sequence - Master.md
This file was deleted.
Oops, something went wrong.