Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1270640

    Dear Kriesi-Team,
    how are you? We hope you had a great start into 2021.
    We kindly need your support, as we face an issue with our Enfold theme, when we update to WooCommerce 4.8. As soon as we update to WooCommerce 4.8. we face following issue:

    Within the checkout process after clicking the “Jetzt kaufen”-Button there is no redirection to any payment provider (PayPal, Mollie). Instead the user gets redirected directly to the order-received page (e.g. https://climbingsocks.com/woocommerce-4-8/?page_id=11&order-received=4988&key=wc_order_z8wzDCEmQbP56&wfocu-si=88ed7a089f3a3cae63c39292015670b1)
    As a result we get the order with the status “processing” but without any respective payments in WooCommerce. In other words the checkout process skips the payment process, but flags the orders as “payed” in WooCommerce. As you can imagine this is a major issue for us.
    To find the reason for the problem we used following documentation from WooCommerce for conflict testing: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
    1. Created staging environment: https://climbingsocks.com/woocommerce-4-8/ (see login credentials in private content)
    2. Update to WooCommerce 4.8 within staging environment (we left all other plugins untouched)
    3. Ordered following product: https://climbingsocks.com/woocommerce-4-8/?product=1-paar-klettersocken-von-climbingsocks-groesse-s-m –> Error did occur
    4. Switched theme to Twentytwenty –> Error did not occur
    5. Switched theme to Enfold native theme –> Error did not occur

    ==> As a result, we assume the origin of the error is within the Enfold child theme.

    To investigate further, in a next step we deactivated all our changes in the functions.php and Custom CSS Field (Themes -> Allgemeines Styling -> Quick CSS), but the error still occured within the activated Enfold Child Theme.

    This is the point where we need your support, to fix the problem, please.
    Thank you very much in advance for further assistance and please don’t hesitate, if you need any further information from us.

    Best regards,
    Magnus

    • This topic was modified 3 years, 10 months ago by ClimbingSocks.
    #1271047

    Hey ClimbingSocks,

    Thank you for the inquiry.

    This is probably a script error, specifically with jQuery, so installing the Enable jQuery Migrate Helper plugin and setting the jQuery version to the legacy version may help.

    // https://wordpress.org/plugins/enable-jquery-migrate-helper/

    Best regards,
    Ismael

    #1271089

    Hello Ismael,
    how are you? Thank you very much for your answer, as we are quite lost on this topic.
    I have just installed the Enable jQuery Migrate Helper plugin and set the jQuery Version to “Legacy 1.12.4-wp”.
    Unfortunately the error still occurs. Do you have any further idea how to solve the problem?

    Thank you very much already in advance for your further support.
    Best regards,
    Magnus

    #1271497

    Hi,

    Thank you for the info.

    It seems to be working properly on our end — the paypal window pops up and we do not see any errors in the console after finalizing the product order. Please check the screenshot below.

    Screenshot: https://imgur.com/Sbd6jiz

    After setting the jQuery version to legacy mode, did you toggle the Performance > File Compression settings and purge the cache? You could also try it on incognito mode.

    Best regards,
    Ismael

    #1271561

    Hi Ismael,
    thank you for your answer again.
    Unfortunately it does not work on our end and I am also afraid it does not work on your end. The reason is, we use an Upsell plugin (Upstroke by Woofunnels). Today the upsell works only with PayPal and Creditcard. The upsell page is triggered after a successful initial payment via PayPal or credit card and a second payment starts. What what you see in the background of your screenshot is already the upsell page and the second payment via PayPal. Interestingly the upsell payment process works. Only the initial payment gets skipped every time.
    If you choose Sofort or Giropay for payment you will see that you will be forwarded directly to the thank you page without any payment process.

    It would be great, if you could help us further to investigate the issue.

    Best regards,
    Magnus

    #1272763

    Hi,

    Thank you for the clarification. And quite sorry for the delay.

    Paypal works when all plugins, except for Woocommerce and jQuery Migrate, are disabled, so there seems to be a plugin conflict somewhere. You could search for the conflict by activating the plugins one at a time. We kept them disabled for now.

    You should also update the plugins including Woocommerce to their latest versions.

    Best regards,
    Ismael

    #1272791

    Hi Ismael,
    how are you? First of all thank you again for your answer. We really depend on your support here.
    We just made an order in the staging environment with all plugins deactivated except for WooCommerce and jQuery Migrate as you have left it. Unfortunately we could not see Paypal working on our end. We have also tried it in incognito mode and with various browsers (Chrome, Windows Edge). Every time the payment process gets skipped. We have also installed the Update for WooCommerce 4.9. within the staging environment, but still have the problem that the payment process gets skipped.
    So we assume it does not make any sense to start searching for further conflicts by activating the plugins one at a time as long as we can not replicate your successful scenario.
    Does it still work at your end? Which browser did you use?
    Do you have any further ideas, for the next steps to get the problem solved?

    Thank you very much in advance for your further support,
    Magnus

    #1273200

    Hi,

    Thank you for the info.

    We forgot to mention that we also deactivated the modifications in the functions.php file and when we do, the checkout successfully redirects to the paypal payment gateway as shown in the screenshot below.

    Screenshot: https://imgur.com/frfJQsY

    It might be due to the wfacp_allowed_gateway_order_button_text_change or the woocommerce_default_order_status filters inside the functions.php file. We kept the filters disabled in the staging site, so you should be able to get to the payment page. Make sure to purge any cache or remove the browser history before checking the page.

    Best regards,
    Ismael

    #1274840

    Hi Ismael,
    thank you so much for your answer and your support. Actually it was due to the woocommerce_default_order_status filter. We deactivated the code in the functions.php and also the respective plugin, as we realized that the (customized) plugin is not further required. We hope this is a sustainable solution.

    Your support was a great help to find the origin of the problem!

    Best regards,
    Magnus

    #1275037

    Hi ClimbingSocks,

    Glad you got it working for you with Ismael’s help! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.