搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox browser is blocking the paypal popup on our order forms. Im trying to find information on why or how we can get around this

  • 7 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

Hey,

Recently we have discovered that the firefox browser was blocking popups for our paypal smart button, so when you click to pay firefox prevents that payment popup from happening. Is this supposed to be happening? To my understanding user interaction should generate the popup.

Hey, Recently we have discovered that the firefox browser was blocking popups for our paypal smart button, so when you click to pay firefox prevents that payment popup from happening. Is this supposed to be happening? To my understanding user interaction should generate the popup.

所有回覆 (7)

more options

Are you able to reproduce this yourself? Firefox configurations in the wild can have a very diverse range of add-ons and settings, so it's quite difficult to investigate if it can't be reproduced by your team.

This is what I normally would suggest to a user:

If a site is generally known to work in Firefox, these are standard suggestions to try when it stops working normally:

Double-check content blockers: Firefox's Content Blocking feature and extensions that counter ads and tracking may break websites that embed third party content (meaning, from a secondary server).

(A) Do you see a shield icon toward the left end of the address bar, near the lock icon? More info on managing the Tracking Protection feature in this article: Content Blocking.

(B) Extensions such as Adblock Plus, Blur, Disconnect, Ghostery, NoScript, Privacy Badger, uBlock Origin or uMatrix should provide toolbar buttons to manage blocked content in a page. There may or may not be a number on the icon indicating the number of blocked items; you may need to click the button to see what's going on and test whether you need to make an exception for this site.

Cache and Cookies: When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.

(1) Clear Firefox's Cache

See: How to clear the Firefox cache

If you have a large hard drive, this might take a few minutes.

(2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:

  • right-click (on Mac Ctrl+click) a blank area of the page and choose View Page Info > Security > "Clear Cookies and Site Data"
  • (menu bar) Tools > Page Info > Security > "Clear Cookies and Site Data"
  • click the padlock or "i" icon in the address bar, then the ">" button, then More Information, and finally the "Clear Cookies and Site Data" button

In the dialog that opens, you will see one or more matches to the current address so you can remove the site's cookies individually without affecting other sites.

Then try reloading the page. Does that help?

Testing in Firefox's Safe Mode: In its Safe Mode, Firefox temporarily deactivates extensions, hardware acceleration, and some other advanced features to help you assess whether these are causing the problem.

If Firefox is not running: Hold down the Shift key when starting Firefox. (On Mac, hold down the option/alt key instead of the Shift key.)

If Firefox is running: You can restart Firefox in Safe Mode using either:

  • "3-bar" menu button > "?" Help > Restart with Add-ons Disabled
  • (menu bar) Help menu > Restart with Add-ons Disabled

and OK the restart.

Both scenarios: A small dialog should appear. Click "Start in Safe Mode" (not Refresh).

Any improvement?

more options

Hello,

I am definitely able to reproduce the error, as long as the site is not in my exceptions. Whenever you click the paypal order button firefox prevents the payment popup from happening.

There is no shield icon in the address bar. And my Ad Block Plus is allowing the popup, as its a user interacted button for paypal.

Running firefox in safe mode still blocks this popup from appearing.

Firefox is directly blocking this popup and we do not want that happening. Technically it shouldnt happen, blocking spam popups is one thing but this is a secure paypal smart payment button.

more options

Is it okay if I link you to our order form?

more options

Hi CommodoreRutt, yes, you can post a link there. If you want to remove it later, there should be an Edit link next to your replies.

I don't know whether you will find anything, but you also could check for error or security messages in the "Browser Console" that could be related to this problem.

You can open the separate Browser Console window using either:

  • "3-bar" menu button > Web Developer > Browser Console
  • (menu bar) Tools > Web Developer > Browser Console
  • (Windows) Ctrl+Shift+j

Click the trash can icon at the upper left to clear the window, then switch back over to your main window and try the PayPal button.

Then switch back over to the console window. Did Firefox log any messages related to the button action?

More info on the Browser Console: https://developer.mozilla.org/docs/Tools/Browser_Console

more options

I do get a TypeError: t is null from paypal.js when I try to click the button. This does not happen when I add our form site to the exceptions in the popup blocker settings on firefox, which I find interesting.

https://ga166.infusionsoft.app/app/orderForms/Mental-Strength-Academy---Online

Is one of the order forms we are having this issue on.

more options

This is complicated. The link has an onclick handler that runs this function call:

Infusion.Ecomm.OrderForms.payPalExpressLogin('Mental-Strength-Academy---Online', 'PayPal Login');

When I submit

Infusion.Ecomm.OrderForms.payPalExpressLogin.toString();

in the web console, I get back

"function s(e,r){jQuery.ajax({url:Infusion.Util.Url.getUrl(\"orderFormProcessing\",\"payPalExpressLogin\"),data:{identifier:e},type:\"POST\",dataType:\"json\",success:function(e){\"true\"===jQuery(\"#removePayPalPopups\").val()?window.location=e.payPalUrl:Infusion.Ecomm.PayPal.openPayPalFlow(r,\"payPalLightBox\",e.payPalUrl,\"closeLightBox\",\"payPalGo\")}})}"

which is about where I stop being able to following what is happening. However, I am not terrible at web searches, so I wonder if this might be what you need:

https://coderwall.com/p/zn6bgw/prevent-popup-blocker-in-jquery-ajax-callback

or for more:

https://www.google.com/search?q=jquery-ajax+firefox+popup+blocker

more options

Works here for me. I get a pop-up window with a paypal information, but the text color is (almost) white and I need to select the text. I also get the Firefox notification bar that a pop-up is blocked. Both the Go button and allowing to open the po-up brings me to the paypal website and I'm not seeing the mentioned messages in the Console. POST: https://ga166.infusionsoft.app/app/orderFormProcessing/payPalExpressLogin