This error is due to non-standard credit card type found in some modules like commerce hosted pci.
Notice: Undefined index: card in commerce_cardonfile_card_form() (line 96 of commerce_cardonfile/includes/commerce_cardonfile.pages.inc).
Rolling a patch to perform a check.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | commerce_cardonfile-undefined_index-2118687.patch | 1008 bytes | arknoll |
Comments
Comment #1
arknoll commentedPatch attached.
Comment #2
mesch commented+1. This is a problem for the commerce_cardonfile support I wrote for Stripe (https://drupal.org/node/1541074) because the module doesn't actually see the full card details, including the name. It stores the type returned from Stripe, not as determined by DC.
Comment #3
bojanz commentedRemoved that field completely in
http://drupalcode.org/project/commerce_cardonfile.git/commitdiff/f3774f5
The same code in the entity label callback has the isset() check.