• Resolved oracle1979

    (@oracle1979)


    Hello, i′ve installed the plugin and followed the insturction. However, if i click in the last step on the finish button i get an error “Whoops, looks like something went wrong.”
    If i refresh the site i get Token exchange failed.

    Best regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @oracle1979. I understand you’re not able to complete setup with the Facebook plugin due to a “Whoops, something went wrong” error at the end of the setup process.

    One possible cause for this issue is that your site currency is not supported by Facebook. Could that be the issue? You can see the list of supported currencies here.

    Another possibility is that your wc_facebook_external_business_id option is blank or contains non-Latin characters. To check this, go to the wp-admin/options.php page on your site (so https://yoursite.com/wp-admin/options.php) and search for the text “wc_facebook_external_business_id” on the page. Once you find it, make sure it isn’t blank and contains only Latin characters.

    Let us know how that goes and we’ll go from there!

    Same problem here.

    I cannot delete anything in options.php.
    I can enter, but when I change any option there, the browser shows me a 403 Forbidden error

    Thread Starter oracle1979

    (@oracle1979)

    Hi Austin,
    currency is Euro (EUR) and the wc_facebook_external_business_id is maintained correctly. Not sure why but today i tried it again and now it works fine.

    Thanks

    Hi @viandascook,

    You should normally be able to edit the options.php.

    Since you’re not the person who originally started this topic then, per the forum guidelines, please start your own topic? We’ll be more than happy to help.

    In the topic you are creating, please share a short recording of the process leading you to the error message. You can use something like loom to share the video.

    Also, please give this solution a try: https://www.ads-software.com/support/topic/problem-with-facebook-for-woocommerce/#post-15385329

    Thanks for sharing updates @oracle1979!

    Hello

    I am facing same issue “ Token exchange failed “.
    and also find this code “wc_facebook_external_business_id” wp-admin/options.php this location but i didn’t get this code and then i will check in database in options table i got this code and it is valid code.so please give me the other solution.

    and also i am try with other way remove business application in facebook but still i am facing same issue.

    my error log :-

    02-21-2022 @ 13:25:28 - Failed to connect to Facebook. Reason: {
        "message": "This authorization code has been used.",
        "type": "OAuthException",
        "code": 100,
        "error_subcode": 36009,
        "fbtrace_id": "ASu4umtqRYGtV9drwD3sIaK"
    }
    • This reply was modified 2 years, 9 months ago by pradiponline.

    Hi @pradiponline,

    Per our forum guidelines, please start your own thread so we can help troubleshoot your issue better.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Token exchange failed’ is closed to new replies.