WordPress at Your Fingertips
function is not described

WC_Gateway_Paypal_IPN_Handler::payment_status_voided() protected WC 1.0

Handle a voided payment.

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

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->payment_status_voided( $order, $posted );
$order(WC_Order) (required)
Order object.
$posted(array) (required)
Posted data.

Code of WC_Gateway_Paypal_IPN_Handler::payment_status_voided() WC 5.7.1

protected function payment_status_voided( $order, $posted ) {
	$this->payment_status_failed( $order, $posted );
}