Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIO payment plugin don't accept multiple variable symbol formats #273

Open
jbartak opened this issue Jan 23, 2023 · 0 comments
Open

FIO payment plugin don't accept multiple variable symbol formats #273

jbartak opened this issue Jan 23, 2023 · 0 comments

Comments

@jbartak
Copy link

jbartak commented Jan 23, 2023

The customer set the variable symbol as "24" in his payment, however, his bank sends the payment as "0000000024".
It would be nice to automatically vanish zeros at the beginning of the line and match also this format of the variable symbol.

ltrim($transaction['reference'], '0') should do the job in

private function matchClientFromUcrm(array $transaction, $matchBy): ?array
.

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

No branches or pull requests

1 participant