I need a simple payment module who generates a unique reference code with the following format:
Ex: 497 000 163
Where 497 is fixed id, 0001 is the order id and 63 are two check-digits. The check digits are based on the order total (max value 999 999,99).
In this example the order total is 234,67 : 497000100023467
In the uploaded files you can check the algorithm in C# and VB.
After the client confirms the order, he should receive an email with the unique reference plus some standard text.
If possible I would also like to be able to define a day-limit for each generated reference which would also be included in the order email.
The check digits are based not only in the order total but on the following code: 497000100023467
You can check it on the submitted files.