woocommerce_legacy_paypal_ipn()WC 1.0

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

Хуки из функции

Возвращает

null. Ничего.

Использование

woocommerce_legacy_paypal_ipn();

Код woocommerce_legacy_paypal_ipn() WC 6.9.1

function woocommerce_legacy_paypal_ipn() {
	if ( ! empty( $_GET['paypalListener'] ) && 'paypal_standard_IPN' === $_GET['paypalListener'] ) {
		WC()->payment_gateways();
		do_action( 'woocommerce_api_wc_gateway_paypal' );
	}
}