From ce70c626ee8365d922392710d3b2a779a151e565 Mon Sep 17 00:00:00 2001 From: Sebastian Lukas <45936573+SebaLukas@users.noreply.github.com> Date: Wed, 19 Jul 2023 10:47:07 +0200 Subject: [PATCH] Updated to the new authorization type (#16) Signed-off-by: Sebastian Lukas --- iso15118/secc/states/iso15118_2_states.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iso15118/secc/states/iso15118_2_states.py b/iso15118/secc/states/iso15118_2_states.py index f2c5da31..34df8699 100644 --- a/iso15118/secc/states/iso15118_2_states.py +++ b/iso15118/secc/states/iso15118_2_states.py @@ -1083,7 +1083,8 @@ async def process_message( ProvidedIdToken: dict = dict([ ("id_token", payment_details_req.emaid), - ("type", "PlugAndCharge"), + ("authorization_type", "PlugAndCharge"), + ("id_token_type", "eMAID"), ]) if hash_data is not None: