• Resolved ajmsilva

    (@ajmsilva)


    I changed the pay now button with a place order during checkout. If I use the normal approach with a pay now button, your plugin is working fine. When I change to a place order, with add_filter( ‘woocommerce_cart_needs_payment’, ‘__return_false’ ) then your plugin does not work in offline mode.
    I mean, if I want to send an email to customer with PAY NOW after confirmation of stock availability when choosing Paypal (for example) it will not recalculate anything.
    Please clarify.

    Thanks.
    Regards,
    AJ.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter ajmsilva

    (@ajmsilva)

    i.e. https://…../checkout/order-pay/30451/?pay_for_order=true&key=wc_order_5c0e9a060f66c does not refresh when PAYPAL checkbox is selected.

    If you can help I would appreciate.

    Regards,
    AJ

    Plugin Support komal-maru

    (@komal-maru)

    Hi Aj,

    Thank you for explaining your requirement in detail.

    Can you please let me know whether you are using any plugin or custom code to achieve your requirement which is sending of emails after the stock availability is confirmed?

    Please provide us the custom code or the plugin which you are using on your site. This information would help us to replicate the issue on our staging site and then I can assist you in a better way.

    Regards,
    Komal Maru

    Same Problem To Me Adding This Code To Theme Child function.php

    add_filter('woocommerce_cart_needs_payment', '__return_false');

    And Using This Plugin To Allow Offline Payment Process: WooCommerce Invoice Gateway

    https://it.www.ads-software.com/plugins/wc-invoice-gateway/

    Plugin Support komal-maru

    (@komal-maru)

    Hi @enone,

    Thank you for providing me the custom code and the plugin name which you are using on your site.

    When the custom code is used at the required place then the payment methods are not shown in the payment gateway section and the Invoice Payment method is also not shown.

    Can you please let me know the steps to replicate the issue if possible with screenshots or video? This information would help me to understand immensely and then I can assist you in a better way.

    Regards,
    Komal Maru

    Step Are Easy ??
    1) Install And Configure The Plugin https://it.www.ads-software.com/plugins/wc-invoice-gateway/
    2) Put This Code In Function.php

    add_filter('woocommerce_cart_needs_payment', '__return_false');

    3) Place An Order On Shop
    4) On Admin Panel > Orders > Order ID > Send Email With Pay Instruction To The User
    5) The User Recieve The Email, Click On The “Payment Link”
    6) Goes Online And https://www.yoursite.com/account/orders/orderid Appear
    7) Select Paypal And Nothing Change

    Plugin Support komal-maru

    (@komal-maru)

    Hi @enone,

    Thank you for providing me the steps to replicate the issue.

    I tried to replicate the issue by I got stuck at step 4 as I am unable to view any setting named ‘Send Email With Pay Instruction To The User’.

    Can you please provide me a screenshot where I can find this setting or does it requires any additional setting to enable?

    Please let me know.

    Regards,
    Komal Maru

    Hi komal, You Can Skip Directly On Point 6) If You Want…
    Point 4) And 5) Are Are For Internal Manage Of The Order, Problem Is On Point 6) When User Must Pay ??

    Plugin Support komal-maru

    (@komal-maru)

    Hi @enone,

    Thank you for answering the query which I had asked in my last reply.

    Directly, skipping to step 6 is giving an error as ‘Page not found’. I tried to access our site followed with ‘/account/orders/367/’ extension.

    I have even tried to visit the page from My Account->Orders->Order id, but I am unable to view any payment gateway on that page. I am attaching a screenshot for your reference: https://prnt.sc/nd7tra

    Can you give me a screenshot as to how the page can be viewed in order to replicate the issue?

    Regards,
    Komal Maru

    Hi komal,
    I Know That My English Is Not So Good But Point 6) Must Be Read As Is…

    6) Goes Online And https://www.yoursite.com/account/orders/orderid Appear

    >>> https://www.yoursite.com <<< Is An Example ?? You Must Replace https://www.yoursite.com With Your Domain Name Where You Are Doing The Tests ??

    Plugin Support komal-maru

    (@komal-maru)

    Hi @enone

    I had added my site itself on the link which you had provided but it redirected me to no page found.

    I am attaching a screenshot for your reference: https://prnt.sc/nfb8f0

    It would be great if you can help us to replicate the issue on our staging site so that we can proceed further.

    In order to provide you the temporary access to our staging site, can you please create a ticket at ‘support at tychesoftwares dot freshdesk dot com’.

    Regards,
    Komal Maru

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Plugin not working in offline payment mode’ is closed to new replies.