Skip to content

[Monitor] Intermittent Errors: Legal API. showing payment as pending where as the PAY API showing the payment status as complete. #22609

Closed

Description

@riyazuddinsyed

Describe the bug in the current situation
In some cases, like while trying to complete any boot strap filing when the users make a payment the legal API returns the response as Status Pending, whereas the PayAPI returns the response as completed thereby leaving the user in an intermittent state.

Legal API returning the status as Pending.
Screen Shot 2024-08-01 at 12.49.03 PM.png

Pay API returning the state as pending
Screen Shot 2024-08-01 at 12.49.28 PM.png

Intermittent state the user is left in
Screen Shot 2024-08-01 at 12.49.20 PM.png

Activity

  1. added
    bug
    Entities Team
    on Aug 1, 2024
  2. severinbeauvais commented on Aug 1, 2024

    @severinbeauvais
    Collaborator

    deleted obsolete comment

  3. changed the title [-]Intermittent Errors: Legal API. showing payment as pending where as the PAY API showing the payment status as complete.[/-] [+][Monitor] Intermittent Errors: Legal API. showing payment as pending where as the PAY API showing the payment status as complete.[/+] on Aug 1, 2024
  4. severinbeauvais commented on Aug 1, 2024

    @severinbeauvais
    Collaborator

    It sounds like the original payment was "slow" to flow through the queues, such that Filings UI displayed a "pay incomplete" message. When Riyaz clicked to retry payment, Pay said it was already paid. When Riyaz continued to the filing (returned to Filings UI), the latest state was available and the filing displayed as paid.

  5. OlgaPotiagalova commented on Jan 27, 2025

    @OlgaPotiagalova
    Collaborator

    @Mihai-QuickSilverDev reports this problem in seen in Prod. User calls to BC Registries and complains that they have a proof from the bank account the payment has been processed. The message to the user in misleading. For now the workaround is to periodically restart the queue.

    The assumption in the issue is with queues processing, being stuck, etc. Migrating to GCP might help to alleviate the problem.

  6. OlgaPotiagalova commented on Jan 27, 2025

    @OlgaPotiagalova
    Collaborator

    About 2 tickets per week are raised as a result

  7. severinbeauvais commented on Jan 27, 2025

    @severinbeauvais
    Collaborator

    I chatted with Argus about this.

    He says that, sometimes, a filing gets stuck because there's something wrong with the filing (like invalid share structure) that breaks the Filer, and the filing just keeps getting re-processed and fails each time. In this case, someone needs to get into the weeds to fix the filing and have it processed successfully.

    Notably, restarting the queues will not fix this scenario. (But I don't know if that's the scenario reporting by Riyaz, above.)

  8. severinbeauvais commented on Feb 25, 2025

    @severinbeauvais
    Collaborator

    Proposed way forward:

    • look in Prod logs for stuck filings
    • figure out why the filing is stuck
    • fix or create tickets to fix any issues found
  9. Mihai-QuickSilverDev commented on Feb 26, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • For what it's worth, I did not get any such Ops tickets in Prod.
    • It would be rather hard to catch these in Prod, unless a client reports it.
  10. vikas-gov commented on Mar 7, 2025

    @vikas-gov
    Collaborator

    Need to monitor and find ways to identify root cause based on available logging
    -- try using 3g network to replicate

  11. JazzarKarim commented on May 8, 2025

    @JazzarKarim
    Collaborator

    We did not see this lately, so we'll be closing this ticket for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities TeamPriority1bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions