You are here

function commerce_sermepa_menu in Commerce sermepa 7

Implements hook_menu().

File

./commerce_sermepa.module, line 121
Provides a payment method for Drupal Commerce using Sermepa/Redsys gateway.

Code

function commerce_sermepa_menu() {
  $items['sermepa/callback/%commerce_order'] = array(
    'page callback' => 'commerce_sermepa_callback',
    'page arguments' => array(
      2,
    ),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}