_wpsc_action_merchant_v2_validate_payment_method

The WP eCommerce wpsc action merchant v2 validate payment method function.

Description

_wpsc_action_merchant_v2_validate_payment_method( $valid, $controller ); 

Parameters (2)

0. $valid
The valid.
1. $controller
The controller.

Usage

  1. if ( !function_exists( '_wpsc_action_merchant_v2_validate_payment_method' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'wp-ecommerce/wpsc-components/merchant-core-v2/helpers/gateways.php'; 
  3.  
  4. // The valid. 
  5. $valid = null; 
  6.  
  7. // The controller. 
  8. $controller = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = _wpsc_action_merchant_v2_validate_payment_method($valid, $controller); 
  12.  

Defined (1)

The function is defined in the following location(s).

/wpsc-components/merchant-core-v2/helpers/gateways.php