Although this is just an notice and doesn't affect the payment process, but raises the "access denied error" which may mislead the end user.
Notice: Undefined index: checkout_page in commerce_paypal_ec_review_pane_checkout_form_submit() (line 188 of /home/nithu/public_html/ps2html.org/public/sites/all/modules/commerce_paypal/modules/ec/includes/commerce_paypal_ec.checkout_pane.inc

This happens when billing information is entered at Paypal instead of on-site checkout form(which is working fine).
option "Update billing customer profiles with address information the customer enters at PayPal." is enable in EC configuration.After payment , when paypal returns to checkout page only Name and Country is showing in billing information pane.

Comments

higherform’s picture

Issue summary:View changes

I encountered this issue also.

Steps to reproduce:
1. Using core 7.39, commerce 7.x-1.11, commerce_paypal 7.x-2.3... also commerce_rules_extra 7.x-2.1 and commerce_custom_order_status 7.x-1.0 ... have not tested with any other combination of modules
2. Paypal Express Checkout settings set to: "Update billing customer profiles with address information the customer enters at PayPal." is unchecked, and using sandbox (have not tested on a live Paypal transaction yet)
3. Create cart with items as normal, checkout via Paypal
4. Login as sandbox buyer on Paypal payment page. Sandbox buyer has no corresponding user in Drupal.
5. Upon returning to Drupal site/checkout/%order_id/paypal_ec, note error message:

Notice: Undefined index: checkout_page in commerce_paypal_ec_review_pane_checkout_form_submit() (line 188 of *hidden*/modules/contrib/commerce_paypal/modules/ec/includes/commerce_paypal_ec.checkout_pane.inc).

User is shown Access Denied to "/checkout/9/paypal_ec#" ... even Adminstrator

Order status becomes blank on "admin/commerce/orders"... which means the rest of my rule chain will not fire...

higherform’s picture

Priority:Normal» Major

I am upgrading this issue to major as it is occurring 100% of the time with the steps to reproduce, and is now a blocker to go live for my 501c3's membership system.