WC_Gateway_Paypal_PDT_Handler::check_response()publicWC 1.0

Deprecated from version 6.4. It is no longer supported and can 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


null. Ничего (null).


$WC_Gateway_Paypal_PDT_Handler = new WC_Gateway_Paypal_PDT_Handler();


Deprecated since 6.4 Use check_response_for_order instead.

WC_Gateway_Paypal_PDT_Handler::check_response() code WC 8.3.0

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 );