You are here

function uc_paypal_install in Ubercart 6.2

Same name and namespace in other branches
  1. 5 payment/uc_paypal/uc_paypal.install \uc_paypal_install()
  2. 7.3 payment/uc_paypal/uc_paypal.install \uc_paypal_install()

Implements hook_install().

File

payment/uc_paypal/uc_paypal.install, line 107
Installation file for PayPal, primarily for the logging of IPNs.

Code

function uc_paypal_install() {
  drupal_install_schema('uc_paypal');
  $t = get_t();
  db_query("INSERT INTO {uc_order_statuses} (order_status_id, title, state, weight, locked) VALUES ('paypal_pending', '%s', 'post_checkout', 7, 1);", $t('PayPal pending'));
}