WC_Gateway_Paypal_PDT_Handler::check_responsepublicWC 1.0

Deprecated since 6.4. It is no longer supported and may be removed in future releases. Use check_response_for_order instead.

Check Response for PDT, taking the order id from the request.

Method of the class: WC_Gateway_Paypal_PDT_Handler{}

Hooks from the method

Returns

null. Nothing (null).

Usage

$WC_Gateway_Paypal_PDT_Handler = new WC_Gateway_Paypal_PDT_Handler();
$WC_Gateway_Paypal_PDT_Handler->check_response();

Changelog

Deprecated since 6.4 Use check_response_for_order instead.

WC_Gateway_Paypal_PDT_Handler::check_response() code WC 10.8.1

public function check_response() {
	global $wp;
	$order_id = apply_filters( 'woocommerce_thankyou_order_id', absint( $wp->query_vars['order-received'] ) );

	$this->check_response_for_order( $order_id );
}