Comments (13)
The transaction status of the renewal is "Payment Initialized' as
The payment status is PAID in sbc_pay:
But the payment status hasn't updated in namex.payments table:
The issue can be reproduced in the TEST environment (NR 7687277). The payment status was updated to 'PAID'; however, in namex.payments, the status is still 'CREATED' due to the absence of a namex_pay queue pod in the TEST environment.
from entity.
The following 3 NRs are not in the case because the renewal payments are not complete:
from entity.
In most cases, the payment status is updated in the pay-db. However, if the namex payment queue stopped running (or due to other issues), the payment status was not updated in namex, causing the expiry date not to be updated.
from entity.
Some work related to queue has been done last month by https://app.zenhub.com/workspaces/names-team-board-new-655554cbddd49510027dad2e/issues/gh/bcgov/entity/19490
I wonder if the issue is related?
I picked the latest 50 namex.payment records with payment_status='CREATED', and there are 13 out of 50 sbc-pay.invoices.invoice_status_code = 'PAID' which is inconsistence to what in namex:
"id" "invoice_status_code" "created_on" "payment_date" "business_identifier" "payment_method_code"
5513193 "PAID" "2024-05-23 07:30:55.596998" "2024-05-23 07:32:04.039998" "NR 1123292" "DIRECT_PAY"
5516440 "PAID" "2024-05-23 17:03:43.583764" "2024-05-23 17:05:29.109551" "NR 1359547" "DIRECT_PAY"
5518413 "PAID" "2024-05-23 18:54:11.285821" "2024-05-23 18:54:53.349016" "NR 4167789" "DIRECT_PAY"
5519590 "PAID" "2024-05-23 19:55:26.553389" "2024-05-23 19:56:19.556562" "NR 4958058" "DIRECT_PAY"
5520836 "PAID" "2024-05-23 21:16:32.127082" "2024-05-23 21:17:23.517872" "NR 1487098" "DIRECT_PAY"
5521482 "PAID" "2024-05-23 21:48:59.966042" "2024-05-23 21:50:19.764092" "NR 0860828" "DIRECT_PAY"
5521896 "PAID" "2024-05-23 22:14:32.229578" "2024-05-23 22:14:50.950092" "NR 5208234" "DIRECT_PAY"
5523720 "PAID" "2024-05-24 02:34:02.247826" "2024-05-24 02:35:37.997366" "NR 5977403" "DIRECT_PAY"
5523973 "PAID" "2024-05-24 05:29:32.687896" "2024-05-24 05:30:40.895676" "NR 1670025" "DIRECT_PAY"
5525823 "PAID" "2024-05-24 15:49:21.026468" "2024-05-24 15:49:48.575233" "NR 9740303" "DIRECT_PAY"
5527564 "PAID" "2024-05-24 17:42:18.522011" "2024-05-24 17:42:43.386127" "NR 1664138" "DIRECT_PAY"
5531925 "PAID" "2024-05-24 22:03:56.473788" "2024-05-24 22:04:45.616279" "NR 0270829" "DIRECT_PAY"
5532605 "PAID" "2024-05-24 22:45:53.985027" "2024-05-24 22:46:22.966034" "NR 0454058" "DIRECT_PAY"
from entity.
@bolyachevets could you please take a look?
from entity.
Some work related to queue has been done last month by https://app.zenhub.com/workspaces/names-team-board-new-655554cbddd49510027dad2e/issues/gh/bcgov/entity/19490
I wonder if the issue is related?
I picked the latest 50 namex.payment records with payment_status='CREATED', and there are 13 out of 50 sbc-pay.invoices.invoice_status_code = 'PAID' which is inconsistence to what in namex:
"id" "invoice_status_code" "created_on" "payment_date" "business_identifier" "payment_method_code" 5513193 "PAID" "2024-05-23 07:30:55.596998" "2024-05-23 07:32:04.039998" "NR 1123292" "DIRECT_PAY" 5516440 "PAID" "2024-05-23 17:03:43.583764" "2024-05-23 17:05:29.109551" "NR 1359547" "DIRECT_PAY" 5518413 "PAID" "2024-05-23 18:54:11.285821" "2024-05-23 18:54:53.349016" "NR 4167789" "DIRECT_PAY" 5519590 "PAID" "2024-05-23 19:55:26.553389" "2024-05-23 19:56:19.556562" "NR 4958058" "DIRECT_PAY" 5520836 "PAID" "2024-05-23 21:16:32.127082" "2024-05-23 21:17:23.517872" "NR 1487098" "DIRECT_PAY" 5521482 "PAID" "2024-05-23 21:48:59.966042" "2024-05-23 21:50:19.764092" "NR 0860828" "DIRECT_PAY" 5521896 "PAID" "2024-05-23 22:14:32.229578" "2024-05-23 22:14:50.950092" "NR 5208234" "DIRECT_PAY" 5523720 "PAID" "2024-05-24 02:34:02.247826" "2024-05-24 02:35:37.997366" "NR 5977403" "DIRECT_PAY" 5523973 "PAID" "2024-05-24 05:29:32.687896" "2024-05-24 05:30:40.895676" "NR 1670025" "DIRECT_PAY" 5525823 "PAID" "2024-05-24 15:49:21.026468" "2024-05-24 15:49:48.575233" "NR 9740303" "DIRECT_PAY" 5527564 "PAID" "2024-05-24 17:42:18.522011" "2024-05-24 17:42:43.386127" "NR 1664138" "DIRECT_PAY" 5531925 "PAID" "2024-05-24 22:03:56.473788" "2024-05-24 22:04:45.616279" "NR 0270829" "DIRECT_PAY" 5532605 "PAID" "2024-05-24 22:45:53.985027" "2024-05-24 22:46:22.966034" "NR 0454058" "DIRECT_PAY"
@eve-git This is not related to queue upgrade, as the code has not made it to test/prod. The queue upgrade code is only in dev. But, there is potential for this to be fixed, if NATS queue is the culprit, once we do move with the upgrade to test/prod.
from entity.
@EPortman i will move this to ready for release because we believe it has been fixed in dev/test, after namex api gets pushed to prod, lets verify this is no longer an issue.
from entity.
@ozamani9gh sounds good. I made a reminder to test this later this week.
from entity.
@ozamani9gh I am not able to verify if this has been fixed in Prod? Have we had any examiners confirm that this is still an issue or if it has been remediated with the NameX API release?
from entity.
@EPortman please reach out to @Mihai-QuickSilverDev and confirm this is not happening in prod anymore with the examiners. once done, update ticket and i will close.
from entity.
sent email to Megan and Joshua
from entity.
sent email to Megan and Joshua
from entity.
Will close for now, if issue reappears we can revisit.
from entity.
Related Issues (20)
- QA Bug : Mismatch between current & new Dashboard - To do - BC Sole Proprietorship - FM1100324 HOT 1
- Names-Examination UI Duplicate patch request with 401 response on Approval
- QA : Testing Ticket to test all different types/ combination in new Dashboard
- Training and Procedures for Business A/R
- End to End testing of the product HOT 1
- Bookmark - check auth and account selection
- New URL for Registration Certificates
- SPIKE - Can we get PID via API to BC Data Warehouse HOT 1
- Host Certificate - waiting for final information HOT 5
- UI - Blocking QS Transfers on PPR Registration Type TA HOT 16
- SPIKE - Email Notifications
- STRR Sprint 22.4 - Sprint Goal
- Filings UI NIGS - Hover Text and Disable Dissolve the business HOT 1
- FOIPPA Collection Notice HOT 3
- PIA Technical Architect Overview HOT 2
- COD - Receipt Output error HOT 3
- Fix docker-compose error in CI testing HOT 1
- APIs for Platform Registration Form Pages HOT 2
- [Platform Application Form] -Step 1 - Contact Information Page HOT 1
- UI Design - Verify Identity with BCSC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entity.