You are here

function commerce_paypal_ec_embedded_checkout_panes in Commerce PayPal 7.2

Returns the checkout pane IDs of checkout panes that should be embedded in the Express Checkout review and confirm page.

2 calls to commerce_paypal_ec_embedded_checkout_panes()
commerce_paypal_ec_review_pane_checkout_form in modules/ec/includes/commerce_paypal_ec.checkout_pane.inc
Checkout pane callback: returns a pane allowing the customer to review the final details of the order and provide any final information required.
commerce_paypal_ec_review_pane_checkout_form_validate in modules/ec/includes/commerce_paypal_ec.checkout_pane.inc
Validate handler for the Express Checkout review and confirm page.

File

modules/ec/commerce_paypal_ec.module, line 1652
Implements PayPal Express Checkout in Drupal Commerce checkout.

Code

function commerce_paypal_ec_embedded_checkout_panes() {
  return array_filter(variable_get('commerce_paypal_ec_review_embedded_panes', array()));
}