Error message:
Notice: Undefined index: cc_number in uc_payment_method_credit() (line 463 of /DRUPAL7/sites/all/modules/ubercart/payment/uc_credit/uc_credit.module).

Please fix this notice.

Files: 
CommentFileSizeAuthor
#7 ubercart-cc_number-undefined-index-1551130.patch1.27 KBbtanner
PASSED: [[SimpleTest]]: [MySQL] 2,457 pass(es).
[ View ]
#6 Screenshot at 2012-06-23 17:40:20.png344.09 KBmaxchock

Comments

Status:Active» Postponed (maintainer needs more info)

I've never seen this notice. Please provide more information about where you see this and what you're doing when the notice is shown.

I 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.

I 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.

I'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.

Status:Postponed (maintainer needs more info)» Closed (cannot reproduce)

You can reopen the issue if you can provide steps to reproduce the error.

StatusFileSize
new344.09 KB

I have the same error too today.

error

Version:7.x-3.1» 7.x-3.x-dev
Status:Closed (cannot reproduce)» Needs review
StatusFileSize
new1.27 KB
PASSED: [[SimpleTest]]: [MySQL] 2,457 pass(es).
[ View ]

Steps 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.

Status:Needs review» Fixed

Committed, thanks.

Status:Fixed» Closed (fixed)

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

Version:7.x-3.x-dev» 7.x-3.4
Status:Closed (fixed)» Active

I 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".

Notice: Undefined index: cc_number in uc_payment_method_credit() (line 509 of /home/mysite/public_html/sites/all/modules/ubercart/payment/uc_credit/uc_credit.module).

Any ideas for a fix?

Status:Active» Fixed

Thanks for the report. Fix committed in http://drupalcode.org/project/ubercart.git/commitdiff/2dae39c

Status:Fixed» Closed (fixed)

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