Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/transfers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ Full example
tan = input('Please enter TAN:')
res = client.send_tan(res, tan)
elif isinstance(res, NeedVOPResponse):
if res.vop_result.vop_single_result.result == "RVMC":
if res.vop_result.vop_single_result.result == "RCVC":
print("Payee name is an exact match")
if res.vop_result.vop_single_result.other_identification:
print("Other info retrieved by bank:", res.vop_result.vop_single_result.other_identification)
elif res.vop_result.vop_single_result.result == "RVMC":
print("Payee name is a close match")
print("Name retrieved by bank:", res.vop_result.vop_single_result.close_match_name)
if res.vop_result.vop_single_result.other_identification:
Expand Down
3 changes: 2 additions & 1 deletion fints/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,8 @@ def _send_pay_with_possible_retry(self, dialog, command_seg, resume_func):
hivpp = response.find_segment_first(HIVPP1, throw=True)

vop_result = hivpp.vop_single_result
if vop_result.result in ('RVNA', 'RVNM', 'RVMC'): # Not Applicable, No Match, Close Match
# Not Applicable, No Match, Close Match, or exact match but still requires confirmation
if vop_result.result in ('RVNA', 'RVNM', 'RVMC') or (vop_result.result == 'RCVC' and '3945' in [res.code for res in response.responses(tan_seg)]):
return NeedVOPResponse(
vop_result=hivpp,
command_seg=command_seg,
Expand Down