Questions tagged [create-order]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
589 views

Magento 2 add custom fields to order create in admin area

How to add custom input and drop-downs order create in admin sales order creation. I want to add custom field hopefully a new section where when we create a custom order through admin only we can pass ...
jibin george's user avatar
0 votes
1 answer
906 views

Place order programatically & redirect to thankyou/success page. (Magento 2)

I am working on creating a functionality where I have added a "buy now" button on the product page, when the user clicks that button then a popup form appears, entering all necessary details ...
Hamendra Sunthwal's user avatar
0 votes
1 answer
326 views

How to create an order programmatically with bundle items in Magento 2?

This is my script: $quote = $this->quote->create(); $quote->setStore($store); $quote->setCurrency(); $quote->assignCustomer($customer); $product = $this->...
Attila Naghi's user avatar
  • 3,903
1 vote
0 answers
73 views

Error 400 while trying to POST to orders

When I try to create an order, I get the error 400, can someone help me? Things that may help you guys help me I'm using NodeJS with Express Data that I'm trying to post { "entity&...
Jhonny's user avatar
  • 21
0 votes
1 answer
229 views

How to remove the visibility for customer address attribute field while creating order in magento backend

I wish to delete customer address attribute in create order section in Magento backend I have tried to override the following file to unset the attribute before rendering. For testing purpose, I ...
Jaisa's user avatar
  • 2,556
0 votes
1 answer
352 views

How to know which Admin create the order in Magento 2 backend?

I want to know who create the order.I have 5 Salesman and they have diffrence Admin ID. When customer order from other sale chanels(Facebook chat,...) and our salesman create the order on magento ...
โอ ศราวุธ's user avatar
0 votes
0 answers
735 views

How to import orders programmatically

Hi am currently looking for a way on how to import orders from magento 1 to 2 i have already extracted orders data from magento 1 using standalone script but now the challenge is how to import that ...
Pramod's user avatar
  • 1,939
1 vote
0 answers
265 views

Magento 2 How to charge extra fee

I create order programmatically and i want to charge extra fee during the order, please don't offer extensions. I use the code bellow for the created order and i need charge extra fee in that code ...
Robinio's user avatar
  • 771
0 votes
1 answer
581 views

Magento 2 Create order from admin user using rest API

I want to create orders from admin on behalf of a customer by using REST API. I have created cart and added items by using the below code. $userData = array("username" => "admin", "password" =>...
Jancy Abraham's user avatar
0 votes
2 answers
3k views

Magento 2: Create order from quote without quote submit

I want to create order from quote programmatically without submit quote. Because if customer redirect to failure page then we have one button like Make payment which redirect to customer on checkout ...
Hiren Shah's user avatar
0 votes
0 answers
407 views

Error in creating Order Programmatically, Magento 2

I am creating order at controller action, just to test if its working or not as: class Save extends \Magento\Framework\App\Action\Action { /** * @param Magento\Framework\App\Helper\Context $...
Ajwad Syed's user avatar
  • 1,591
0 votes
1 answer
1k views

Magento 2.3: Error Creating Order Programmatically

I'm trying to create an order programmatically using the following code in a cron script: $order = [ 'currency_id' => 'USD', 'email' => '[email protected]', '...
AJK's user avatar
  • 741
1 vote
7 answers
1k views

Create order programmatically product with customizable options in Magento2

I am trying to create order programmatically product with customizable options, and it's working but it's created order with one product even I passed two products for me for these I tried below code. ...
Bojjaiah's user avatar
  • 4,028
0 votes
2 answers
697 views

How to create order for bundle product with rest api Magento2?

How to create order for bundle product with rest api Magento2 ? I create an order using Rest Api for a simple product, but for a bundle product it does not work, any example can help me, thanks. ...
Robinio's user avatar
  • 771
1 vote
0 answers
112 views

Magento2.3 SetTemplate is not working first time ajax

I would like to add additional some field info in sales_order_create_index.xml I used setTemplate: <referenceBlock name="data"> <action method="setTemplate"> <...
the light's user avatar
  • 708
1 vote
1 answer
2k views

How to add customer details for guest user using Magento rest API - create order

I am creating an order for a guest user using Magento rest API. Approach: Create a quote Add items to the cart Prepare checkout - Adding billing and shipping information for the order Create an ...
Deeban Babu's user avatar
0 votes
1 answer
350 views

Inventory management after order created via rest API in Magento 2.x version ( without cart)

I have created Magento rest API for the third party integrations and I have used a couple of API's for listing products, fetching product detail and created order. I used [PUT] - /V1/orders/create - ...
Deeban Babu's user avatar
1 vote
1 answer
1k views

Magento 2.3: How to Create Order Using Braintree Vaulted Card

I'm trying to create an order programmatically using braintree payment method and the customer's saved credit card. // prepare adresses, products in quote, shipping method - skipped $quote->...
AJK's user avatar
  • 741
1 vote
2 answers
4k views

How to create guest order programmatically for Guest User

I have followed Create order programmatically in Magento 2 But it is saving the customer. And When I skip customer set data and customer save then It's getting an error report like "Please enter ...
Abhishek's user avatar
  • 939
0 votes
1 answer
344 views

Create order programmatically with UPS shipping method

I'm trying to get available shipping methods and create an order in model. I have Flatrate and UPS enabled, and see these options in checkout on frontend. Particularly, list of available methods is ...
TheKitMurkit's user avatar
0 votes
1 answer
1k views

Creating Quote and Order programmatically and the issue with ReservedOrderId

I was trying to create orders and quotes programmatically, in an API resource that is consumed by a Mobile Application, and i was successful. However every now and then I got a ...
Yehia A.Salam's user avatar
0 votes
1 answer
611 views

Magento ver. 2.2.3 can't create order from backend

From the backend when I try to place a new order and when I try to add new products, I'm getting following error PHP Fatal error: Uncaught Error: Call to a member function checkData() on null in /...
Kaushal Suthar's user avatar
0 votes
0 answers
72 views

magento 2.2.4 : Create orders programmaticaly

I want to know how to create orders programmatically. I want to create an order in the same time, add cart product when I click on by "confirm my order". I want my customer to add product to his ...
Morgan Tartreau's user avatar
0 votes
0 answers
983 views

Magento2.2.3 - Create order from admin panel with credit card payment method

I want to create order with credit card payment method from Magento2 admin panel. Magento2 can't display payment method in the backend. How can I solve this?
Emipro Technologies Pvt. Ltd.'s user avatar
0 votes
3 answers
1k views

Create Order programmatically with tablerates

I'm trying to place an order programmatically with tablerates. Here is my code $quote->getShippingAddress()->addData($postData['shipping_address']); $quote->getBillingAddress()->...
xhallix's user avatar
  • 692
1 vote
1 answer
6k views

Get the available (and Working) Shipping Methods for a quote

I'm working on a mobile application, that is creating an order on Magento programmatically through a custom REST implementation, and everything is working fine, except one thing that i can't find any ...
Yehia A.Salam's user avatar
1 vote
0 answers
320 views

Create custom shipping method for creating order programatically

i've successfully created an order programatically, the problem is i can only use shipping method which already exist like 'flatrate_flatrate' and 'freeshipping_freeshipping' like this: $this->...
Shell Suite's user avatar
  • 1,702
0 votes
1 answer
1k views

Create order programatically without customer

i need to create an order programatically without using customer or ordering as guest, is there a way to do this?
Shell Suite's user avatar
  • 1,702
0 votes
1 answer
1k views

Error when trying to create order Programmatically Magento 2.1

I am trying to create a new Order programatically. But i keep getting following fatal error when ever i try to create an order Fatal error: Uncaught Error: Call to a member function setFinalPrice() ...
karthi keyan's user avatar
0 votes
1 answer
3k views

Magento 1.9 - Create order using REST API

I want to create order in magento 1.9 using rest api, but i am unable to find any method to create order using rest api. I can't find any help from the below link : http://devdocs.magento.com/guides/...
dineshkashera's user avatar
0 votes
1 answer
254 views

Some Issue while creating order with bundle product

I Find this script to create order in Magento programmatically, it works for a sample product and not for a bundle product . when i launch this script the order has created, but with out price ...
Nakous Mus's user avatar
3 votes
1 answer
2k views

Creating Order and Collecting Totals

I'm having a very hard time collecting the right totals when creating an order by code (magento 1.9, php5.4). I'm creating a quote as you noramlly would, added products and shipping/billing address, ...
Yehia A.Salam's user avatar
4 votes
0 answers
186 views

Magento - Create order using REST API

I need to create place order using REST API. I want to help someone to create API. If you have any reference URL for perfect code please let me know.
Kartik Asodariya's user avatar
7 votes
4 answers
12k views

Magento 2 add custom column in product grid?

How can I add new column in product grid when you create new order from admin panel ? see this screenshot for more information. i need product qty in new column?
Dhrumin's user avatar
  • 861
1 vote
0 answers
338 views

Magento 2 : "Please Wait" Spinner Shows up Between EVERY Field While New Order in Admin

I enter new order in my admin, as I move from field to field (say, customer first name to customer last name) little 'please wait' spinner appears for a second or 2. This slows order creation process ...
Kimball's user avatar
  • 103
3 votes
1 answer
86 views

_save_after triggered before saving the product data in database

Intro: I'm a Python(Django) developer who is working at a company where we use Magento in the backend to sell products on our website. I'm not really experienced in Magento. We are using Magento ...
anupsabraham's user avatar
1 vote
1 answer
505 views

Create an order from an existing order

I have seen lot of posts, but didn't get proper answer to create new order from an existing orders at magento. Concept is create an order from an existing orders by copying all elements/object from ...
Amit Bera's user avatar
  • 77.2k
2 votes
3 answers
5k views

Programatically Create Order in Magento 2.1

Has anyone figured out how to programatically create an order in Magento 2.1 yet ? There are a few tutorials kicking around for 2.0 which work nicely but every since I upgraded it no longer works. ...
Frank's user avatar
  • 1,134
1 vote
1 answer
3k views

Magento 2 - Add custom block to admin order create form

I need to add new block to admin order create form (in totals section). First I tried to do it by adding sales_order_create_index.xml to my module and adding my block to <referenceBlock ...
Anna's user avatar
  • 1,645
0 votes
1 answer
2k views

Fatal error: Call to a member function isVirtual() on null in Quote.php

I am trying to create an order programatically. This is my code so far: <?php // Init magento base class require_once 'app/Mage.php'; Mage::app()->setCurrentStore(Mage_Core_Model_App::...
Latheesan's user avatar
  • 1,038
0 votes
1 answer
5k views

How to extend SOAP v2 API to make Order Attributes Writable

I have Amasty "Order Attributes" installed and working. I need to be able to extend SOAP API v2 to allow me to programmatically create an order and update these custom order attributes. What all needs ...
Stevens's user avatar
  • 63
1 vote
1 answer
566 views

Create ORDER through REST Api return error 500 (post SUPEE-6788)

I'm working with Magento CE 1.7.0.2. I've deployed SUPEE-6788 security patch and related 3rd party extension compliant patches on my test and preproduction environment. I went successfully across an ...
DarkCowboy's user avatar
0 votes
1 answer
470 views

Getting Fatal Error while creating order from admin

I am getting below error on Select customer step after clicking on Create Order button. Call to a member function getStore() on a non-object in /app/code /core/Mage/Sales/Model/Quote/Payment.php ...
piyush_systematix's user avatar
1 vote
1 answer
2k views

Disable place order button [closed]

I want to disable the place order button when they meets some condition and also it alert the message when the customer click the place order button. Help me to finish my requirement.
chandra sekar's user avatar
3 votes
2 answers
2k views

Item has $0.00 price in cart when creating an order programmatically

So, I am trying to create an order programmatically in Magento 1.12 EE. I can load the a product and see that the price property holds the correct value. When I add the item to the cart, the price ...
saand's user avatar
  • 33
11 votes
2 answers
4k views

Magento create order programmatically with paypal payment method

Currently we have two magento independent websites. One is behaving as storefront and other as back end. User can place the order at front end. So same order I am trying to create programmatically ...
Abbas's user avatar
  • 493
3 votes
2 answers
4k views

Remove an item from admin order quote and add new item programmatically

I am working on a project that needs to tweak admin order creation function of magento. I need to remove an item and then add another item programmatically while creating order. For example, few ...
Adarsh Khatri's user avatar
2 votes
3 answers
11k views

How to add Shipping Rate while creating Order programmatically

Shipping Method addition is happening as it should be. But, Shipping Rate as per the Shipping method or, custom Shipping rate is not getting added to the order. $address = $quoteObj->...
Rahul Kumar Das's user avatar
0 votes
2 answers
694 views

Magento validation and jQuery reload

i got this weird issue on happening only on IE8, 9, 10 and 11. I wrote some jQuery validation code for telephone field on "admin/sales_order_create/index". This code worked as expected on Firefox. ...
Mthe beseti's user avatar
0 votes
2 answers
2k views

get - admin create order link and specify customer (for manual orders)

I want to generate a link to the sales create order page (manual order page) in the admin and submit a customer id so that it opens automatically with the customers details filled out in the address ...
develophper's user avatar
  • 2,214