bcgov / entity

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

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

Open riyazuddinsyed opened 3 months ago

riyazuddinsyed commented 3 months ago

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
severinbeauvais commented 3 months ago

deleted obsolete comment

severinbeauvais commented 3 months ago

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.