• Resolved erikture

    (@erikture)


    I have been using the plugin for serveral years now an it has worked fine until some time ago. Probably months as we do not have that much “traffic” during winter season. I use the latest version of WordPress, Woocommerce and your plugin.

    Everything works fine if you use a computer to place the order and then enter your mobile number and start the swish app on that phone. But if you perform everything on the mobile I can se this in the log:
    [20-Feb-2026 06:11:12 UTC] PHP Warning: Attempt to read property “payment_request_token” on null in /xxx/wp-content/plugins/woo-swish-e-commerce/classes/woo-swish-payment-gateway.php on line 1704

    And on the sceen on the mobile I see in Swedish:
    Android:
    Swish kan inte ansluta till servern
    Detta kan bero på

    1. Att din internetuppkoppling inte fungerar
    2. Tjänsten är tillfälligt nere
    Kontrollera din uppkoppling och försök igen
    Okey

    Iphone:
    Incorrect link
    The link used to open the app has an incorrect format.
    Okey

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author carlericsson

    (@carlericsson)

    Hi @erikture ,

    Thanks for reaching out. This is really interesting and I think this is related to a stubborn bug that we we’ve been unable pinpoint up till now. Are you able you able to recreate the bug? If so could you please head to the Swish plugin settings in WooCommerce and enable logging at the bottom of the settings page. Once you’ve done that – recreate the bug. Then send the log over to us at [email protected] (the log can be found under WooCommerce -> Status -> Logs and is called woo-swish-e-commerce followed by the date of the log).

    /Carl

    Thread Starter erikture

    (@erikture)

    I have sent you an email

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.