Conflict Paypal-XStore in the order page

This topic has 20 replies, 3 voices, and was last updated 3 weeks, 3 days ago ago by Tony Rodriguez

  • Avatar: Marc_Savall
    Marc Savall
    Participant
    November 5, 2025 at 12:45

    I recently installed the latest version of the PayPal plugin (for 4x payments) and have since noticed a conflict between XStore and PayPal. An automatic page refresh removes the PayPal or Stripe credit card form, preventing customers from placing orders through these methods. Same when customer clic outside the Credit Card module. PayPal support refers me back to XStore.

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    19 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    November 5, 2025 at 15:37

    Hello, Marc Savall,

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 5, 2025 at 23:19

    Be carreful, production site !

    Please contact administrator
    for this information.
    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 6, 2025 at 07:55

    I had the code analyzed by ChatGPT, and it tells me:

    – PayPal SDK is loaded globally and injects listeners across the entire window.
    – XStore + WooCommerce listen for any changes/focusouts and trigger update_checkout.
    – These scripts combined cause the payment block to be reset via AJAX as soon as you click elsewhere, so the Stripe field (iframe) is cleared.

    PayPal script (SDK “WooPPCP_Ecom_PS_CoreProfiler”) sets up blur, focusout, postMessage, and message listeners on the window to control the security focus between Stripe and PayPal iframes. When it detects a “click” event outside the card field, it forces a reset of the third-party hosted fields.

    Perhaps this will give you a clue ?

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    November 6, 2025 at 09:01

    Hello, Marc Savall,

    Unfortunately, when attempting to access your website, we receive a blocking message from Wordfence. We kindly ask you to temporarily disable or remove this block.

    Additionally, the issues with the scripts on the map page may be caused by caching (such as script merging or changes in their loading order). If you have an active caching plugin, please disable it and try to reproduce the error again.

    Best regards,
    8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 6, 2025 at 09:10

    Try now.

    PS : If I activate the StoreFront theme, I don’t encounter any problems with PayPal or Stripe. As soon as I switch back to the XStore theme, the problem returns.

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    November 6, 2025 at 14:34

    Hello, Marc Savall,

    Thank you for providing access. We have resolved this issue; the changes were made in the following file:

    wp-content/themes/xstore/js/modules/cartCheckoutAdvancedLayout.min.js

    These changes will also be included in the next update.

    Best regards,
    8Theme Team

    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 6, 2025 at 20:49

    Hello. I just tested it, and I don’t see any difference. I tested it with Chrome and Brave. The credit card form still disappears as soon as I click outside of it or if I take too long to click “order”. In my opinion, the problem is not solved.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    November 7, 2025 at 09:00

    Hello,

    At the moment, we do not see any issues. Please clear your browser cache and try again. Currently, reinitialization occurs only when you select an external recipient. Kindly review the attached video.

    Best regards,
    8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 7, 2025 at 10:41

    No, the problem doesn’t occur when using the customer address form, but rather the credit card form with the number, date, and CVV.
    Try entering a card number (PayPal or Stripe), then click outside the form or wait a few seconds, and you’ll see the card number disappear.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    November 7, 2025 at 12:05

    Hello, Marc Savall,

    Regarding this behavior, it is designed for the fixed sidebar to ensure it displays correctly when its height changes. If you wish, we can disable this functionality.

    Best regards,
    8Theme Team

    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 7, 2025 at 12:56

    Sorry, I didn’t understand your answer (fixed sidebar?). The Elementor settings are the same in Test and Production for the Checkout page.
    Can you explain more clearly what I need to do?

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    November 7, 2025 at 13:52

    It means that there was a bug which triggered the page cart data update upon clicking anywhere on the page, although it was supposed to occur only when the height of the checkout block (sidebar) changed. This issue has now been fixed, and the data update is functioning correctly – it now occurs only after the sidebar height changes.

    The sidebar height changes in cases such as when the payment method is modified, when the recipient’s details are updated, or when a comment is added to the order.

    Best regards,
    8Theme Team

    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 7, 2025 at 20:22

    The problem persists. I’ve tried clearing the cache in three browsers (Edge, Chrome, and Brave). After a few seconds, the credit card form clears its contents. The same thing happens if you click outside the [woocommerce_checkout] section.

    https://www.greennature.fr/commande/

    My customers can no longer place orders (except via bank transfer), and I’ve been losing sales for several days.

    The situation is critical for me. If I use a different theme like StoreFront, I don’t encounter the problem. But I can’t change the entire theme of a site because all the pages are built using the XStore/Elementor theme’s features.

    Surprisingly, I don’t encounter this phenomenon on the testing site https://test.greennature.fr/commande/
    I don’t understand why.

    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 8, 2025 at 19:57

    I installed the Perfmatters plugin. I managed to reduce the impact of the problem by checking “iframe and video” in the “Deferred Loading” and “DOM Monitoring” sections, and in the “Tools” section, I checked “Script Manager” and “Show Advanced Options.”

    Now, when you click outside the credit card form, card number no longer disappears.

    However, the problem persists when you resize the browser window—the credit card code disappears.

    We need to find the source of this compatibility bug between XStore and PayPal.

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    November 10, 2025 at 08:22

    Hello, Marc Savall,

    Please note that the issue is not present on the test site because the sticky sidebar option has been disabled for the payment block on the checkout page. This option requires constant recalculation of the sidebar to ensure the sticky function works correctly. Therefore, when you change the browser window size, the panel is refreshed, as both the height of the moving block and the height of the container block change.

    At the moment, we have disabled this option. Kindly check it on your side.

    Best regards,
    8Theme’s Team

    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 10, 2025 at 21:07

    OK, I’m no longer experiencing the problem; you’ve found the solution. We can close this case.

    Could you tell me exactly (with a screenshot?) where this option is, so I can make a note of it for future reference?

    Best

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    November 11, 2025 at 08:14

    Hello, Marc Savall,

    The option can be found by following this path: Customizer -> WooCommerce (Shop) -> Cart/Checkout Layout -> Sticky Sidebar.
    You can find more details in the attached screenshots.

    Best regards,
    8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Marc_Savall
    Marc Savall
    Participant
    November 11, 2025 at 11:17

    Thanks for the support! My topic “Conflict Paypal-XStore in the order page” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 11, 2025 at 11:17

    Dear Marc Savall,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

  • Viewing 20 results - 1 through 20 (of 20 total)

The issue related to '‘Conflict Paypal-XStore in the order page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.