_wpsc_action_merchant_v2_submit_checkout

The WP eCommerce wpsc action merchant v2 submit checkout function.

Description

_wpsc_action_merchant_v2_submit_checkout( $gateway, $purchase_log ); 

Parameters (2)

0. $gateway
The gateway.
1. $purchase_log
The purchase log.

Usage

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

Defined (1)

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

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