woocommerce_legacy_paypal_ipn

Handle IPN requests for the legacy paypal gateway by calling gateways manually if needed.

Description

woocommerce_legacy_paypal_ipn(); 

Usage

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

Defined (1)

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

/includes/wc-deprecated-functions.php  
  1. function woocommerce_legacy_paypal_ipn() { 
  2. if ( ! empty( $_GET['paypalListener'] ) && 'paypal_standard_IPN' === $_GET['paypalListener'] ) { 
  3. WC()->payment_gateways();