• Resolved cybersix

    (@cybersix)


    Hello, I have some problems with donation forms on mobiles. I’m setting up a donation form working at my computer, everything is working fine. But when I test the form on my mobile I get the following error: ” Error: Your access token has expired. Please request a new one.”

    Also, going on with steps, after choosing payment (in this case “test” donation, with test environment disabled in GiveWP) nothing loads, the page has a circle that keeps spinning, no confirmation email and no confirmation/error page.

    I asked other people to test it from their mobile, while they don’t get the message about the token they have the same problem after payment.

    I disabled all caching plugins, on server too (siteground hosting).

    Cleared cache many times everywhere.

    Installed Native PHP Sessions for WordPress plugin.

    Nothing seems to help.

    I need to make it work.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Rick Alday

    (@mrdaro)

    Hi there,

    The token error is always related to cache. I checked your form and didn’t get a token error but I did get the infinite spinner.

    The admin-ajax.php request throws a 403 error:
    https://www.loom.com/i/84230c0dae6d4e6a8647546c27a87b1a

    The HTTP?403 Forbidden?response status code indicates that the server understands the request but refuses to authorize it. You need to contact your host about it.

    Thread Starter cybersix

    (@cybersix)

    Hello, many thanks for checking.

    I will contact siteground with these informations, but one question, why it doesn’t happen on laptops?

    Thank you

    Thread Starter cybersix

    (@cybersix)

    With siteground assistance I put wordfence in learning mode, and whitelisted givewp request as per your guide.

    I still have the same problem. No error logs in siteground.

    Thread Starter cybersix

    (@cybersix)

    Sorry for all this writing, I found the problem. Using Site Health. There was a critical erro: “A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.”

    So I dsabled all plugins and reactivated one by one, the problem was the plugin WP Spam Shield.

    Thank you!

    Plugin Support Rick Alday

    (@mrdaro)

    Glad to hear that. I’ll close this ticket now but don’t hesitate to open a new thread if you run into any other issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Token error and problems on mobile’ is closed to new replies.