WC_Gateway_Paypal_PDT_Handler::check_response()
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
Return
null
. Ничего (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() 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 ); }