[ic] [Patch] Allow variable to override default LUHN-10 error message

Stefan Hornburg racke at linuxia.de
Wed Sep 30 12:05:40 UTC 2009

Peter wrote:
> On 09/29/2009 11:25 PM, Stefan Hornburg (Racke) wrote:
>> Richard Templet wrote:
>>> This is a small patch that will give folks the ability to override the
>>> default error that comes up with someone's credit card doesn't pass the
>>> Luhn-10 check.
>>> http://github.com/rmtemplet/interchange/commit/abac9e7bed3cf86218add6062d023b710cc19a73
>> Why not
>> Locale en_US "Credit card number fails LUHN-10 check." "Invalid credit card 
>> number."
>> in catalog.cfg?
> I actually considered that, but felt it was bad form to have a
> customer-facing message hard coded in the core, so I thought it was a
> good patch.

I certainly would be useful to have better customer-facing messages for
online / credit card payments.


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list