bcgov / bcgov/entity

Wrong payment_method on payments in OB exception / CC payoff flow

Open
#33,287 1 comment 0 reactions 0 assignees View on GitHub
bug Pay
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

In the online banking exception flow where the client pays with a credit card, the payments record can be saved as ONLINE_BANKING while the invoice stays CC.
update_transaction uses payments.payment_method_code, so receipt completion can fail even when CFS shows a paid receipt.
Fix: set payment_method_code to match the actual rail (CC) when creating/updating that payment.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the online banking exception and CC payoff flow into update_transaction, then inspect where payment_method_code is assigned when the payment is created or updated. Done means the payment records the actual CC rail and receipt completion no longer fails when CFS shows a paid receipt.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
payments
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.