• I came across a very similar error as referenced here https://www.ads-software.com/support/topic/uncaught-hpsargumentexception/. I commented on this post but never saw a reply so I’m making a new one.

    After updating to woocommerce 5.0.0 from 4.8.0 we got three of these errors:

    [Fri Feb 12 11:17:23.817799 2021] [php7:error] [pid 26581] [client 69.142.171.59:2525] PHP Fatal error:  Uncaught HpsArgumentException: Get needs a transactionId in /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Abstractions/HpsBuilderAbstract.php:99
    Stack trace:
    #0 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Abstractions/HpsBuilderAbstract.php(38): HpsBuilderAbstract->validate()
    #1 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Services/Fluent/Gateway/Credit/HpsCreditServiceGetBuilder.php(30): HpsBuilderAbstract->execute()
    #2 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/class-wc-gateway-securesubmit.php(319): HpsCreditServiceGetBuilder->execute()
    #3 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/class-wc-gateway-securesubmit.php(220): WC_Gateway_Sec in /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Abstractions/HpsBuilderAbstract.php on line 99, referer: https://www.bromilow.com/wp/wp-admin/post.php?post=36402&action=edit
    
    [Fri Feb 12 13:25:33.284827 2021] [php7:error] [pid 26573] [client 69.114.184.65:64808] PHP Fatal error:  Uncaught HpsArgumentException: Get needs a transactionId in /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Abstractions/HpsBuilderAbstract.php:99
    Stack trace:
    #0 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Abstractions/HpsBuilderAbstract.php(38): HpsBuilderAbstract->validate()
    #1 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Services/Fluent/Gateway/Credit/HpsCreditServiceGetBuilder.php(30): HpsBuilderAbstract->execute()
    #2 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/class-wc-gateway-securesubmit.php(319): HpsCreditServiceGetBuilder->execute()
    #3 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/class-wc-gateway-securesubmit.php(220): WC_Gateway_Sec in /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Abstractions/HpsBuilderAbstract.php on line 99, referer: https://www.bromilow.com/wp/wp-admin/post.php?post=36460&action=edit
    
    [Fri Feb 12 13:25:43.357435 2021] [php7:error] [pid 26581] [client 69.114.184.65:64805] PHP Fatal error:  Uncaught HpsArgumentException: Get needs a transactionId in /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Abstractions/HpsBuilderAbstract.php:99
    Stack trace:
    #0 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Abstractions/HpsBuilderAbstract.php(38): HpsBuilderAbstract->validate()
    #1 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Services/Fluent/Gateway/Credit/HpsCreditServiceGetBuilder.php(30): HpsBuilderAbstract->execute()
    #2 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/class-wc-gateway-securesubmit.php(319): HpsCreditServiceGetBuilder->execute()
    #3 /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/class-wc-gateway-securesubmit.php(220): WC_Gateway_Sec in /webclient/default/bromilow/sites/v2.bromilow.com/html/content/plugins/woocommerce-securesubmit-gateway/classes/includes/src/Abstractions/HpsBuilderAbstract.php on line 99, referer: https://www.bromilow.com/wp/wp-admin/post.php?post=36460&action=edit

    As you can see from the referer lines, these were all triggered from the order edit url. I checked each URL and they are indeed 2 edit order pages these being order 36402 & 36460. The order notes for these orders both say:

    “Unpaid order cancelled – time limit reached. Order status changed from Pending payment to Cancelled.”

    It seems the customers’ credit card authorizations were never realized. The “Unpaid order cancelled” message I just mentioned was the only order note for these 2 orders, there were no notes regarding card authorization.

    We were using woocommerce 5.0.0 for a few days but once we noticed this error we reverted back to woocommerce 4.8.0. We are not seeing this error anymore. During the time we were using woocommerce 5.0.0 all other orders besides the two I mentioned were fine, authorization occurred without issues and capturing payment manually worked without issues.

  • The topic ‘PHP Fatal error: Uncaught HpsArgumentException: Get needs a transactionId’ is closed to new replies.