woocommerce / woocommerce-paypal-payments

https://wordpress.org/plugins/woocommerce-paypal-payments/
GNU General Public License v2.0
62 stars 47 forks source link

Cart icon disappearing and Paypal buttons showing only in preview #2111

Open aryaok opened 7 months ago

aryaok commented 7 months ago

Hello, I installed Paypal's plug-in in WooCommerce and enabled both Google Pay and Apply Pay buttons. I use Elementor as builder for my pages.

I am experiencing two issues on the Checkout page since I enabled the Paypal as a payment method in WooCommerce>Settings>Payments:

1) If Paypal is enabled as payment method, the Menu Cart in my header disappears (the WooCommerce button to view the current cart ). This happens ONLY on the checkout page. If I go to other pages of my website I can see it. If I disabled Paypal as a payment method, the cart icon re-appears in the cheakout header (which by the way is the same across the entire site, so it is not a special one). (fig. HEADER ALL PAGES and fig. HEADER CHECKOUT)

2) If I open my checkout page through the Elementor's preview option, I see the correct Paypal and Google Play buttons (fig. PREVIEW_CHECKOUT). However when I actually test the checkout page on the live site, instead of the buttons I have one blue standard button saying "Proceed with Paypal" (fig. LIVE_CHECKOUT)

Environment

Additional Details

I tried clearing cache and tested on different browsers and devices. Same issues.

HEADER_ALL PAGES HEADER_ON CHECKOUT PAGE_WITH PAYPAL LIVE_CHECKOUT PREVIEW_CHECKOUT

InpsydeNiklas commented 7 months ago

Hello @aryaok, thanks for reporting this issue. The PayPal Payments plugin is designed to display the "Proceed to PayPal" button and redirect the buyer to the PayPal website if the PayPal smart buttons fail to load for some reason. There may be an error, or your checkout page is not correctly detected as a checkout. This issue appears to be similar to the report in #1949, however, we have performed some tests with the latest Elementor Pro version and haven't been able to reproduce the error. Did you build this page using the "Elementor checkout widget"? If yes, I recommend trying to create your checkout with the [woocommerce_checkout] shortcode or the Classic Checkout block to see if the issue persists. I would appreciate it if you could additionally contact our support team with a copy of your WooCommerce status report so we can provide additional guidance to find a solution for you. Thank you!