WC_Gateway_Paypal_IPN_Handler::payment_status_canceled_reversal()protectedWC 1.0

Handle a cancelled reversal.

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

No Hooks.


null. Nothing.


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

Code of WC_Gateway_Paypal_IPN_Handler::payment_status_canceled_reversal() WC 6.9.4

protected function payment_status_canceled_reversal( $order, $posted ) {
		/* translators: %s: order link. */
		sprintf( __( 'Reversal cancelled for order #%s', 'woocommerce' ), $order->get_order_number() ),
		/* translators: %1$s: order ID, %2$s: order link. */
		sprintf( __( 'Order #%1$s has had a reversal cancelled. Please check the status of payment and update the order status accordingly here: %2$s', 'woocommerce' ), $order->get_order_number(), esc_url( $order->get_edit_order_url() ) )