• Resolved simaramarketing

    (@simaramarketing)


    Hey there,

    PayPal orders fail apparently whenever a customer places an order using an app browser. Every other paying method works fine. Same thing with We tested it within Facebook and Google Search App.

    We get the following error message: Could not retrieve order. This browser may not be supported. Please try again with a different browser. PayPalGateway.php:472

    Thanks for your help!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @simaramarketing

    It looks like the Checkout button replacement failed on your site. But this is seemingly not a browser-specific problem but an issue on your site. At least I can also reproduce it with Chrome on desktop.
    PayPal Payments does not work when the smart buttons fail to load, e.g. due to an error.

    To get to the bottom of this behavior, I suggest performing a conflict test to see if this behavior persists for you with only WooCommerce and PayPal Payments being active.
    Please let us know how this works for you.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter simaramarketing

    (@simaramarketing)

    Hey there,

    thanks for you answer! How does it look like when the button replacement fails? Do you have a screenshot for my that I know what to look on?

    Thank you!

    Regards,

    Simara

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi Simara,

    The PayPal smart buttons should typically replace the “Place order” button on the Checkout page, as can be seen here:

    You can find more screenshots of how the integration should appear in the documentation here.

    The PayPal smart buttons may fail to load under certain circumstances, and a conflict test often helps to isolate potential causes.
    But since your Checkout page appears to have been built using a page builder, my first recommendation would be to create a new page with the [woocommerce_checkout] shortcode to see if the PayPal buttons are loading on this page.
    If that doesn’t help, a conflict test would be the next best step to understanding possible causes for this behavior.

    If the issue persists, we are interested in a copy of your system report.
    The system report can be accessed here:
    WooCommerce > Status > Get system report > Copy for support
    You can share it either here in the forums or privately with us from here:
    https://woocommerce.com/document/woocommerce-paypal-payments/#get-help
    Please include a link to this thread if you send a private message.

    Thanks!

    Kind regards,
    Niklas

    Thread Starter simaramarketing

    (@simaramarketing)

    Hi Niklas,

    thanks for your help!! Apparently the Astra Pro theme plugin caused the problem. The buttons are visible now and payment works as it should.

    Thank you very much!!

    Regards,

    Simara

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi Simara,

    Thank you for the feedback! I’m glad to hear that everything is working correctly now.

    It’s interesting that the Astra Pro theme plugin caused the behavior. Many PayPal Payments users also utilize this theme, so it’s likely that some specific configuration in the plugin led to the conflict. I recommend reaching out to the theme/plugin developer for further guidance, as we haven’t received other reports of conflicts in this regard and are not experienced with the plugin, so we might not be able to provide much more assistance.

    However, if you have any other questions or concerns related to PayPal Payments, please don’t hesitate to let us know, as the team is happy to help.
    Thanks!

    Kind regards,
    Niklas

    I encountered a very similar issue on desktop browser Chrome, Safari or Firefox, using WP 6.2.2, WooCommerce 7.9, Germanized for WooCommerce pro 3.7.2, Astra Pro 4.1.6 and WooCommerce PayPal Payments 2.2.0. Regular button #place_order is not replaced by PayPal-Buttons. By clicking the regular order button the error message is as described in the intro of this thread.

    After debugging and disabling several Plugins I came down to disabling the Astra Pro Module “WooCommerce”. Without that module the PayPal-buttons are visible as expected, using WooCommerce PayPal Payments Version 2.1.0. After upgrading to Version 2.2.0 the PayPal-buttons will be displayed as well, but JS-errors “Window closed before response” and “Can not send postrobot_method. Target window is closed” are thrown by paypal’s sdk.js.

    I am far from finding a solution. Playing around with the customizer options or plugin settings does not help. My workaround will be: a) switching to the built in PayPal Standard or later to a third party PayPal-Plugin, or b) disabling Astra Pro Module WooCommerce, what will lead me to rework on the product single page, the checkout and gpdr-checkboxes, and, as mentioned before, requires to keep WooCommerce PayPal Payment in V. 2.1.0.

    For first this workaround works for us

    -> disabling the Astra Pro Module “WooCommerce”

    Hope there is a real solution nearby …

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello,

    Since we did not receive any response or follow-up questions from you, we will assume you got this working to your requirements. If you still have any more questions, please open a new thread; we will mark this one as resolved.

    @ds888

    We have, in the past, worked diligently to ensure our PayPal Payments plugin is compatible with a variety of themes. However, it’s also imperative for theme developers to ensure compatibility with plugins such as ours.

    With that said, I would recommend getting in touch directly with the Astra Pro developers.

    Kind regards,
    Krystian

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Woocommerce paypal payment fails when accessing site via app browser’ is closed to new replies.