PayPal Standard IPN Not Processing

Hello,

I’m using the PayPal Standard add-on, and I have IPN set up and it has been working for almost a year without a problem. Suddenly, the callback after a payment is received isn’t working.

Here’s the PayPal log:

2020-11-15 20:44:41.921766 - DEBUG --> GFPaymentAddOn::maybe_process_callback(): Initializing callback processing for: gravityformspaypal 
2020-11-15 20:44:41.954675 - DEBUG --> GFPayPal::callback(): IPN request received. Starting to process => Array
(
    [removed_for_this_post] => for_privacy
    [ipn_track_id] => d1d0cd85984df
)
 
2020-11-15 20:44:41.954847 - DEBUG --> GFPayPal::verify_paypal_ipn(): Sending IPN request to PayPal for validation. URL: https://www.paypal.com/cgi-bin/webscr/ - Data: cmd=_notify-validate&mc_gross=35.00&protection_eligibility=Eligible&item_number1=&payer_id=SMLRNX6MX4XPL&payment_date=13%3A57%3A47+Nov+14%2C+2020+PST&payment_status=Completed&charset=windows-1252&first_name=Heff&mc_fee=1.32&notify_version=3.9&custom=1147%7C4dd34c52f5c599561d71b1b81c1d9edf&payer_status=verified&business=paypal%40bel.com&num_cart_items=1&verify_sign=AJw0ZLqa4p.J4OaqOIAZhE.SQm4RAlxGdvMR5ijLNeN6-1vFVXjK9gyq&payer_email=somemail%40esy.net&txn_id=6XD768951T2244049&payment_type=instant&last_name=Lastname&item_name1=Payment+Amount&receiver_email=paypal%40bel.com&payment_fee=1.32&shipping_discount=0.00&quantity1=1&receiver_id=KUCHK4YZYSVRY&insurance_amount=0.00&txn_type=cart&discount=0.00&mc_gross_1=35.00&mc_currency=USD&residence_country=US&shipping_method=Default&transaction_subject=&payment_gross=35.00&ipn_track_id=d1d0cd85984df 
2020-11-15 20:44:41.954924 - DEBUG --> GFPayPal::verify_paypal_ipn(): sslverify: 1 
2020-11-15 20:44:51.991031 - DEBUG --> GFPayPal::verify_paypal_ipn(): Response: WP_Error Object
(
    [errors] => Array
        (
            [http_request_failed] => Array
                (
                    [0] => cURL error 28: Connection timed out after 10001 milliseconds
                )

        )

    [error_data] => Array
        (
        )

)
 
2020-11-15 20:44:51.991163 - ERROR --> GFPayPal::callback(): IPN verification failed with an error. Aborting with a 500 error so that IPN is resent. 
2020-11-15 20:44:51.991233 - DEBUG --> GFPaymentAddOn::maybe_process_callback(): Result from gateway callback => WP_Error Object
(
    [errors] => Array
        (
            [IPNVerificationError] => Array
                (
                    [0] => There was an error when verifying the IPN message with PayPal
                )

        )

    [error_data] => Array
        (
            [IPNVerificationError] => Array
                (
                    [status_header] => 500
                )

        )

)

I’ve seen that cURL error before and it usually has to do with SSL Verify or PHP config but nothing has changed and I don’t see any issues with our certificate.

Hi Nick. First, here is an article which covers the majority of the resolutions for the cURL error 28 issue you are having:

It was written by one of my colleagues. Be sure to read the comments as well as there are some additional user-submitted resolutions there as well. Let us know what you find out.