globalpay_requery_callback

The Woocommerce GlobalPay globalpay requery callback function.

Description

globalpay_requery_callback(); 

Usage

  1. if ( !function_exists( 'globalpay_requery_callback' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-globalpay/woocommerce-globalpay.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = globalpay_requery_callback(); 
  7.  

Defined (1)

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

/woocommerce-globalpay.php  
  1. function globalpay_requery_callback () { 
  2. $wc_globalpay = new WC_GlobalPay(); 
  3. $status = $wc_globalpay->ajax_update_paymentInfo($_POST['the_order_id']); 
  4. if (FALSE === $status) { 
  5. $status = ''; 
  6. echo $status; 
  7. die();