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:
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,