You are here

function uc_paypal_cart_pane in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_paypal/uc_paypal.module \uc_paypal_cart_pane()

Implementation of hook_cart_pane().

File

payment/uc_paypal/uc_paypal.module, line 121
Integrates various PayPal payment services and Instant Payment Notifications (IPN) with Ubercart!

Code

function uc_paypal_cart_pane() {
  $panes[] = array(
    'id' => 'uc_paypal_ec',
    'title' => t('PayPal Express Checkout'),
    'enabled' => FALSE,
    'weight' => 1,
    'body' => '<div align="right">' . drupal_get_form('uc_paypal_ec_form') . '</div>',
  );
  return $panes;
}