woocommerce_paypal_refund_request

woocommerce_paypal_refund_request

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_paypal_refund_request') is found 1 times:

  • /includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php line 94
    090
    091
    092
    093
    094
    095
    096
    097
    098
    099
    100
            $request['AMT']          = number_format( $amount, 2, '.', '' );
            $request['CURRENCYCODE'] = $order->get_currency();
            $request['REFUNDTYPE']   = 'Partial';
        }
        return apply_filters( 'woocommerce_paypal_refund_request', $request, $order, $amount, $reason );
    }
     
    /**
     * Capture an authorization.
     *
     * @param  WC_Order $order Order object.