Skip to content

Conversation

@corneliusclaussen
Copy link
Contributor

Describe your changes

If auth is revoked e.g. due to a plugin timeout, set the ISO-2/DIN response code to FAILED instead of OK.

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

@barsnick barsnick requested a review from FaHaGit November 28, 2025 13:33
} else {
res->ResponseCode = iso2_responseCodeType_FAILED;
}
} else if (conn->ctx->session.authorization_rejected == true) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The handling of the "authorization_rejected" parameter is implemented slightly differently between DIN and ISO, if I understand correctly. In ISO, "authorization_rejected" is only evaluated if processing has been set to "finished". In DIN it is independed of the "evse_processing". Is that how it's intended to work? It will probably not make any difference, as the "evse_processing" is configured together with “authorization_rejected.”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants