Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Mark questions related to Magento orders

2
votes
0answers
19 views

Magento 2 Block Payment and Order

I am trying to write a plugin that will block a payment and place order based on a condition. I have this: Vendor/Module/etc/di.xml <?xml version="1.0" encoding="UTF-8"?> <...
1
vote
0answers
15 views

Fetch all specific customer's order using Customer token in magento 2 REST API?

I am aware about method using admin token Request type :: GET URL http://<host>/rest/V1/orders ?searchCriteria[filterGroups][][filters][][field]=customer_email &searchCriteria[...
1
vote
1answer
15 views

Magento 2 Adding Total Due and Total Paid to PDF order

Hi I am trying to add total paid and total due lines on my Magento PDF Invoice. I have added these lines in the config file in sales/etc/config.xml. I tried in order pdf i am not getting those fields ...
2
votes
0answers
12 views

Get orders API does not include custom extension attributes

The reason is in the documentation itself: This call returns an array of objects, but detailed information about each object’s attributes might not be included. What I'm looking for is something to ...
6
votes
3answers
81 views

Magento 2: how to delete orders from the database

How can I delete the test orders created in my store? I have opened the database but I couldn't find the order table. Please help me to delete the orders. I'm using the later version of Magento 2.
1
vote
0answers
20 views

Is there any default quick order extension for magento 2 enterprise codebase?

I tried to install the b2b quick order extension in magento2 with composer method, but it does not seem to work. Let me know if there any default Magento quick order extensions.
1
vote
0answers
12 views

Convert XML file to Magento Order with VB Visual Basic with multiple products. SOAP

I have the code to convert a order from XML file to Magento 1.7 order. But only works with one product if I load some product I get an error when I assign the payment method. ERROR: Additional ...
2
votes
0answers
27 views

Bulk Ordering a Product with Many Possible Configurations

I am building a website that sells different types of fasteners (nuts, bolts, screws, etc). The issue is that each product has many, many different variations. For instance, a hex head cap screw ...
1
vote
1answer
29 views

Magento 2 after x days of order place , need to send new email to the customers

Magento 2 - How can I send new mail to customer, if any order has been placed by banktransfer and more that 7 days since order placed. I need to send mail using Crons. This is my code: <?php ...
0
votes
0answers
8 views

Magento 2.2 Create Order for customer from frontend As Sales Rep

Hi Magento Developers, I am having one scenario here, I have created customer group as Sales Rep. With this group, Sales Rep (as customers from frontend) can create new customers with General group. ...
2
votes
1answer
24 views

Magento 2 change order item price

I have an order which has the grand total that I need to fix because one of my products prices is incorrect, to do that I need to change the order item price and recollect order total, is there a way ...
0
votes
0answers
14 views

Split order based on quantity in magento 2.2

I am using Magento 2.2.5 I want to split order based on the quantity which is ordered by the customer. how I will split in the admin panel.
1
vote
2answers
50 views

Magento 2 GetCustomer Not Returning

I have the following Observer set up and can get the OrderID but not the customer name. Here is what I have: namespace Veratad\AgeVerification\Observer; use Magento\Framework\Event\...
0
votes
3answers
57 views

Magento 2 PHP Foreach loop help!

I'm trying to display the images of products on each order item, so far I have the image pulling through but it's only one of 3 product images. It's also displaying them on every order in the order ...
0
votes
1answer
28 views

How to delete all orders

Hello i want to delete all order from magento 2.2.5 i used that code but it didnt work... any advice? SET FOREIGN_KEY_CHECKS=0; # Clean order history TRUNCATE TABLE `...
1
vote
0answers
12 views

Where to find Payment Log file?

When we check the Sales Order in Magento, some of the order numbers are missing randomly. I have tried to find the Payment Log file to check what happened to the missing orders but I couldn't able to ...
1
vote
1answer
26 views

Magento 1.9 Get Last Real Order Number

I would like to get the last order Number saved in database of the store and increment it to get what the current order number would be before it is saved as i would like to pass the the order number ...
0
votes
0answers
8 views

Assign order status per Store / Website

I need to assign an order status for our German storage to know an order has to be fulfilled. I have to do the same for the US storage. But it does not seem to be possible to assign processing (DE) -> ...
0
votes
0answers
19 views

How to apply magento discount on custom fee in Magento2.2.X

I have created a custom module that will add custom fee on order and show it everywhere in cart, checkout, order details etc, But When I applied magento discount it will not include this custom fee ...
0
votes
0answers
14 views

How to generate the next order increment Id in Magento 1.x?

I'm creating an import script to import missing orders from an old database. I have changed the start order numbers in eav_entity_store to higher number by changing increment_last_id. Now what is ...
0
votes
0answers
11 views

Out of memory while trying to get order last increment Id

While using magento 1.9. I'm trying to get order last increment id using the following code while exciting the code in command line: error_reporting ( E_ALL ); ini_set('display_errors', 1); ini_set('...
0
votes
1answer
55 views

Magento2.2 - File Upload Field from Order Comment Section

I have override following files for Displaying File Upload Fields - Magento_Sales::order/view/history.phtml To Process Comments -Magento\Sales\Controller\Adminhtml\Order\AddComment To Display Block ...
0
votes
1answer
21 views

Magento 2 : How to set Price in bundle Products

I'm having this issue when i am making an order programatically and i am setting them to 0 the price, this can be made with simple, virtual and even configurable products with this code: $cartItem = ...
0
votes
0answers
33 views

Issue with Magento Order-number [duplicate]

We built a website with Magento 2.2 community version. We have got a strange issue with the Order number in Magento. For example, Magento was at number 100034467 and the next order number that came ...
0
votes
0answers
17 views

Are <fieldsets> a must?

I'm applying a custom discount for each individual product which isn't necessarily a fixed amount. I think I need to sum up this value with all values in both discount_amount and base_discount_amount ...
1
vote
1answer
19 views

Magento 1.9.x ORM query to get past successful orders with specific billing street, city, state and zip

I need an ORM query to get all past successful orders with a specific billing street address, city, state and zip code? ie: $street = '999 west rd'; $city = 'my town'; $state = 'New York'; $zip = '...
1
vote
0answers
12 views

Get Canceled Orders with specified range using magento soap api

Can anyone help me how to get the Canceled orders of specified range in magento1.9 soap api. Iam getting the orders but time exausting so i wants to get the orders between range. Find the below code ...
1
vote
2answers
42 views

How we can delete Magento 2 order programmatically? [duplicate]

I want to delete orders and associated data from my store programmatically. Share any idea, How can we do that?
2
votes
1answer
62 views

How to find missing orders in Magento

When I check the orders were placed on our site in the Magento admin panel, some of the order numbers are missing or we can say there's no sequence in order number. Example: Magento was at number ...
0
votes
1answer
11 views

Failed orders are placed using new order status rather than Canceled

I'm in the final stages of setting up my Magento 2 Store and I am trying to add authorize.net as a payment option. I am getting an error: Sorry, but something went wrong. Please contact the seller. ...
0
votes
1answer
16 views

Programatically load orders of data changed in magento1.9

Can anyone help me how to load the data edited orders in magento1.9. Please help me if any one have idea about this. Thanks
0
votes
0answers
17 views

Display FPT (Fixed Product Tax) in invoice PDF

The FPT is displayed on invoices by email, in the backoffice etc but does not appear on the pdf invoice. How can I add the FPT on the pdf invoice?
1
vote
1answer
56 views

Magento 1.9 : Slow order creation from backend

One of our Magento clients has reported that creating orders from the backend (manually eg customer ordering over the phone) is intermittently very slow. Each checkout step (whenever the spinning '...
1
vote
1answer
55 views

Magento Order-number is not sequence [duplicate]

Magento version: 2.2.3 We have faced a strange issue in the sequence of order number for our site. For example this weekend Magento was at number 100034468 and the next order number that came in was ...
2
votes
1answer
28 views

Customer Invoice

I have a client that wants line numbers added to each item in an outfit invoice. I cannot find any obvious ways to do this in the template files as the items are called in the Magento_Sales::email/...
0
votes
1answer
35 views

Magento 2 how to change customers group based on order status with cron jobs

I'm using Magento 2.1.7 In that, if customer order status is pending and more than 30 days, how to change customer group to wholesale in CRONs? CRONs should run at every one minute. This is my code ...
0
votes
0answers
23 views

How to transfer money to customer's Paypal account in Magento 2?

I have developed Magento 2 site to get used product and after admin approve it. Is it possible to transfer money to customer's Paypal account or other payment bridge from the admin panel?
0
votes
0answers
29 views

Issue adding customer orders manually in admin

I wonder if anyone can assist me with a problem that's been annoying me for the last couple of days. In am using Magento 2.2.5. I have the Stripe payment plugin activated and want to use this as the ...
0
votes
1answer
18 views

Custom order status between Processing and complete in Magento2

I have create custom order status by following below link. https://docs.magento.com/m2/ee/user_guide/sales/order-status-custom.html I created custom status called "Sent to Printing". I need this to ...
0
votes
0answers
12 views

Load ordered bundled child products by option_id in magento 2

How can we load bundled child products using option_id in after place order in Magento 2. Help will be appreciated. Thanks
0
votes
1answer
37 views

get order id on observer

this may seem a duplicate but I couldn't find one and been struggling with for quite some time now. I'm extending Order Grid with a Column on Admin panel. I have core_layout_block_create_after ...
1
vote
0answers
34 views

Magento 2 how to change customer group based on order status with cron jobs

I'm using Magento 2.1.7 In that, if customer order status is pending and more than 30 days, how to change customer group to wholesale in crons? crons should run at every one minute. This is my ...
3
votes
1answer
25 views

Magento 2 - Loading an Order through API

We need to call API's in order to get order details. We are doing so in a dev environment. What happens is that we are not calling any order by the "order_id", instead we use the entity_id. <web&...
1
vote
3answers
327 views

Magento 1.9 to Magento 2.2 code conversion

what will be in Magento 2.2 code of this? $order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
1
vote
1answer
31 views

On order page in action tab want to delete button

In the Sales>Order page on the right side, there is the drop-down option for Actions. In that actions tab, there is the delete option and I want to hide this option from that page. Anyone know how to ...
0
votes
0answers
25 views

How to use Braintree Nonce payment method and set WebShop shipping methods when creating order Programmatically?

I am developing custom REST API end point to fetch product from the Magento website and also submitting orders to it. But I am facing issue when setting payment and shipping method in Quote. I am ...
0
votes
1answer
19 views

Grid invoices by order status

I've created a grid to list the invoices in my store and make decisions from it, but there are some invoices that the order that generated it is with status canceled or delivered. I need to list only ...
1
vote
1answer
34 views

Order Confirmation SMS is going before payment done

My website is on Magento 2.1.9v and I'm using SpringEdge extension for SMS notification. Issue: when customers redirect to Pay through Paytm or PayUmoney Order Placed SMS send before they pay. When ...
1
vote
1answer
43 views

How to create an order?

I have form: <form action="" class="ui-form"> <h3>Быстрый заказ</h3> <div class="form-row"> <input type="text" id="fastname" required autocomplete="off">&...
1
vote
0answers
21 views

Order not creating - Magento 2

I just added the custom order form on my products page(form.phtml) as below image to create order. Based on this input values orders should created and also custom email need to send with the form ...