Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: arknoll commentedPatch attached.
Comment #2
mesch CreditAttribution: 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 CreditAttribution: 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.