Skip to content

Namex - Build Resend Notification on each Notify Record. #20384

Closed
1 of 1 issue completed
Closed

Description

@ozamani9gh

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    Names Team
    on Mar 19, 2024
  2. self-assigned this
    on Apr 23, 2024
  3. self-assigned this
    on May 21, 2024
  4. eve-git commented on May 22, 2024

    @eve-git
    Collaborator

    We have a notification_history table, but it does not store the email body. The email body needs to be regenerated based on the information we have. Here are the notification types and their required parameters:

    • before-expiry: nr_num, expiration_date
    • expiry: nr_num, expiration_date
    • renewal: nr_num, expiration_date (after payment update)
    • upgrade: nr_num (after payment update)
    • refund: nr_num, refund, refund_value
    • receipt: nr_id, payment_token, state_cd

    Currently, I believe the problem is retrieving emails sent before NR renewal—the previous expiration dates need to be retrieved from the log.
    Additionally, the current notify-api does not support retrieving specific NR data from the notification_history table. I will open a ticket with the SRE team.
    Finally, displaying the email body in the UI is also a challenge. New functions will need to be created to ensure the email body appears in the UI. -- I wonder if it is possible to display only the parameters used to generate the email in the UI, instead of the entire email body?

  5. eve-git commented on May 22, 2024

    @eve-git
    Collaborator

    The UI design looks great. However, considering the implementation, is it possible to make some changes?

    1. We don’t store the body of emails. To display the entire email in the UI, we would need to generate the email on the fly, and the email template is in the entity-queue project, which is better left untouched at this level. Instead, could the notification histories be displayed as a list with columns such as:

    image.png

    1. Additionally, I have concerns about retrieving historical data after edits.
      For example, if we resend a receipt after updating names, the NR name information in the receipt will reflect the current name information instead of what was in the original receipt. Is this acceptable?
  6. oanyahuru commented on May 23, 2024

    @oanyahuru
    Collaborator

    @eve-git I have reached out to the design team on your first question above. I have also contacted the examiners for their comments on the second point. I will keep you posted

  7. eve-git commented on May 24, 2024

    @eve-git
    Collaborator

    Support required from other apps:

    1. BCRegistry-SRE/notify-api: To retrieve all the notification histories for a specific NR, a new api service is needed.
    2. Entity-emailer: An NR payment notification includes name choices, which a user may update after payment. Currently, the name information is retrieved by the entity-emailer using the input nr_id. To ensure the email content remains consistent with the original, we need to pass the name information to the entity-emailer as well.
  8. oanyahuru commented on May 28, 2024

    @oanyahuru
    Collaborator

    @eve-git the design team has proposed a new design
    image.png
    The business also responded to your second question
    image.png

  9. eve-git commented on Jun 4, 2024

    @eve-git
    Collaborator

    Namex has an events table. I am considering saving the NR states before sending the notification. The notification can then be retrieved by sending the NR states to the entity-emailer. I will discuss this possibility with the entity developer

  10. eve-git commented on Jun 5, 2024

    @eve-git
    Collaborator
  11. assigned and unassigned on Apr 23, 2025
  12. moraesfm commented on May 13, 2025

    @moraesfm

    Tests performed in TEST env:
    -Creation of a new Sole Prop business in BC - OK
    -Creation of an extra provincial Corp - OK
    -Consume new business (Sole Prop) - OK
    -Change of name - Rejected - OK
    -Emails received - OK
    -New Extra provincial Limited
    -Amalgamation of 2 numbered companies BC - NOK

    Other tests performed:
    1 Search names
    1.1 Start new BC-based business
    1.1.1 Limited Company
    1.1.2 Sole Proprietorship
    1.1.4 General Partnership

    1.2 For business that already exist outside BC
    1.2.1 Register a business in BC that is incorporated in another jurisdiction
    1.2.2 End business registration in another jurisdiction and transfer to BC

    2 Manage My Name Request – NameX
    2.1 Request
    2.1.1 Edit Request
    2.1.2 Show Details
    2.1.3 Hold Request

    2.2 Approve/Reject
    2.2.1 Quick Approve
    2.2.2 Reject Distinctive
    2.2.3 Reject Descriptive

    2.3.1 Conflicts
    2.3.2 Conditions
    2.3.3 Trademarks
    2.3.4 History
    2.3.5 Compare
    2.3.6 Decision
    2.3.6.1 Conditions
    2.3.6.2 Conflicts
    2.3.6.3 Macros
    2.3.6.4 Message to Requestor

    3 Payment (23710)
    3.1 Credit Card
    3.2 No Fee
    3.5 Download Receipts
    3.6 Cancel and Refunds

  13. changed the title [-]Name Examination UI - Build Resend Notification on each Notify Record.[/-] [+]Namex API - Build Resend Notification on each Notify Record.[/+] on May 21, 2025
  14. changed the title [-]Namex API - Build Resend Notification on each Notify Record.[/-] [+]Namex - Build Resend Notification on each Notify Record.[/+] on May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GCP MigrationNames TeamPriority1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions