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
Comment #1
googletorp CreditAttribution: googletorp commentedI'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.
Comment #2
nwolff CreditAttribution: nwolff commentedI'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
Comment #3
essbee CreditAttribution: essbee commentedI have this same behaviour using DC1. Present in both RC1 and latest dev.
In latest dev line number moves to 225.
Comment #4
adpo CreditAttribution: adpo commentedI have the same problem
Comment #5
googletorp CreditAttribution: googletorp commentedFixed in 1.x dev adb31af