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

SEPA Mandate uses wrong customer code for UMR #29799

Open
Adventurousdonut opened this issue May 30, 2024 · 3 comments
Open

SEPA Mandate uses wrong customer code for UMR #29799

Adventurousdonut opened this issue May 30, 2024 · 3 comments
Labels
Bug This is a bug (something does not work as expected) Event: DevCamp 2024 Montpellier

Comments

@Adventurousdonut
Copy link
Contributor

Bug

When generating a sepa mandate by adding a new payment method, when you dont fill out the UMR it auto generates one for you. This UMR includes the customer code. It doesn't use the existing customer code though. When you create a mandate for customer CU1908-00002 the automatic UMR is UMR-2405302251-1-CU1908-0000 (being the very first mandate created in the dolibarr instance).

Dolibarr Version

19.0.0

Environment PHP

8.1.27

Environment Database

MySQL

Steps to reproduce the behavior and expected behavior

Go to a third party -> payment methods -> create a new one and dont fill out the UMR field -> build doc

Attached files

grafik
grafik

@Adventurousdonut Adventurousdonut added the Bug This is a bug (something does not work as expected) label May 30, 2024
@Adventurousdonut Adventurousdonut changed the title SEPA Mandate uses wrong customer number for UMR SEPA Mandate uses wrong customer code for UMR May 30, 2024
@Hystepik
Copy link
Contributor

Hystepik commented Jun 6, 2024

Hello,
I think it's fixed, can you check with the last version of 19.0.2

@Adventurousdonut
Copy link
Contributor Author

Hello,
I just spun up a brand new test instance for 19.0.2 using a the dolibarr docker compose and i had the same results:
grafik
grafik
grafik

Dolibarr Version: 19.0.2
PHP Version: 8.2.7
Database: 11.4.2-MariaDB-ubu2404
(Maybe if it's relevant everything is set to the country Austria and the language german)

@Adventurousdonut
Copy link
Contributor Author

It's still happening in Dolibarr V 20.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected) Event: DevCamp 2024 Montpellier
Projects
None yet
Development

No branches or pull requests

2 participants