Orv2 5099 bug fix in error message in cart when insufficient available credit#2251
Merged
abhishek-dere merged 10 commits intomainfrom Mar 24, 2026
Conversation
…099-Bug-Fix-in-error-message-in-cart-when-insufficient-available-credit
Signed-off-by: Abhishek Dere <abhishek.dere@gov.bc.ca>
Updated Trivy action to version v0.35.0 for vulnerability scanning. Signed-off-by: Abhishek Dere <abhishek.dere@gov.bc.ca>
zgong-gov
reviewed
Mar 23, 2026
frontend/src/features/permits/pages/ShoppingCart/ShoppingCartPage.tsx
Outdated
Show resolved
Hide resolved
zgong-gov
reviewed
Mar 23, 2026
frontend/src/features/permits/pages/ShoppingCart/ShoppingCartPage.tsx
Outdated
Show resolved
Hide resolved
…hen-insufficient-available-credit
zgong-gov
approved these changes
Mar 24, 2026
…hen-insufficient-available-credit
|
|
|
|
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Description
Scenario: insufficient credit
Given available credit is $500
When staff attempt to pay a $501 transaction
Then they see "Transaction failed. Credit account unavailable."
And they cannot complete the transaction
In this situation, the user is provided a generic error message:
There is no indication in the cart that the problem is with the credit account (this is the same message we see if the permit’s start date is in the past).
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist
Further comments
Thanks for the PR!
Deployments, as required, will be available below:
Please create PRs in draft mode. Mark as ready to enable:
After merge, new images are promoted to: