Closed (fixed)
Project:
UC Worldpay
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2012 at 20:21 UTC
Updated:
8 Dec 2013 at 16:08 UTC
Jump to comment: Most recent
Thank you for creating the 7.x branch.
I got this error when I inadvertently cancelled the payment at WorldPay:
Notice: Undefined index: cardType in uc_worldpay_complete() (line 236 of sites/all/modules/uc_worldpay/uc_worldpay.module).
I guess that the credit card argument is not returned when the payment is cancelled - there is no card type to return. I am not sure it this will be fixed will a simple:
if (isset($_POST['cardType'])) {
$card_type = $_POST['cardType'];
}
Comments
Comment #1
gruberroland commentedThank you very much for your report. This is now fixed in the D7 development branch.