Support » Plugin: WooCommerce » PayPal IPN Not Working – All Orders Pending, then Canceled

  • Resolved Friday Next

    (@caseyfriday)


    I’m getting nonstop pending -> canceled orders in WooCommerce, because the IPN is not connecting, and the error message is very vague. The most pertinent info I can see in it is:

    [body] => INVALID

    I’ve also set up PDT, and when I perform a test transaction and actually return to the site with the Identity Token, the order will move to ‘Processing’, but other clients are not waiting for that redirect, and the IPN alone is not working as it should.

    I’ve uploaded the two new files Mike Jolley suggested from this similar thread. Here’s a PayPal log from before uploading those two new files,

    and here’s a log from after uploading those files.

    Is this a WooCommerce problem, or a PayPal problem? This is quite critical for me to fix soon, as this client has multiple high-dollar transactions per day, and they are all being canceled, causing quite a turmoil for his business.

    ### WordPress Environment ###
    
    Home URL: http://dpceventservices.com
    Site URL: http://dpceventservices.com
    WC Version: 2.5.5
    Log Directory Writable: ✔
    WP Version: 4.4.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.19
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    SUHOSIN Installed: –
    MySQL Version: 5.5.48
    Max Upload Size: 64 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 2.5.5
    :
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_termmeta: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    
    ### Active Plugins (17) ###
    
    Gravity Forms: by rocketgenius – 1.9.18
    Advanced Custom Fields Pro: by elliot condon – 5.3.6.1
    Akismet: by Automattic – 3.1.10
    iThemes Security: by iThemes – 5.3.5
    Custom Post Type UI: by WebDevStudios – 1.3.3
    Easy Columns: by Pat Friedl – v2.1.3
    Enhanced Media Library: by wpUXsolutions – 2.2
    Imsanity: by Jason Hinkle – 2.3.6
    Meta Slider: by Matcha Labs – 3.3.6
    Simple Google Maps Short Code: by Pippin Williamson – 1.2
    Social Icons Widget: by Daniel Nisbet – 16.04
    Testimonials Widget: by Axelerant – 3.3.0
    WonderPlugin Gallery: by Magic Hills Pty Ltd – 3.8C
    WooCommerce Name Your Price: by Kathy Darling – 2.3.4
    WooCommerce: by WooThemes – 2.5.5
    WooThemes Helper: by WooThemes – 1.6.1
    Yoast SEO: by Team Yoast – 3.1.2
    
    ### Settings ###
    
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ✔
    API Version: 3.1.0
    
    ### WC Pages ###
    
    Shop Base: #331 - /shop/
    Cart: #332 - /cart/
    Checkout: #333 - /checkout/
    My Account: #334 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: DPC Event Services
    Version: 1.0.0
    Author URL: https://friday-next.com
    Child Theme: ✔
    Parent Theme Name: Twenty Fourteen
    Parent Theme Version: 1.6
    Parent Theme Author URL: https://wordpress.org/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –

    https://wordpress.org/plugins/woocommerce/

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter Friday Next

    (@caseyfriday)

    @wagonerdesign no, I did not get it resolved. That was with HiVelocity hosting. I don’t have the same issue with sites running on my personal Linode server, so I would guess it’s a problem related to the way cpanel is set up, but I won’t ever know, because no one was able to provide answers.

    I’m having this problem too. It doesn’t happen on every order but probably about 30% of them. Orders are marked as pending in Woocommerce. In PayPalsometimes the payment has arrived and sometimes it hasn’t. Customers email my client because they’re not sure if their payment has gone through and/or my client has to call a customer to get payment.

    It’s been going on for coming up to two years.

    I’ve been on the phone with PayPal, started a ticket with WooCommerce… all to no avail.

    I’ve switched hosts as I was told by one of the two above that it might be the problem… and it’s still happening on the new host. Both are well-known, established and reliable hosts (GoDaddy first, now Bluehost).

    My client is a small business and is losing sales. I can’t believe she hasn’t fired me.

    I’m thinking of switching from PayPal to Beanstream as one more attempt to solve this very, very bad problem.

    @valley4girl If you’re using the IPN you’re out of luck since this relies on Paypal taking the payment and pushing the info back to your client site. If the user abandons or times out, you can lose the info and get stuck in pending.

    Having an SSL could help with lost connections but it’s no guarantee.

    Bluehost is going down, sorry for the bad news. They were bought by a larger company and myself and other tech friends have all noticed their performance is suffering, as well as their customer service.

    The best way to solve your problem for your client at this point would be to either switch to Paypal Pro (~$30/mo.) This will process the CC on your client’s website. If there is a problem, the user never leaves and their cart stays intact. They can retry their payment without gettings false positives. You will need to install an SSL. (PM me and I can give you some tips to do this yourself.)

    Or, you can switch from Paypal to Stripe (free comparatively) and the same, you will process the CC on the client facing site without leaving, so the cart stays intact. Also requires an SSL.

    That Paypal IPN stuff is really hard to get straight – you need to be using an API because it talks both ways. The IPN does not. It’s simply a notification. If Paypal times out, it will clear all the data (customer, cart, and the website that is waiting for a response).

    Let me know if you need any other info.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘PayPal IPN Not Working – All Orders Pending, then Canceled’ is closed to new replies.