Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8834377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:59:53+00:00 2026-06-14T08:59:53+00:00

For a payment system that allows bank/wire transfers, I need to reliably associate payments

  • 0

For a payment system that allows bank/wire transfers, I need to reliably associate payments with the corresponding user account that they are intended for. For this, the user should include a reference number on the transfer that is associated with his account.

I would like to generate this number with built-in redundancy (extra symbols), so that I can detect and correct up to N of the following (probably common) errors:

  • An incorrect symbol in the sequence (typo)
  • A swap of two symbols (which I guess is the same as two incorrect ones)
  • A missing symbol in the sequence
  • An extra symbol in the sequence

I searched around a bit and it seems like Reed Solomon or BCH are commonly used codes for this. The only thing I couldn’t find is whether they support the last case, i.e. extra symbols.

Also, I would like for the code to have a failure mode where it says: “this is so screwed up, I can’t fix it” rather than giving me a random “corrected” result. I guess I could do this simply by generating sparse reference numbers and hoping that it will be unlikely that it will hit a valid one by accident, but I’d rather have something like: “I can correct up to 5 errors, but if it’s more than 3, I give up.”

Any thoughts? Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:59:54+00:00Added an answer on June 14, 2026 at 8:59 am

    I haven’t spent that much time looking into this further, yet, but I think I have come up with a preliminary way to solve this problem, which I will pursue for now:

    I will create the account reference number out of an alphabet of 32 characters. This alphabet I will split into 2 sets of 16 characters, optimizing the sets to minimize the chance that a random typo will yield a letter from the other set. For example, simply split your keyboard in half, using the letters in the box with the corners [1], [4], [v], [z] for the one set and the other letters as the other set.

    I will then use a [14, 8, 7]16 Reed-Solomon code to encode the 32-bit account number, which I first split into eight 4-bit characters.

    The resulting message, I will turn into the reference number by choosing the 1st, 3rd, 5th, … characters from the 1st alphabet-half and the others from the 2nd alphabet-half. That way, I can “resynchronize” the reference number if I detect any swapped, extra, or missing characters.

    After resynchronization, the RS code should then allow me to correct up to 3 other typos and if anyone makes more mistakes than that, they deserve to run into issues with their payment… 🙂

    I would love to hear any comments anyone might have on this approach.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to create a payment system that integrates with eWay .. They have
Can someone recommend a payment gateway that allows incremental (irregularly recurring) charges to the
A part of big project is a payment system, that I would like to
I spent a month writing an elaborate payment system that handles both credit card
On WhitePages.com they have a mechanism in place that facilitates payment by entering your
Could anybody recommend a up-to-date class (or payment system) for handling paypal recurring payments
I have to implement classes that work with payment system (let's call it PaymentSystem)
I have a recurring payment mode in the system. All is well, API successful
I'm trying to integrate an adaptive payments system to my codeigniter project on my
i have put that url http://pvpcoach.com/notification.php in Instant Payment Notification setting in my profile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.