bcgov / entity

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

SPIKE - EFT - Figure out how to handle CFS_ACCOUNT for PAD and EFT at the same time #22063

Open seeker25 opened 1 week ago

seeker25 commented 1 week ago

Example scenario: A pad account is frozen for NSF, so a user pays off their PAD and unlocks. CFS account moves from FREEZE to ACTIVE. The user previous to 6 pm creates PAD invoices.. then they switch to EFT and create invoices as well.

This could apply towards switching between PAD and ONLINE_BANKING since they both use CFS account as well.

We need to handle this at the create_cfs_account/create_cfs_invoices level.. also in the pay-queue.

https://github.com/bcgov/entity/issues/21968

seeker25 commented 1 week ago

The update payment method just needed to be tweaked so it wouldn't create a new row.

seeker25 commented 3 days ago

Waiting for feedback from CFS.

select * from invoices where id in (719943,719944);

Should be created on TEST, by switching the site from PAD -> EFT

seeker25 commented 1 hour ago

This is growing in scope, because CFS hasn't provided us a clear path on how to do this.

I've tried two different ways:

  1. Updating the site and creating invoices
  2. Creating a new site (say one for PAD, one for EFT) and creating invoices

Neither have produced results.. the PAD feedback doesn't come back, so we have to go with the third option which is unfortunate because of duplication of information:

  1. Create a new CFS account per payment method