bcgov / bcgov/foi-flow

Applicant is taken to payment failure page during cancellation flow

Open
#3,181 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
8
Forks
2
Avg merge
14h 34m
Merged PRs (30d)
46

Description

**Describe the bug in current situation**
In the fee processing flow, on trying to cancel the transaction; the application page is redirected to the "payment failure" page. Whereas, this has to be a new page with reference to the "cancellation with payment options".

**Link bug to the User Story**

**Impact of this bug**
N/A. This is misinterpretation of action.

**Chance of Occurring (high/medium/low/very low)**
Low

**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Create new application and proceed till payment
2. Click the "pay online" link from e-mail
3. Select "Pay Full Estimate Fee" and click "Process Payment"
4. In the payment screen, click "Cancel"
![image.png](https://images.zenhubusercontent.com/6081aecd755ce5720b249eb2/f705c830-dc14-4a93-a40c-e65823dfe6a4)
5. Application redirected to "Payment Failed". Refer below,
![image.png](https://images.zenhubusercontent.com/6081aecd755ce5720b249eb2/2b6083f0-8723-43ff-8b67-41c189240f87)
**Actual/ observed behaviour/ results**

**Expected behaviour**
The applicant to be taken to new page; where it clearly states cancel action and provide available payment options.

**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Reproduce the flow through the payment link, full estimate fee, Process Payment, and Cancel actions, then trace the cancellation routing and the payment-failure page. Done means cancellation reaches a distinct page that clearly states the cancellation and presents the available payment options.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend, payments
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.