Force change State/Status to CompleteObserving order state changeforce magento order status completeEnabling order status “Complete” in overview without ShipmentHow to add order state to Bank Transfer payment?how to manually set order status to “Complete”?Business question about “Pending Payment” state/statusorder status and state - magento 2Change status according to payment methodForce order status and state to processing after creating shipment using observerMagento2: Get Order Status (not state)

How do I hide Chekhov's Gun?

Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?

Non-trivial topology where only open sets are closed

A diagram about partial derivatives of f(x,y)

Most cost effective thermostat setting: consistent temperature vs. lowest temperature possible

What is the adequate fee for a reveal operation?

Violin - Can double stops be played when the strings are not next to each other?

Why one should not leave fingerprints on bulbs and plugs?

Aluminum electrolytic or ceramic capacitors for linear regulator input and output?

Do I need life insurance if I can cover my own funeral costs?

Is it insecure to send a password in a `curl` command?

Does multi-classing into Fighter give you heavy armor proficiency?

Math equation in non italic font

How can we have a quark condensate without a quark potential?

PTIJ: Who should I vote for? (21st Knesset Edition)

What's the meaning of a knight fighting a snail in medieval book illustrations?

The meaning of 振り in 無茶振り

Why does a Star of David appear at a rally with Francisco Franco?

Why do passenger jet manufacturers design their planes with stall prevention systems?

Can I use USB data pins as a power source?

New passport but visa is in old (lost) passport

Describing a chess game in a novel

Why Choose Less Effective Armour Types?

Why is a white electrical wire connected to 2 black wires?



Force change State/Status to Complete


Observing order state changeforce magento order status completeEnabling order status “Complete” in overview without ShipmentHow to add order state to Bank Transfer payment?how to manually set order status to “Complete”?Business question about “Pending Payment” state/statusorder status and state - magento 2Change status according to payment methodForce order status and state to processing after creating shipment using observerMagento2: Get Order Status (not state)













0















Is possible to change the state of the order to complete?



$order->setSate(Mage_Sales_Model_Order::STATE_COMPLETE);
$order->save();


Programmatically : setState(Mage_Sales_Model_Order::STATE_COMPLETE) will generate Exception.




$order->setData('state', Mage_Sales_Model_Order::STATE_COMPLETE);
$order->save();


With setData('state', Mage_Sales_Model_Order::STATE_COMPLETE) => Server Error "404 Not Found - nginx".



Thanks a lot.










share|improve this question



















  • 1





    The 404 error may not be related, it could be simply bad URL.

    – kiatng
    May 3 '18 at 5:25











  • Yep. I thought of that, too. Thanks for feedback.

    – JhAndrade
    May 3 '18 at 18:06















0















Is possible to change the state of the order to complete?



$order->setSate(Mage_Sales_Model_Order::STATE_COMPLETE);
$order->save();


Programmatically : setState(Mage_Sales_Model_Order::STATE_COMPLETE) will generate Exception.




$order->setData('state', Mage_Sales_Model_Order::STATE_COMPLETE);
$order->save();


With setData('state', Mage_Sales_Model_Order::STATE_COMPLETE) => Server Error "404 Not Found - nginx".



Thanks a lot.










share|improve this question



















  • 1





    The 404 error may not be related, it could be simply bad URL.

    – kiatng
    May 3 '18 at 5:25











  • Yep. I thought of that, too. Thanks for feedback.

    – JhAndrade
    May 3 '18 at 18:06













0












0








0








Is possible to change the state of the order to complete?



$order->setSate(Mage_Sales_Model_Order::STATE_COMPLETE);
$order->save();


Programmatically : setState(Mage_Sales_Model_Order::STATE_COMPLETE) will generate Exception.




$order->setData('state', Mage_Sales_Model_Order::STATE_COMPLETE);
$order->save();


With setData('state', Mage_Sales_Model_Order::STATE_COMPLETE) => Server Error "404 Not Found - nginx".



Thanks a lot.










share|improve this question
















Is possible to change the state of the order to complete?



$order->setSate(Mage_Sales_Model_Order::STATE_COMPLETE);
$order->save();


Programmatically : setState(Mage_Sales_Model_Order::STATE_COMPLETE) will generate Exception.




$order->setData('state', Mage_Sales_Model_Order::STATE_COMPLETE);
$order->save();


With setData('state', Mage_Sales_Model_Order::STATE_COMPLETE) => Server Error "404 Not Found - nginx".



Thanks a lot.







order-status programmatically status order-state state






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 17 mins ago









Shoaib Munir

2,0271728




2,0271728










asked May 2 '18 at 18:17









JhAndradeJhAndrade

34




34







  • 1





    The 404 error may not be related, it could be simply bad URL.

    – kiatng
    May 3 '18 at 5:25











  • Yep. I thought of that, too. Thanks for feedback.

    – JhAndrade
    May 3 '18 at 18:06












  • 1





    The 404 error may not be related, it could be simply bad URL.

    – kiatng
    May 3 '18 at 5:25











  • Yep. I thought of that, too. Thanks for feedback.

    – JhAndrade
    May 3 '18 at 18:06







1




1





The 404 error may not be related, it could be simply bad URL.

– kiatng
May 3 '18 at 5:25





The 404 error may not be related, it could be simply bad URL.

– kiatng
May 3 '18 at 5:25













Yep. I thought of that, too. Thanks for feedback.

– JhAndrade
May 3 '18 at 18:06





Yep. I thought of that, too. Thanks for feedback.

– JhAndrade
May 3 '18 at 18:06










0






active

oldest

votes











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%2f224510%2fforce-change-state-status-to-complete%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















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%2f224510%2fforce-change-state-status-to-complete%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

Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2

Nissan Patrol Зміст Перше покоління — 4W60 (1951-1960) | Друге покоління — 60 series (1960-1980) | Третє покоління (1980–2002) | Четверте покоління — Y60 (1987–1998) | П'яте покоління — Y61 (1997–2013) | Шосте покоління — Y62 (2010- ) | Посилання | Зноски | Навігаційне менюОфіційний український сайтТест-драйв Nissan Patrol 2010 7-го поколінняNissan PatrolКак мы тестировали Nissan Patrol 2016рвиправивши або дописавши її