Hello,

I've come across this error when:

commerce_coupon installed.
on the checkout page. with the billing information pane, and the shipping information pane all filled in.
I enter an invalid coupon code.

I get the error that I inserted an invalid coupon code as well as this:

notice: Undefined index: shipping_details in commerce_shipping_pane_checkout_form_submit() (line 209)

I added this code:

if(!empty($pane_values['shipping_details'])) {

$class->shipping_items_created($pane_form['shipping_details'], $pane_values['shipping_details'], $order);
}

to resolve the issue, not sure it's the correct approach.

Idan

Comments

googletorp’s picture

Status: Active » Postponed (maintainer needs more info)

I'm more inclined to think that this issue is caused by Commerce Coupon which also gives a fetal error when installed with latest stable DC version.

nwolff’s picture

I've come across the same error when I enabled a very small custom module that provides a checkout pane.
If I disable commerce shipping my custom module works well.

----

Update: issue disappeared when I upgraded commerce to 1.0

essbee’s picture

I have this same behaviour using DC1. Present in both RC1 and latest dev.
In latest dev line number moves to 225.

adpo’s picture

I have this same behaviour using DC1. Present in both RC1 and latest dev.
In latest dev line number moves to 225.

I have the same problem

googletorp’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed in 1.x dev adb31af

Status: Fixed » Closed (fixed)

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