You are here

function paypal_payment_ipn_menu in PayPal for Payment 7

Implements hook_menu().

File

paypal_payment_ipn/paypal_payment_ipn.module, line 16
Contains hook implementations and global functions.

Code

function paypal_payment_ipn_menu() {
  $items[PAYPAL_IPN_LISTENER_PATH] = array(
    'load arguments' => array(
      'payment_method',
    ),
    'page callback' => 'paypal_payment_ipn_post',
    'page arguments' => array(
      1,
    ),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}