Support » Plugin: WooCommerce » Problem when buying a product

  • Resolved Arthur Virabyan

    (@virabyan)


    Hello, when a user tries to buy a product and selects the payment method “Payment on delivery”, he receives an error (seen in the screenshot), but the order is accepted, and a letter about the order is sent to the mail, the order is also displayed in the admin panel, but during the payment by credit card, for example, no problem

    Screenshot: https://postimg.cc/rzQDFL56

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support Pepe (woo-hc)

    (@anastas10s)

    Hi there @virabyan 👋

    Problem when buying a product

    From what I understand, the issue stems with customization/settings other than that of WooCommerce alone.

    Cash on delivery is a core payment option and we won’t be certain, unless we investigate first, though. Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select Get system report and then Copy for support

    Additionally, could you also provide us with the fatal error logs (if any) under WooCommerce > Status > Logs.

    Once you’ve copied each, you can use https://pastebin.com/ for pasting it there and sharing it with us.

    Looking forward to hearing from you!

    Thread Starter Arthur Virabyan

    (@virabyan)

    Saif

    (@babylon1999)

    Hello @virabyan,

    Thank you for sharing the report.

    I noticed you have 3 translation plugins active but one of them is not translating the checkout page.

    ### WC Pages Translations ###
     
    Shop base: ✔
    Cart: ✔
    Checkout: ❌ Missing translation: Русский
    My account: ✔

    Also, your theme is overriding the WooCommerce default templates.

    I suggest your start disabling the translation plugins to see if they’re causing a conflict or not set up properly, if that doesn’t take care of it then try switching to the Storefront theme as well.

    But before you do, make sure to make a backup of your site so you don’t lose any translations you’ve worked on.

    Let us know how it goes.

    Thread Starter Arthur Virabyan

    (@virabyan)

    I created a translation for the checkout page, but the problem is not solved, I currently have a problem with the WCMP plugin and I think that the problems with the checkout are related to their plugin, I will let you know about it when they solve their problem.
    You said that I have 3 translation plugins, but in fact I use 2 of them, Loco Translate and PolyLang, can you tell me the names of the third plugin, because I could not find this third plugin, it is simply not in the plugins

    Hi @virabyan

    Hello, when a user tries to buy a product and selects the payment method “Payment on delivery”, he receives an error (seen in the screenshot),

    I’ll first address this concern as you’ve confirmed that when during the payment by credit card, for example, no problem.

    Based on SSR, I can see that you are using the Payment Gateway for Idram: by HK Digital Agency LLC – 2.0.8 plugin on your site. Can you please confirm if this is the same payment gateway used that produces the issue here? If so, it would be best to reach out to the plugin’s developers for further assistance here.

    I created a translation for the checkout page, but the problem is not solved, I currently have a problem with the WCMP plugin and I think that the problems with the checkout are related to their plugin, I will let you know about it when they solve their problem.

    Let us know how this goes and hopefully you’ll find a resolution to your issue here.

    You said that I have 3 translation plugins, but in fact I use 2 of them, Loco Translate and PolyLang, can you tell me the names of the third plugin, because I could not find this third plugin, it is simply not in the plugins

    These are the translation plugins I spotted on your SSR:

    Polylang Pro: by WP SYNTEX – 3.2.4
    Loco Translate: by Tim Whitlock – 2.6.2
    Polylang for WooCommerce: by WP SYNTEX – 1.6.3

    Hope this helps!

    Thread Starter Arthur Virabyan

    (@virabyan)

    Actually no, the plugin Payment Gateway for Idram: by HK Digital Agency LLC – 2.0.8 does not cause problems, with the help of this plugin you can pay and there will be no problems, problems arise when I complete the order by selecting “Pay on delivery” this is a built-in feature of WooCommerce.
    I tried to disable the plugins and find the plugin that is causing problems and it was the plugin Polylang for WooCommerce: by WP SYNTEX - 1.6.3 but the strange thing is that I use the same plugin of the same version on another site too, and there are no problems at all , and I can’t understand why this site has problems connected with this plugin, but there are no other ones

    Hello,

    Thanks for the info.

    WP Memory Limit: ❌ 40 MB – We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP

    As a general recommendation, please reach out to your web host, ask them to increase the memory limit on your site. This is for better performance of your site.

    Please note that this forum is related to questions about WooCommerce core, my recommendation regarding the error is to reach out to the Polylang for WooCommerce plugin support, they will be able to provide you with more information.

    I hope this points you in the right direction.

    Thread Starter Arthur Virabyan

    (@virabyan)

    I increased the WP Memory Limit now it is set to 256mb, it will definitely be enough, the site gives an error, you can see in the screenshot, and as I see it is a Woocommerce error. PolyLang for Woocommerce support tech says the problem is in the Woocommerce plugin and they won’t help fix the problem
    Screenshot – https://postimg.cc/v13cpSqG

    Saif

    (@babylon1999)

    Hello @virabyan,

    PolyLang for Woocommerce support tech says the problem is in the Woocommerce plugin and they won’t help fix the problem
    Screenshot – https://postimg.cc/v13cpSqG

    If the problem is not present when disabling PolyLang then the issue is definitely not caused by WooCommerce.

    This forum is for WooCommerce related questions, if the plugin’s support is not helping you can switch to another translation plugin like LocoTranslate.

    We even have a guide on how to set it up: https://woocommerce.com/document/woocommerce-localization/

    Hope this helps!

    Thread Starter Arthur Virabyan

    (@virabyan)

    Yes, I would also like to use only Loco Translate, but it is not possible to add a language switcher with it, and it is not possible to make a WooCommerce product in several languages

    Hello,

    May I ask, if you switch your theme to Storefront, keep WooCommerce and Polylang for WooCommerce, and disable all other plugins, and then make a test order, does the issue persist?

    You can run a conflict test, using a staging site and not your live site, we recommend WP Staging for quickly spinning up a new test site.

    More info:
    https://woocommerce.com/document/woocommerce-self-service-guide/#section-4

    The goal is to keep the core functions of WooCommerce along with the Polylang plugin, while making the test. Does this make a difference? Let us know how that goes.

    Thread Starter Arthur Virabyan

    (@virabyan)

    Following your instructions, it turned out that yes, the StoreFront theme also has a problem, but as I understand it, there is a conflict between the PolyLang for WooCommerce and MultiVendorXplugins, because if you disable one of them, then there will be no problems on the site.
    I thought it was a problem with WooCommerce because the browser console showed that the error occurs with the Ajax Checkout that calls WooCommerce, thanks you just need to figure out how to get them to solve the problem, is there any other translation plugin for WooCommerce?, besides PolyLang and WPML?

    Hi @virabyan

    I’m glad you were able to find the conflicting plugins here. It would be best to reach out to the developers for further assistance:

    https://polylang.pro/support/
    https://multivendorx.com/support-forum/

    is there any other translation plugin for WooCommerce?, besides PolyLang and WPML?

    I did some research and found these articles could be a good starting point:

    7 Best WooCommerce Multilingual Plugins (2022)
    How to Choose the Best WooCommerce Translation Plugin for Your Multilingual Store (+ Set It Up)

    Hope this helps!

    Thread Starter Arthur Virabyan

    (@virabyan)

    Okey, thank you

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Problem when buying a product’ is closed to new replies.