Index: includes/handlers/gateways/pay_method_gateway.inc
===================================================================
--- includes/handlers/gateways/pay_method_gateway.inc	(.../contrib-stable/pay/includes/handlers/gateways/pay_method_gateway.inc)	(revision 1617)
+++ includes/handlers/gateways/pay_method_gateway.inc	(.../contrib-patch/pay/includes/handlers/gateways/pay_method_gateway.inc)	(working copy)
@@ -290,8 +302,8 @@
     $form['cc_number'] = array(
       '#type'        => 'textfield',
       '#title'      => t('Card number'),
-      '#size'        => 16,
-      '#max_length'  => 16,
+      '#size'        => 19,
+      '#maxlength'  => 19,
       '#required'   => TRUE,
       '#attributes' => array('autocomplete' => 'off'),
     );
@@ -299,7 +311,7 @@
       '#type'        => 'textfield',
       '#title'      => t('Security code'),
       '#size'        => 4,
-      '#max_length'  => 4,
+      '#maxlength'  => 4,
       '#attributes' => array('autocomplete' => 'off'),
     );
 
