Checkouts buttons not showing
-
Hello there,
We have recently noticed that checkout buttons have disappeared on safari mobile only, the loading icon keeps loading and nothing shows up. all other browsers and devices still showing fine so far.
Please advise.
-
Hello @gentlemako
A similar problem occurred recently with another user, which was caused by a caching plugin. To address this, I recommend conducting a full conflict test. This will help determine if the issue is related to the theme or another plugin. You can start by temporarily activating the default theme Storefront, which you can find here: Storefront Theme. Once you’ve activated Storefront, please disable all other plugins except for WooCommerce and PayPal Payments. This step is crucial to isolate the cause of the issue.
For a more detailed guide on how to perform these tests, please refer to: How to test for conflicts.
If the issue persists after performing these steps, we suggest you contact us directly for further assistance. We may need to examine your system report or logs to better understand what’s happening. You can open a ticket with our service desk. Here’s how you can request support: Request Support. Please make sure to include the URL of this thread in your ticket for reference.
Kind Regards,
Krystian
Update: Hello there,
It seems like the issue only happen for a period of time and then start working again, and then begin having issue reloading, something is wrong when trying to call Paypal to get the checkout buttons on the cart and checkout page.
Update we have found the following log errors:
2023-11-28T18:21:23+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function WooCommerce\PayPalCommerce\OrderTracking\Integration\ShipStationIntegration::WooCommerce\PayPalCommerce\OrderTracking\Integration\{closure}(), 1 passed in /var/www/gg/wp-includes/class-wp-hook.php on line 326 and exactly 2 expected in /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Integration/ShipStationIntegration.php:74 Stack trace: #0 /var/www/gg/wp-includes/class-wp-hook.php(326): WooCommerce\PayPalCommerce\OrderTracking\Integration\ShipStationIntegration->WooCommerce\PayPalCommerce\OrderTracking\Integration\{closure}(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #1 /var/www/gg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #2 /var/www/gg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/gg/wp-content/plugins/woocommerce-shipstation-integration/includes/api-requests/class-wc-shipstation-api-shipnotify.php(334): do_action(‘woocommerce_shi…’, Object(Automattic\WooCommerce\Admin\Overrides\Order), Array) #4 /var/www/gg/wp-content/plugins/woocommerce-shipstation-integration/includes/class-wc-shipstation-api.php(80): WC_Shipstation_API_Shipnotify->request() #5 /var/www/gg/wp-content/plugins/woocommerce-shipstation-integration/includes/class-wc-shipstation-api.php(37): WC_Shipstation_API->request() #6 /var/www/gg/wp-content/plugins/woocommerce-shipstation-integration/includes/class-wc-shipstation-api.php(89): WC_Shipstation_API->__construct() #7 /var/www/gg/wp-content/plugins/woocommerce-shipstation-integration/woocommerce-shipstation.php(81): include_once(‘/var/www/gg/wp-…’) #8 /var/www/gg/wp-includes/class-wp-hook.php(324): woocommerce_shipstation_api(”) #9 /var/www/gg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #10 /var/www/gg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /var/www/gg/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action(‘woocommerce_api…’) #12 /var/www/gg/wp-includes/class-wp-hook.php(324): WC_API->handle_api_requests(Object(WP)) #13 /var/www/gg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #14 /var/www/gg/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #15 /var/www/gg/wp-includes/class-wp.php(418): do_action_ref_array(‘parse_request’, Array) #16 /var/www/gg/wp-includes/class-wp.php(813): WP->parse_request(”) #17 /var/www/gg/wp-includes/functions.php(1336): WP->main(”) #18 /var/www/gg/wp-blog-header.php(16): wp() #19 /var/www/gg/index.php(17): require(‘/var/www/gg/wp-…’) #20 {main} thrown in /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Integration/ShipStationIntegration.php on line 74
Hello @gentlemako
Regarding the problem with the Smart Button not loading properly in Safari, we are aware that in some rare cases, especially when the “Hide IP address from trackers” feature is enabled, this can occur. A similar topic was discussed here. The only suggestion we have is to disable this feature in your browser.As for the critical error you mentioned in your second post its not related to the initial problem, however this issue has been addressed in the new version of the plugin. We recommend that you download and install this update to resolve the issue. More details can be found here: https://github.com/woocommerce/woocommerce-paypal-payments/pull/1841
You can find the new version (2.4.2-rc1) of the WooCommerce PayPal Payments plugin at this link: https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/2.4.2-rc1. Please update the plugin and let us know if it resolves the issues you’ve been facing.
Kind regards,
Krystian- This reply was modified 11 months, 4 weeks ago by Krystian from Syde.
Thank you so much! will do.
Hello there,
The new version seems to fix the issues but a few hours ago I was trying the Checkout Paypal option on safari Iphone and the buttons keeps loading again, it was fixed for a while but I think it started again, it works fine on chrome tho. Can you please confirm if you have other users with the same issue.
UPDATE:
This Issue seems to also include Chrome as well. It works for a while and then stops working afterward for a little bit and then starts working again.
Please advise.
Thank you.
same issue here. I was looking into an issue a customer was having with their address info (they were on chrome mobile) address line 2 wasnt showing and wouldn’t accept their apartment # on line 1, so used my partners iphone – on both safari and chrome on their iphone no smart buttons will load and the proceed to paypal button appears and presents a 403 forbidden when clicked.
- This reply was modified 11 months, 2 weeks ago by reefrefuge.
Hello there,
Any updates on this? the issue still persists and we’re probably losing orders because of this, any updates will be greatly appreciated.
Please advise. Thank you.
It seems that the hide IP option cause the issue with safari, the problem is I didn’t update this option on safari setting on my iphone to begin with, which mean a lot of Iphone users which makes most of our customers might have this option activated by default which is a big problem, so please let us know if there is any fix for this.
Thank you.
Using the latest PayPal Payments version, the “Place order” button will remain visible on the Checkout page and redirect the buyer to the PayPal website if the smart buttons fail to load. So, the buyer should always have a fallback option to complete the PayPal payment, even without smart buttons.
It is also possible to entirely disable the PayPal smart buttons on the Checkout page: https://github.com/woocommerce/woocommerce-paypal-payments/wiki/Actions-and-Filters#disable-checkout-smart-buttons
Then, PayPal Payments would work similarly to the old PayPal Standard integration and only redirect the buyer with a “Proceed to PayPal” button to the PayPal website instead of embedding the PayPal smart buttons on the Checkout page. However, this would essentially break all advanced features on the Checkout page like Pay Later, APMs, Advanced Card Processing, Vaulting, etc., since these features require the PayPal scripts to be loaded on the page.Beyond this, I don’t see what we could do here to prevent certain Safari configurations from blocking PayPal from loading, so I’ll mark this thread as resolved. The plugin doesn’t care which browser the buyer uses as long as PayPal supports it. When in doubt, the best recommendation for users encountering issues with the PayPal buttons not loading is to use a proper web browser like Firefox or Chrome instead of Safari.
Kind regards,
NiklasHello there,
Thank you for looking into this, sadly this is not the way, when the problem happens there is a loading icon that keeps turning and no buttons are shown, also when sometimes the proceed to Paypal button shows up which happens very rarely it does not redirect to PayPal, it just get stuck.
We had previously disabled the smart button and the checkout rate went down, we also tried the custom advanced card processing and had so many problems with it. the only option that worked well for a while is the smart buttons, which right now have this problem of not showing up when the hide ip adress is checked, this problem was not there a few months ago until now, also we don’t understand why Paypal need a user IP to start working, even tho it does work sometimes on its own and then start having problems.
- This reply was modified 10 months, 2 weeks ago by EliteGent.
- The topic ‘Checkouts buttons not showing’ is closed to new replies.