How to stop google chrome "Your payment" pop-up? - wordpress

I built a Woocommerce site. When I click "Proceed to checkout", the following chrome popup comes. But, it should go to my checkout page. It usually comes when I logged in my Gmail account, in another tab. Can anyone please tell me, how can I stop this pop-up coming! I want to go to my checkout page after clicking on "Proceed to checkout". It should not matter whether I am Gmail logged in or not

A lot of people are having this kind of issue, but you can disable it quite easily.
Go to WooCommerce settings and look for something called "Payment Request API" (I don't know where exactly it is, but it is in the settings) - just disable it and the popup won't show anymore to you or anyone else logged in with their Google account.

Related

How to enable a plugin from a link in an admin notification in wordpress?

I added a notification (using admin_notices hook) in my theme code to show a banner talking about a partner plugin. In that banner I need to add a link that activates the plugin for me. Is that possible?
I've tried using get_admin_url with no luck (got redirected to an "are you sure?" page that did nothing).
You can apparently activate a plugin with the activate_plugin function, documented here: https://codex.wordpress.org/Function_Reference/activate_plugin
That requires PHP to run, which you cannot trigger by clicking a link in JavaScript. What you could do is create some hidden admin page (https://premium.wpmudev.org/blog/creating-wordpress-admin-pages/), which contains your activate_plugin code. When the user clicks the link in your admin notice, you just link them to this page, which runs the activate code. You should consider checking to see if the plugin is actually present in the plugins directory and that it is not already activated.
Then maybe redirects the user somewhere else so they get a decent experience.

Wordpress "Add Link to Facebook" plugin

I've been using the Wordpress "Add Link to Facebook" plugin to add links to articles to Facebook. This has been working fine until last night (coinciding with our first scheduled post).
Now, if I go to a published post, I can see "Add link: Facebook error: (#283) Requires extended permission: manage_pages" as a custom post value.
On Facebook, when I go to Settings -> Apps and click the edit icon on the app, it does appear to have the Manage your Pages permission.
I've tried logging out, logging in, deauthorising, reauthorising etc.
Besides the scheduled posts, I have no explanation for why it's suddenly stopped working. Does anybody have any idea what might be going wrong?
Thanks!
https://wordpress.org/support/topic/april-29-2015-facebook-errors-283-and-200
Facebook forced apps to update to API v2.3 last night. Sounds like something went wrong though, so it's just a matter of waiting for them to fix it...

hybridauth facebook display=popup setting not working

I'm using hybridauth-2.2.2 to implement facebook connect.
Connecting and login with facebook is not a problem.
At the moment my login page goes to the facebook login page and redirects back, but I want to open the facebook login dialog in a popup window, so I changed the setting display=page to display=popup but it still redirects to the facebook login page. I assume that I'm missing something so just wanted to know what. Any help would be greatly appreciated. Please let me know if you require more details.
Thanks,
Devo
guess I was expecting too much of the hybridauth library this time. I thought the display=popup setting would add the js to open the pop up window itself, but I guess it's just to tell facebook api whats been used to connect. So just added the bit of js needed to open a popup window for facebook login

Link on my website to facebook message a page

I would like to embed a link that will open site visitor's browser with their facebook account in "New Message" writing mode with the "to:" field already pointing to my Facebook page.
Is there a way to do this?
It's a wordpress site, so if there is already a plugin that can do this I'd be happy to know which (without asking the visitor for permissions to a facebook app).
Thanks!
You could try to use the FB.ui send dialog:
https://developers.facebook.com/docs/reference/dialogs/send/
There is a parameter called "to" where you could try to add the ID of your Facebook Page. Although i am not sure if it works for Pages, but it´s worth trying.

Permalink not work when admin not login

I had configured premalink on my wordpress. It works fine when I login in as a admin.
However, if I log out, all of the links cannot be opened. Instead, it gives me a 404 page.
Has anyone met this problem before and tell me how to solve it? Thanks.
Double check your page properties. May be it is password protected/private or may be it is not published.
To check page properties:
Login to Dashboard.
Click Pages on left side.
Hover on the page which you getting 404 and click Quick Edit
This will show all the details about your page. Check the password field, private and the Status field. The status should be published.
Check it.
Try flushing the permalinks cache by going back to the permalink options and clicking save (without changing anything). If that doesn't do the trick, make sure you've cleared your browser cache :P

Resources