In includes/handlers/gateways/pay_method_gateway.inc the code uses #max_length instead of the correct FAPI attribute #maxlength to limit the number of characters in the textfield. Attached patch fixes this.

CommentFileSizeAuthor
#2 938524.patch1006 bytesstella
#1 938524.patch795 bytesstella
pay_max_length.patch1.57 KBstella

Comments

stella’s picture

StatusFileSize
new795 bytes

err that included another change as well for a different issue, updated patch attached

stella’s picture

StatusFileSize
new1006 bytes

slight change as card field should actually allow up to 19 digits, especially if you want to support debit cards, e.g Laser

jerdavis’s picture

Status: Needs review » Fixed

Committed, thanks Stella!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.