• Hi!

    When I try to Capture Payment manually I get a 500-error. It’s set to capture automatically, but sometimes that fails and the status is set to Paused and the capture payment -buttons don’t work. It did work before I’m not sure when it stopped, but maybe a couple of days to a week ago.

    The array seem to contain the information the object should, but just as an array.

    Any advice would be appreciated. ??

    the logfile says:

    PHP Fatal error:  Uncaught Error: Call to a member function getReference() on array in /blabla/swedbank-pay-checkout/vendor/swedbank-pay/swedbank-pay-woocommerce-core/src/SwedbankPay/Core/Library/Methods/Checkout.php:507
    Stack trace:
    #0 /blabla/swedbank-pay-checkout/includes/class-wc-gateway-swedbank-pay-checkout.php(1673): SwedbankPay\Core\Core->captureCheckout(23176, '485.00', 0, Array)
    #1 /blabla/swedbank-pay-checkout/includes/class-wc-swedbank-plugin.php(356): WC_Gateway_Swedbank_Pay_Checkout->capture_payment(Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #2 /blabla/wp-includes/class-wp-hook.php(292): SwedbankPay\Checkout\WooCommerce\WC_Swedbank_Plugin->ajax_swedbank_pay_capture('')
    #3 /blabla/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
    #4 /blabla/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /blabla/pub in /blabla/wp-content/plugins/swedbank-pay-checkout/vendor/swedbank-pay/swedbank-pay-woocommerce-core/src/SwedbankPay/Core/Library/Methods/Checkout.php on line 507
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Capture Paymen fails’ is closed to new replies.