Questions tagged [create-order]

The tag has no usage guidance.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
170 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.
1
vote
0answers
27 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 ...
1
vote
0answers
23 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"> <...
1
vote
0answers
292 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->...
1
vote
0answers
287 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 ...
0
votes
1answer
44 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" =>...
0
votes
2answers
67 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 ...
0
votes
0answers
86 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 $...
0
votes
2answers
120 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. ...
0
votes
1answer
153 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 ...
0
votes
1answer
99 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 - ...
0
votes
1answer
166 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 /...
0
votes
0answers
64 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 ...
0
votes
0answers
544 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?
0
votes
1answer
679 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() ...
0
votes
1answer
154 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 ...