Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Domain Connecting from Facebook #2795

Open
2 tasks
puntope opened this issue Sep 5, 2024 · 10 comments
Open
2 tasks

Wrong Domain Connecting from Facebook #2795

puntope opened this issue Sep 5, 2024 · 10 comments
Assignees
Labels
type: bug The issue is a confirmed bug.

Comments

@puntope
Copy link
Contributor

puntope commented Sep 5, 2024

🔎 Isolate the bug

  • I have confirmed this occurs in the most recent version of WordPress, WooCommerce, and Facebook for WooCommerce.
  • I have confirmed this occurs when only WooCommerce and Facebook for WooCommerce are active and when using a default WordPress or WooCommerce theme.

✍️ Describe the bug

ZD Ticket: 8680867-zd-a8c
Slack Conversation: p1725461469529279-slack-CK365S85V

We discover that for this user, when connecting from Facebook the domain points to:

connect.woocommerce.com/integrations/check-dependencies/facebook

Producing a Bad Request

Screenshot 2024-09-05 at 12 18 02

This domain is not correct and should be:

api.woocommerce.com/integrations/check-dependencies/facebook

✔️ Expected behavior

domain should be:

api.woocommerce.com/integrations/check-dependencies/facebook

🗃 Logs

@puntope puntope added the type: bug The issue is a confirmed bug. label Sep 5, 2024
@aijazmahdavi
Copy link

what's the solution?

@layoutd
Copy link
Collaborator

layoutd commented Oct 29, 2024

Hi @aijazmahdavi, thanks for following up.

The issue concerns a configuration setting in the WooCommerce Integration app on Facebook. We've updated the setting, but the authorization process doesn't seem to reflect this change yet. We've reached out to Meta to ask for clarification.

In the meantime, this workaround should do the trick:

  1. When you click on the "Continue" button in the "Connect WooCommerce Integration" modal (launched from the Facebook Business > Connected apps > WooCommerce Integration section):
    Image

  2. A new window opens with the url https://connect.woocommerce.com/app-store-login/facebook/?redirect_uri=…
    Image

  3. Copy that whole URL and modify it like this:
    https://connect.woocommerce.com/app-store-login/facebook/?redirect_uri=…
    → Change connect.woocommerce.com to api.woocommerce.com/integrations
    https://api.woocommerce.com/integrations/app-store-login/facebook/?redirect_uri=…

  4. Then paste it into a new tab/window (in the same browser session), you should see the correct form:
    Image

  5. After submitting your store URL, you'll see the Approval form (you need to be logged in to your store admin):
    Image

  6. IMPORTANT After you click "Approve", the window will go to a white screen. You can close it and go back to the original tab/window with Facebook Business (where you started the Connect WooCommerce Integration process from step 1) and you'll see new options to "Make the most out of your connection"
    Image

@marktokarchuk
Copy link

Hello!
All works until step 6.
Instead of this: " After you click "Approve", the window will go to a white screen" i've got a screen with this text "You do not have permission to finish App Store login."

@layoutd
Copy link
Collaborator

layoutd commented Oct 29, 2024

Hi @marktokarchuk, sorry you're still having problems. Can you send a screenshot? Are you logged in to both the Facebook account and the WooCommerce admin account in the browser you're using for the connection process? What is the URL of the error page?
Thanks

@aijazmahdavi
Copy link

Hi, I am facing the same issue.

Step6: IMPORTANT After you click "Approve", the window will go to a white screen. You can close it and go back to the original tab/window with Facebook Business (where you started the Connect WooCommerce Integration process from step 1) and you'll see new options to "Make the most out of your connection"

Here is what happens I tried new tab and new window after white screen I close the tab/window and come back to meta business page and click see features but it pops same dialogue box for integration, I reloaded the page still same.

Image

@layoutd
Copy link
Collaborator

layoutd commented Oct 29, 2024

Thanks for the reply @aijazmahdavi, we'll push for Meta to clarify what needs to happen for this process to successfully finish.

@cosycorners
Copy link

I also get stuck on step 6 ...

@aijazmahdavi
Copy link

Thanks @layoutd so shall I wait or there is trick for doing it.

@layoutd
Copy link
Collaborator

layoutd commented Oct 30, 2024

Please hang tight until we get some sort of clarification. Hope to have something for you soon!

@mankinchan
Copy link

I am also stuck on step 6, rather I don't see it all. I click approve on step 5 and the window closes, leaving me back at step 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

7 participants