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.

{} It's a method of the class: WC_Gateway_Paypal_PDT_Handler{}

Hooks from the method


null. Nothing.


$WC_Gateway_Paypal_PDT_Handler = new WC_Gateway_Paypal_PDT_Handler();


Deprecated since 6.4 Use check_response_for_order instead.

Code of WC_Gateway_Paypal_PDT_Handler::check_response() WC 6.8.2

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