When payment not done automatically cancel the order The Next CEO of Stack OverflowLocation of automated emailsAdd automatically a product to wishlist after order is donePrevent Magento from auto-completing ordersHow to define the order status after creating an shipping?How to create unpaid invoice programmaticallyMagento 1.9.3.1 Stop auto invoicing of paypal ordersChange order status after order placed regardless payment methodHow To Manually change Order the Status to Processing Before Creating Invoice of the order?Send email after 7 days if status is always “pending”Order Status : Pending Payment vs. Payment Review

Is HostGator storing my password in plaintext?

Is there an analogue of projective spaces for proper schemes?

If a black hole is created from light, can this black hole then move at speed of light?

Contours of a clandestine nature

Unreliable Magic - Is it worth it?

Does it take more energy to get to Venus or to Mars?

Workaholic Formal/Informal

WOW air has ceased operation, can I get my tickets refunded?

How to make a variable always equal to the result of some calculations?

MessageLevel in QGIS3

Why didn't Khan get resurrected in the Genesis Explosion?

Novel about a guy who is possessed by the divine essence and the world ends?

Is it professional to write unrelated content in an almost-empty email?

Would a galaxy be visible from outside, but nearby?

How to start emacs in "nothing" mode (`fundamental-mode`)

If the heap is initialized for security, then why is the stack uninitialized?

How to avoid supervisors with prejudiced views?

Why do we use the plural of movies in this phrase "We went to the movies last night."?

What's the best way to handle refactoring a big file?

Can we say or write : "No, it'sn't"?

Why does standard notation not preserve intervals (visually)

Why do airplanes bank sharply to the right after air-to-air refueling?

How to Reset Passwords on Multiple Websites Easily?

How fast would a person need to move to trick the eye?



When payment not done automatically cancel the order



The Next CEO of Stack OverflowLocation of automated emailsAdd automatically a product to wishlist after order is donePrevent Magento from auto-completing ordersHow to define the order status after creating an shipping?How to create unpaid invoice programmaticallyMagento 1.9.3.1 Stop auto invoicing of paypal ordersChange order status after order placed regardless payment methodHow To Manually change Order the Status to Processing Before Creating Invoice of the order?Send email after 7 days if status is always “pending”Order Status : Pending Payment vs. Payment Review










0















I'm using payu for Payment and it works good. When customer place an order, it goes to payu page to fill the details. If the customer don't want to pay, they simply close the window.



If the browser window is closed, the order status become still "pending" or "processing". The problem is the stock availability and quantity couldn't revert. I just found the solution to cancel the order using cron job after some time interval.



I reffered the links,



  1. http://inchoo.net/magento/cancel-pending-orders/

  2. https://stackoverflow.com/questions/11079915/how-to-change-the-order-state-programmatically-inside-a-cron-job

  3. https://nikunjvadariya.wordpress.com/2014/03/22/magento-change-order-status-automaticaly-after-selected-days-using-crontabjob/

I'm using magento 1.9.1 and couldn't find the better solution. Please help me here.










share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    0















    I'm using payu for Payment and it works good. When customer place an order, it goes to payu page to fill the details. If the customer don't want to pay, they simply close the window.



    If the browser window is closed, the order status become still "pending" or "processing". The problem is the stock availability and quantity couldn't revert. I just found the solution to cancel the order using cron job after some time interval.



    I reffered the links,



    1. http://inchoo.net/magento/cancel-pending-orders/

    2. https://stackoverflow.com/questions/11079915/how-to-change-the-order-state-programmatically-inside-a-cron-job

    3. https://nikunjvadariya.wordpress.com/2014/03/22/magento-change-order-status-automaticaly-after-selected-days-using-crontabjob/

    I'm using magento 1.9.1 and couldn't find the better solution. Please help me here.










    share|improve this question
















    bumped to the homepage by Community 2 days ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      0












      0








      0


      0






      I'm using payu for Payment and it works good. When customer place an order, it goes to payu page to fill the details. If the customer don't want to pay, they simply close the window.



      If the browser window is closed, the order status become still "pending" or "processing". The problem is the stock availability and quantity couldn't revert. I just found the solution to cancel the order using cron job after some time interval.



      I reffered the links,



      1. http://inchoo.net/magento/cancel-pending-orders/

      2. https://stackoverflow.com/questions/11079915/how-to-change-the-order-state-programmatically-inside-a-cron-job

      3. https://nikunjvadariya.wordpress.com/2014/03/22/magento-change-order-status-automaticaly-after-selected-days-using-crontabjob/

      I'm using magento 1.9.1 and couldn't find the better solution. Please help me here.










      share|improve this question
















      I'm using payu for Payment and it works good. When customer place an order, it goes to payu page to fill the details. If the customer don't want to pay, they simply close the window.



      If the browser window is closed, the order status become still "pending" or "processing". The problem is the stock availability and quantity couldn't revert. I just found the solution to cancel the order using cron job after some time interval.



      I reffered the links,



      1. http://inchoo.net/magento/cancel-pending-orders/

      2. https://stackoverflow.com/questions/11079915/how-to-change-the-order-state-programmatically-inside-a-cron-job

      3. https://nikunjvadariya.wordpress.com/2014/03/22/magento-change-order-status-automaticaly-after-selected-days-using-crontabjob/

      I'm using magento 1.9.1 and couldn't find the better solution. Please help me here.







      magento-1.9 order-status crontab






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 '17 at 12:37









      Community

      1




      1










      asked Oct 21 '16 at 13:56









      LAKSHMILAKSHMI

      1114




      1114





      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I would suggest a cron job and a script to cancel pending orders every any time you want



          I don't suggest a module and observer after order placement because when your customer leaves for your money booker the order placement already happened. That precious X minutes your customer trying to complete the payment can't be predicted to include it in a module.



          As a matter of fact you may have problems if the order collection you are going to make contains an order placing the time the script runs, so you may want to exclude the last orders.



          Decide those numbers depending on your needs. Sadly I'm on mobile and I can't provide you any cost right now.






          share|improve this answer


















          • 1





            Thanks a lot. Basically, I'm new to magento and little tedious to write code.. Can you please suggest me code level integration?

            – LAKSHMI
            Oct 25 '16 at 6:21











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f142059%2fwhen-payment-not-done-automatically-cancel-the-order%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          I would suggest a cron job and a script to cancel pending orders every any time you want



          I don't suggest a module and observer after order placement because when your customer leaves for your money booker the order placement already happened. That precious X minutes your customer trying to complete the payment can't be predicted to include it in a module.



          As a matter of fact you may have problems if the order collection you are going to make contains an order placing the time the script runs, so you may want to exclude the last orders.



          Decide those numbers depending on your needs. Sadly I'm on mobile and I can't provide you any cost right now.






          share|improve this answer


















          • 1





            Thanks a lot. Basically, I'm new to magento and little tedious to write code.. Can you please suggest me code level integration?

            – LAKSHMI
            Oct 25 '16 at 6:21















          0














          I would suggest a cron job and a script to cancel pending orders every any time you want



          I don't suggest a module and observer after order placement because when your customer leaves for your money booker the order placement already happened. That precious X minutes your customer trying to complete the payment can't be predicted to include it in a module.



          As a matter of fact you may have problems if the order collection you are going to make contains an order placing the time the script runs, so you may want to exclude the last orders.



          Decide those numbers depending on your needs. Sadly I'm on mobile and I can't provide you any cost right now.






          share|improve this answer


















          • 1





            Thanks a lot. Basically, I'm new to magento and little tedious to write code.. Can you please suggest me code level integration?

            – LAKSHMI
            Oct 25 '16 at 6:21













          0












          0








          0







          I would suggest a cron job and a script to cancel pending orders every any time you want



          I don't suggest a module and observer after order placement because when your customer leaves for your money booker the order placement already happened. That precious X minutes your customer trying to complete the payment can't be predicted to include it in a module.



          As a matter of fact you may have problems if the order collection you are going to make contains an order placing the time the script runs, so you may want to exclude the last orders.



          Decide those numbers depending on your needs. Sadly I'm on mobile and I can't provide you any cost right now.






          share|improve this answer













          I would suggest a cron job and a script to cancel pending orders every any time you want



          I don't suggest a module and observer after order placement because when your customer leaves for your money booker the order placement already happened. That precious X minutes your customer trying to complete the payment can't be predicted to include it in a module.



          As a matter of fact you may have problems if the order collection you are going to make contains an order placing the time the script runs, so you may want to exclude the last orders.



          Decide those numbers depending on your needs. Sadly I'm on mobile and I can't provide you any cost right now.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 21 '16 at 23:28









          pontikospontikos

          1243




          1243







          • 1





            Thanks a lot. Basically, I'm new to magento and little tedious to write code.. Can you please suggest me code level integration?

            – LAKSHMI
            Oct 25 '16 at 6:21












          • 1





            Thanks a lot. Basically, I'm new to magento and little tedious to write code.. Can you please suggest me code level integration?

            – LAKSHMI
            Oct 25 '16 at 6:21







          1




          1





          Thanks a lot. Basically, I'm new to magento and little tedious to write code.. Can you please suggest me code level integration?

          – LAKSHMI
          Oct 25 '16 at 6:21





          Thanks a lot. Basically, I'm new to magento and little tedious to write code.. Can you please suggest me code level integration?

          – LAKSHMI
          Oct 25 '16 at 6:21

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f142059%2fwhen-payment-not-done-automatically-cancel-the-order%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

          БиармияSxpst500bh2ntaf! 3h2r