Skip to content

[DX-1208] fix PBL in retry form#328

Closed
pczyzewski5 wants to merge 6 commits intomainfrom
DX-1208_fix_PBL_in_retry_form
Closed

[DX-1208] fix PBL in retry form#328
pczyzewski5 wants to merge 6 commits intomainfrom
DX-1208_fix_PBL_in_retry_form

Conversation

@pczyzewski5
Copy link
Contributor

This pr fixes #297

$this->context->buildViolation($constraint->message)
->atPath('[tpay_channel_id]')
->addViolation();
if (0 === (int) $value) {
Copy link
Contributor

Choose a reason for hiding this comment

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

For consistency and readability, you can apply the Yoda condition in the other two conditions as well.

@jakubtobiasz
Copy link
Member

It's already fixed by #321, isn't it?

@jakubtobiasz
Copy link
Member

jakubtobiasz commented Sep 16, 2025

Btw, I've noticed not selecting a bank while using PBL results in missing validation error.

AFAIR, there should be form_errors() pointing to the channel id field.

@jakubtobiasz
Copy link
Member

Replaced by #331

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.

[DX-1208] Fix PBL payment in retry form

3 participants