bookmark_bordergform_paypal_sslverify

Description

Allow sslverify be modified before sending requests.

Usage

add_filter( 'gform_paypal_sslverify', 'your_function_name' );

Parameters

  • $sslverify bool

    Whether to verify SSL for the request.

Example

Turn off SSL verification.

The following allows the request to be completed without SSL verification.

add_filter( 'gform_paypal_sslverify', '__return_false' );

Placement

This code should be placed in the functions.php file of your active theme.

Source Code

$sslverify = apply_filters( 'gform_paypal_sslverify', $sslverify );

This filter is located in GFPayPal::verify_paypal_ipn() in class-gf-paypal.php

Since

This filter was added in version 2.5.2.