/** * register new WP e-Commerce payment gateway * @param array $gateways array of registered gateways * @return array */ public function wpscRegister($gateways) { require_once EWAY_PAYMENTS_PLUGIN_ROOT . 'includes/integrations/class.EwayPaymentsWpsc.php'; return EwayPaymentsWpsc::register($gateways); }
/** * proxy function for calling class method, because wp-e-commerce is _doing_it_wrong(), again! * @return string */ function EwayPaymentsWpsc_configForm() { return EwayPaymentsWpsc::configForm(); }