Closed (fixed)
Project:
Ubercart
Version:
7.x-3.4
Component:
Cart/checkout
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2012 at 19:04 UTC
Updated:
31 Jul 2013 at 07:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
tr commentedI've never seen this notice. Please provide more information about where you see this and what you're doing when the notice is shown.
Comment #2
mgiffordI was here admin/store/orders/2/credit
I'm updating http://drupal.org/project/uc_chase_paymentech & it is possible that this is coming from something that's wrong in the upgrade. A lot has changed since we posted the D6 version of this code so trying to play catchup.
That seemed like an error that could well be unique to the uc_credit.module though. Could also be it's waiting for something from the payment processor that wasn't passed to it.
Comment #3
tr commentedI don't see that notice for orders placed through the website with the test gateway or with authorize.net or with a private gateway module I use. Are you creating your order from the admin interface or some other way?
In Ubercart 7.x-3.1, cc_number does not appear at all in line 463 of uc_credit.module, but it does appear in line 466. That suggests to me that you don't really have Ubercart 7.x-3.1 installed, or that you've modified uc_credit.module.
Comment #4
mgiffordI'll get back with more info but can't seem to replicate it at the moment. May well have been tied to bad code in the upgrade process.
Comment #5
tr commentedYou can reopen the issue if you can provide steps to reproduce the error.
Comment #6
maxchock commentedI have the same error too today.
Comment #7
btanner commentedSteps to reproduce:
Create an order setting credit card as payment method at: admin/store/orders/create
View order at: admin/store/orders/%
Error details:
Notice: Undefined index: cc_number in uc_payment_method_credit() (line 466 of //sites/all/modules/ubercart/payment/uc_credit/uc_credit.module).
Patch attached for review.
Comment #8
longwaveCommitted, thanks.
Comment #10
hockey2112 commentedI am experiencing this issue in 7.x-3.4. It occurs when I create an order from the back-end and then view that order as the "shopper".
Any ideas for a fix?
Comment #11
longwaveThanks for the report. Fix committed in http://drupalcode.org/project/ubercart.git/commitdiff/2dae39c