• Hello, thanks for taking interest in this topic.

    I’m currently having problems with the Variable stock levels, after being directed to PayPal and making the payment, the order is sent and it’s updated from Pending to Processing within a few seconds, however it does not update/reduce the Stock, even when Completing the order.

    I then tried the same again, however I used a product that was free with free shipping, therefore it doesn’t need to redirect to PayPal for a peayment, when doing this it had updated the Stock with no problem.

    So there’s a problem with PayPal and updating the Stock after payment, what would be causing this?

    It’s only recently it’s started doing this, it was all dandy and fine, could it be the recent WordPress update? Everything is up-to-date.

    I have tried to deactivate Stock/Payment related addons and try with woocommerces payment gateway itself, however it still doesn’t seem to update the Stock.

    WC Version: 2.6.13
    Log Directory Writable: ?
    WP Version: 4.7.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.27
    PHP Post Max Size: 100 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 4000
    cURL Version: 7.45.0
    OpenSSL/1.0.1e
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.32
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.6.13
    : 
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    MaxMind GeoIP Database: ?
    
    ### Active Plugins (23) ###
    
    Advanced CSS Editor: by Hardeep Asrani – 3.0
    Akismet: by Automattic – 3.2
    Contact Form 7: by Takayuki Miyoshi – 4.6.1
    Custom My Account for Woocommerce: by phoeniixx – 1.2.3
    Instagram Feed: by Smash Balloon – 1.4.8
    Instock Email Alert for Woocommerce: by Laszlo Kruchio – 1.1.2
    Jetpack by WordPress.com: by Automattic – 4.5
    Min and Max Quantity for WooCommerce: by BeRocket – 1.0.2
    Postman SMTP: by Jason Hendriks – 1.7.2
    Simple Custom CSS: by John Regan
    Danny Van Kooten – 3.3
    
    Compress JPEG & PNG images: by TinyPNG – 2.1.0
    Unite Gallery Lite: by Valiano – 1.7.40
    Visual Form Builder: by Matthew Muro – 2.9.2
    Advanced Flat Rate Shipping Method WooCommerce: by Multidots – 2.3
    WooCommerce Print Invoice & Delivery Note: by Triggvy Gunderson – 4.1.5
    WooCommerce DYMO Print: by WP Fortune – 2.5.5
    WooCommerce Product Add-on: by Najeeb Ahmad – 2.5
    WooCommerce: by WooThemes – 2.6.13
    WooSidebars: by WooThemes – 1.4.3
    WooCommerce Helper: by WooCommerce – 1.7.2
    WP Simple Paypal Shopping cart: by Tips and Tricks HQ
    Ruhul Amin
    mra13 – 4.2.9
    
    WP-Mail-SMTP: by Callum Macdonald – 0.10.1
    WPtouch Pro: by BraveNewCode Inc. – 4.3.3
    
    ### Settings ###
    
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    
    ### WC Pages ###
    
    Shop Base: ? Page ID is set
    but the page does not exist
    
    Basket: #54 - /your-cart/
    Checkout: #74 - /checkout/
    My Account: #75 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    I also get this in the Chrome “Inspect Element Console” when I’m redirected to PayPal for Payment.
    windowload_timeout_setting Objectclient_elapsed: 73event: "windowload_timeout_setting"level: "info"pageID: "19f0928a"req_elapsed: 491state: "pre_bootstrap"throttle: 10timeout: 20000timestamp: "Mon Jan 30 2017 02:40:10 GMT+0000 (GMT Standard Time)"token: "**********"__proto__: Object

    This is currently a business website and it’s putting everyone behind on orders causing a big problem as we’re having to update the Stock manually.

    We are hosted on GoDaddy’s Managed WordPress and I’ve noticed that connecting to the sFTP is very slow sometimes and creates problems when uploading files manually.
    Not sure where the Stock levels are stored as I don’t see them in the database, but maybe GoDaddy could be the problem if no one has a solution?

    However, thanks a lot for reading and supporting, appreciate all replies.
    <3

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Are you still experiencing the same issue after deactivating all of your plugins (except WooCommerce) and switching to the default Twenty Sixteen theme?

    Plugin Support RK a11n

    (@riaanknoetze)

    Thread Starter Billy0707

    (@ronnieetv)

    Hey Riaan, thanks for the reply.

    Yes I have tried that and still no luck.

    Is that Github request the reason for this problem?

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    It’s not the issue Riaan pointed out.

    I’d look to see if “WP Simple Paypal Shopping cart” is conflicting here. Our orders should show notes if PayPal updates the order or not. If it’s not, it’s an IPN issue (cannot reach your store). The docs have troubleshooting steps.

    https://docs.woocommerce.com/document/paypal-standard/

    Thread Starter Billy0707

    (@ronnieetv)

    Thanks for taking interest in this topic, Mike.

    We deactivated and removed that plugin before posting, still no luck.
    Heading over to our IPN test it says “PayPal IPN Request Failure”

    We checked the link with PayPal and it’s the right link, I also just noticed in the Docs it states GoDaddy are known to have issues with IPN’s.

    Just got off the phone with them however they don’t understand/need more info.
    What can we say to best address this issue with them?

    EDIT:
    Fixed this by using Express Checkout with curl.

    Thanks

    • This reply was modified 7 years, 9 months ago by Billy0707.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stock not updating when using PayPal’ is closed to new replies.