- Posts: 13
- Thank you received: 2
PayPal Checkout button disappears when ad blocking is enabled in Opera and Brave
7 hours 5 minutes ago #100000846
by Bone
PayPal Checkout button disappears when ad blocking is enabled in Opera and Brave was created by Bone
-- HikaShop version -- : 6.8.2
-- Joomla version -- : 6.2.1
-- PHP version -- : 8.3.37-nmm1
-- Browser(s) name and version -- : Opera 140.0.6074.36, Brave 1.100.59
PayPal Checkout button disappears when ad blocking is enabled in Opera and Brave
Hello,
I have encountered a problem with the HikaShop PayPal Checkout payment plugin following the recent HikaShop update.
My environment:
When a customer reaches the final checkout page (
), the PayPal payment button is not displayed when the browser's ad-blocking functionality is enabled.
I have reproduced this issue in both Opera and Brave.
Additionally, in the HikaShop administration panel, the PayPal Checkout configuration displayed the following error messages:
The PayPal integration had been working correctly before the recent update.
Steps to reproduce:
The PayPal payment button should be displayed correctly. If browser restrictions prevent the PayPal SDK from loading, HikaShop should at least display an appropriate error message instead of leaving the customer without a payment option.
This is a significant issue for an online shop, as customers may abandon their orders without knowing why the payment button is missing.
Could you please investigate the following:
-- Joomla version -- : 6.2.1
-- PHP version -- : 8.3.37-nmm1
-- Browser(s) name and version -- : Opera 140.0.6074.36, Brave 1.100.59
PayPal Checkout button disappears when ad blocking is enabled in Opera and Brave
Hello,
I have encountered a problem with the HikaShop PayPal Checkout payment plugin following the recent HikaShop update.
My environment:
- Joomla 6.2.1
- HikaShop with the latest installed update
- HikaShop PayPal Checkout payment plugin
- Browsers: Opera and Brave
When a customer reaches the final checkout page (
Code:
/checkout/confirm/
I have reproduced this issue in both Opera and Brave.
Additionally, in the HikaShop administration panel, the PayPal Checkout configuration displayed the following error messages:
- Authorization failed due to insufficient permissions.
- Your PayPal merchant account email address has not yet been confirmed.
The PayPal integration had been working correctly before the recent update.
Steps to reproduce:
- Open the website using Opera or Brave with ad blocking enabled.
- Add a product to the shopping cart.
- Proceed to the final checkout page (
).Code:/checkout/confirm/
- The PayPal payment button is missing.
- In Opera, disable the ad blocker and reload the page.
- The PayPal payment functionality works again.
The PayPal payment button should be displayed correctly. If browser restrictions prevent the PayPal SDK from loading, HikaShop should at least display an appropriate error message instead of leaving the customer without a payment option.
This is a significant issue for an online shop, as customers may abandon their orders without knowing why the payment button is missing.
Could you please investigate the following:
- Is this issue related to recent changes in the PayPal Checkout integration or JavaScript SDK?
- Why does ad blocking interfere with the PayPal Checkout functionality?
- Why does the administration panel display potentially misleading authorization and email verification errors?
- Is it possible to implement a fallback payment mechanism or detect blocked PayPal scripts and display an appropriate warning to customers?
Please Log in or Create an account to join the conversation.
2 hours 26 minutes ago #100000850
by nicolas
Replied by nicolas on topic PayPal Checkout button disappears when ad blocking is enabled in Opera and Brave
Hi,
Thank you for the detailed report: we could reproduce it.
Since HikaShop 6.6.0, the PayPal Checkout plugin uses PayPal's new JavaScript SDK (version 6), as PayPal asks. That SDK opens a small invisible frame from www.paypal.com , at an address of the form /web-sdk/.../pixel?clientId=..., before it creates the buttons. EasyPrivacy, one of the filter lists the built-in ad blockers of Opera and Brave use, has a rule which blocks any address containing "/pixel?clientId=". It blocks that frame, and PayPal's SDK then waits forever without giving any error, so the page stayed without buttons and without any message. The older SDK version had no such frame, which is why it worked before the update. It is not caused by your settings, and nothing on the shop side can make the ad blocker let that frame through.
We have changed the plugin so that the payment page no longer stays silent: when PayPal's buttons do not start within 15 seconds, it now tells the customer that an ad blocker or the browser's tracking protection seems to block PayPal, and asks them to allow your website in it and reload the page, or to cancel and choose another payment method (the cancel button under it brings them back to the checkout). When the buttons are not blocked, nothing changes. This is in the latest build of HikaShop 6.8.2: download it from your account on our website and install it over your current HikaShop (same version number, so Joomla's updater does not offer it; your settings are kept). If you also offer another payment method (bank transfer, for example), customers who cannot or do not want to turn off their ad blocker can still complete their order.
About the two messages in the PayPal Checkout settings: they are not related to the ad blocker. That screen asks PayPal's servers for the status of your connected PayPal account, and PayPal answered "Authorization failed due to insufficient permissions", which means it refused to give that status to your shop's credentials. The plugin then wrongly read that refusal as an account with an unconfirmed email address. This status check does not change the payments (they worked for you once the ad blocker was off). The same build now shows PayPal's answer as a warning instead of the misleading email message. If you want that check to show your account's status again, click the Connect button in the PayPal Checkout payment method to connect your PayPal account again. The plugin's documentation: www.hikashop.com/support/documentation/5...pal-integration.html
Thank you for the detailed report: we could reproduce it.
Since HikaShop 6.6.0, the PayPal Checkout plugin uses PayPal's new JavaScript SDK (version 6), as PayPal asks. That SDK opens a small invisible frame from www.paypal.com , at an address of the form /web-sdk/.../pixel?clientId=..., before it creates the buttons. EasyPrivacy, one of the filter lists the built-in ad blockers of Opera and Brave use, has a rule which blocks any address containing "/pixel?clientId=". It blocks that frame, and PayPal's SDK then waits forever without giving any error, so the page stayed without buttons and without any message. The older SDK version had no such frame, which is why it worked before the update. It is not caused by your settings, and nothing on the shop side can make the ad blocker let that frame through.
We have changed the plugin so that the payment page no longer stays silent: when PayPal's buttons do not start within 15 seconds, it now tells the customer that an ad blocker or the browser's tracking protection seems to block PayPal, and asks them to allow your website in it and reload the page, or to cancel and choose another payment method (the cancel button under it brings them back to the checkout). When the buttons are not blocked, nothing changes. This is in the latest build of HikaShop 6.8.2: download it from your account on our website and install it over your current HikaShop (same version number, so Joomla's updater does not offer it; your settings are kept). If you also offer another payment method (bank transfer, for example), customers who cannot or do not want to turn off their ad blocker can still complete their order.
About the two messages in the PayPal Checkout settings: they are not related to the ad blocker. That screen asks PayPal's servers for the status of your connected PayPal account, and PayPal answered "Authorization failed due to insufficient permissions", which means it refused to give that status to your shop's credentials. The plugin then wrongly read that refusal as an account with an unconfirmed email address. This status check does not change the payments (they worked for you once the ad blocker was off). The same build now shows PayPal's answer as a warning instead of the misleading email message. If you want that check to show your account's status again, click the Connect button in the PayPal Checkout payment method to connect your PayPal account again. The plugin's documentation: www.hikashop.com/support/documentation/5...pal-integration.html
Please Log in or Create an account to join the conversation.
36 minutes ago #100000851
by Bone
Replied by Bone on topic PayPal Checkout button disappears when ad blocking is enabled in Opera and Brave
Unfortunately I get this message and there is notating about switching off of the AddBlocker
Nie udało się załadować przycisków płatności, ponieważ PayPal odrzucił aplikację PayPal tego sklepu. Jeśli jesteś właścicielem sklepu, sprawdź identyfikator klienta i ustawienie sandbox w metodzie płatności PayPal Checkout oraz czy funkcja "JavaScript SDK v6" jest włączona dla tej aplikacji w panelu deweloperskim PayPal.
English:
The payment buttons could not be loaded because PayPal rejected this store's PayPal application. If you are the store owner, please check the client ID and sandbox setting in the PayPal Checkout payment method, and ensure that the "JavaScript SDK v6" feature is enabled for this application in the PayPal developer dashboard.
Nie udało się załadować przycisków płatności, ponieważ PayPal odrzucił aplikację PayPal tego sklepu. Jeśli jesteś właścicielem sklepu, sprawdź identyfikator klienta i ustawienie sandbox w metodzie płatności PayPal Checkout oraz czy funkcja "JavaScript SDK v6" jest włączona dla tej aplikacji w panelu deweloperskim PayPal.
English:
The payment buttons could not be loaded because PayPal rejected this store's PayPal application. If you are the store owner, please check the client ID and sandbox setting in the PayPal Checkout payment method, and ensure that the "JavaScript SDK v6" feature is enabled for this application in the PayPal developer dashboard.
Please Log in or Create an account to join the conversation.
Time to create page: 0.055 seconds