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

Always generate reference number of length 7 #1679

Merged
merged 5 commits into from
Sep 10, 2020
Merged

Conversation

karlerikounapuu
Copy link
Member

@karlerikounapuu karlerikounapuu commented Sep 9, 2020

From now on, Billing::ReferenceNo.generate always returns valid reference number with length of 7.

As there are already some registrars with generated reference_no shorter than 7, ref_number_from_description now respects them as well, by searching for numbers that end with correct reference check code

@karlerikounapuu karlerikounapuu force-pushed the fix-reference-no-parsing branch from d8ef342 to e61601f Compare September 9, 2020 10:07
@karlerikounapuu karlerikounapuu marked this pull request as ready for review September 9, 2020 10:23
@vohmar vohmar merged commit 19600fe into master Sep 10, 2020
@vohmar vohmar deleted the fix-reference-no-parsing branch September 15, 2020 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants