bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

EFT - Credit Card overdue unlock and consolidated invoices flows - Backend #22655

Open seeker25 opened 1 month ago

seeker25 commented 1 month ago

Needs some touch ups etc.

PAY-API Frontend

Reverse invoices for consolidated invoices

Flows:

  1. EFT Client is overdue, they never navigate to the consolidation payments screen (NSF lock flow and don't hit the next button on credit card) - no cfs_invoice is created for consolidated invoice and no invoice_reference is created. They pay by regular EFT and it works.
  2. EFT Client is overdue, pay by credit card, creates consolidated invoices which goes in and reverses the "regular" invoice, this should still unlock the users.
  3. EFT Client is overdue they start the pay by credit card which creates a consolidated invoice, they eventually pay by EFT instead. The job is smart enough to realize they had a consolidated invoice, reverses that and completes payment on the "regular" invoice

Decision: When and EFT account is suspended for being overdue, only the invoices from the overdue statement need to be payed off in order to unlock.

JohnamLane commented 1 month ago

Hey team! Please add your planning poker estimate with Zenhub @Jxio @lizhuomeng71 @ochiu @rodrigo-barraza @seeker25

seeker25 commented 2 weeks ago

Upping to a 5, I see alot of sections that aren't complete and I have many questions

seeker25 commented 2 weeks ago

Ken I think there are still some issues with this ticket on the frontend at least:

When you unlock, not hitting successful unlock screen Statements aren't clicklable The payment instructions URL isn't clickable

lizhuomeng71 commented 1 week ago

Pending Front End Issue to be resolved for further testing

lizhuomeng71 commented 3 hours ago

For Item 3, we identified the following issue:

Select an EFT account that has an overdue statement with at least 2 invoices. Go through the account suspension flow, select "Credit Card," and proceed to the credit card payment screen. Do not complete the payment by credit card and exit the screen. Next, go to the Manage EFT screen and pay off the statement using EFT by running ./run_etf_task.sh. The issue: only one of the two invoices is being paid off instead of both.

These 2 account has this issue KEN EFT 21 0912 dRvo (2475) KEN EFT 21 0912 Ihdo (2474)