woocommerce_paypal_capture_request

woocommerce_paypal_capture_request

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_paypal_capture_request') is found 1 times:

  • /includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php line 67
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
            'AMT'             => number_format( is_null( $amount ) ? $order->get_total() : $amount, 2, '.', '' ),
            'CURRENCYCODE'    => $order->get_currency(),
            'COMPLETETYPE'    => 'Complete',
        );
        return apply_filters( 'woocommerce_paypal_capture_request', $request, $order, $amount );
    }
     
    /**
     * Get refund request args.
     *
     * @param  WC_Order $order Order object.