Questions tagged [orders]

Mark questions related to Magento orders

723 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
2 answers
2k views

Magento 2, How to get Payment infoInterface from order?

I am working on a custom payment method. I am stuck in between where one of my methods required Payment object of \Magento\Payment\Model\InfoInterface But I am getting Magento\Sales\Model\Order\...
user avatar
  • 3,036
6 votes
4 answers
6k views

Magento 2 : Successful Order with Failed Payment

I am using an Indian payment gateway (PayTM), and payment gateway is working fine (in terms of successful payment and failed payment URLs). However, The payment succeed or failed, Magento still : ...
user avatar
  • 61
6 votes
0 answers
1k views

Magento 2: Get Order Information Outside Magento Issue for Date

I have below script, trying to get all Orders. I have issue with Date. That i have solved using https://github.com/magento/magento2/issues/7560 //place this before any script you want to calculate ...
user avatar
  • 9,513
5 votes
0 answers
201 views

Shopping cart pricing rule condition is not visible on orders total in order page

Shopping Cart Pricing rule logic applied successfully but not visible on orders total in order page, FYI Front end showing the Shopping Cart Pricing rule, How to get Shopping Cart Pricing rule on ...
user avatar
  • 679
5 votes
2 answers
4k views

Magento: Convert Quote to Order

I want to create order from quote id . I am using this code but order is not getting created $quote = Mage::getModel('sales/quote')->load(94251); $convertQuote = Mage::getSingleton('sales/...
user avatar
  • 2,523
5 votes
0 answers
626 views

customers cancel return products in my account page- Magento 2

My requirement is adding cancel and return option in customer account page. add cancel option after place order. add return option after delivered. I am wondering it is a very essential option but ...
user avatar
  • 9,549
4 votes
0 answers
257 views

Edit order programmatically without canceling

I want to edit any order programmatically. The tutorials that I am getting is canceling current order and creating new one. But I need something different, I want to edit it without canceling or ...
user avatar
4 votes
0 answers
189 views

Call a Shipping field from front end to backend Magento 2 Layout processor

I have added a custom delivery date option in shipping method on front end using layout processor and it is showing and working fine. Is there any way to merge or call the same method in backend order ...
user avatar
4 votes
0 answers
80 views

Magento 2.2 - order confirmation/order edit - rounded bundled product qty

I use decimal qty for some products. If product type is simple order confirmation email sends qty correctly in decimal eg. 1.05 m2 Unfortunately if same product is part of bundle qty is rounded down. ...
user avatar
  • 41
4 votes
2 answers
2k views

Get Saved Credit/Debit Card Details in Magento2

How can I get already saved credit/debit card details to use in my custom module from checkout page before place order.
user avatar
  • 749
4 votes
0 answers
8k views

Programmatically added quote item Option [additional_options] showing in cart but not showing in order details on front and admin

I Am Creating Quote Item Option [additional_option] To Cart. I Am Using This Code Base $item->addOption([ 'product' => $data['product'], 'code' => 'additional_options', ...
user avatar
  • 1,840
4 votes
1 answer
1k views

Magento 2 : Wrong order created and updated date in rest api response

I am fetching the orders using Magento 2 REST api services. I am using IST timezone the dates saved in the database are in correct timezone. I have set timezone to "Asia/Kolkata". On customer ...
user avatar
4 votes
1 answer
508 views

Cannot cancel order in Magento 1

I have an order with processing status and its invoice is canceled. When I use the order->canCancel() function, It returns me false. I checked the core and this is the part why I am getting false:...
user avatar
  • 3,585
4 votes
1 answer
2k views

Create order programmatically for the items on cart on checkout page

I am successfully creating the order in the Magento dashboard with the below code. //for order $id=3; // get Customer Id $customer = Mage::getModel('customer/customer')->load($id); $transaction = ...
user avatar
  • 335
4 votes
0 answers
2k views

No shipping description in order

I have an issue with orders, to be specific with shipping method description. I've noticed that sometimes shipping description in 'Shipping and Handling Information' tab appends as: 'No shipping ...
user avatar
  • 133
4 votes
1 answer
2k views

Magento - Show custom data on Order Information page (Customer Account)

I need to display points earned by customer on Order Information page under customer account. module.xml <sales_order_view> <reference name="order_items"> <action method="...
user avatar
3 votes
0 answers
82 views

Magento 2.2.3 problem with invoiced order, can´t edit order

I have a store with two payment methods. ProxyPay - Generate an order without shipment or invoice with status equal Processing. When Magecomp 1.0.0 detect payment, state of order is passed to ...
user avatar
3 votes
0 answers
586 views

How to apply order status by payment method in Magento 2?

I have a custom Offline Payment Method, with a option to apply the new order Status. Its similar to Zero Subtotal Checkout. <?php /** * Copyright © Magento, Inc. All rights reserved. * See ...
user avatar
  • 1,484
3 votes
0 answers
253 views

How come the order number comes up wrong in ShipWorks?

I followed this QA's method to customize the order number on my recent Magento 2.3.1 migration. But when ShipWorks downloads the orders, they still start at 1. ShipWorks' support team called back and ...
user avatar
  • 314
3 votes
0 answers
164 views

Magento 2 - Order status update observer

I am looking for order status update observer In many post I have found this one: sales_order_save_after But, it is not working, I have checked it myself. It is not even listed in these articles: ...
user avatar
3 votes
0 answers
45 views

Magento 2 - Card decline status not reverting quantity

Just like cancel order, I have created a new status card_decline I have set canceled state to this new status. Now when I am updating any order to card_decline status programmatically then it is not ...
user avatar
3 votes
0 answers
145 views

Pagination Button in the "my order pages" are not working Magento 2

Pagination button 1,2 next are not working not taking to next page they are appearing like disabled in Magento 2.2.7
user avatar
  • 61
3 votes
2 answers
622 views

Magento 2 - Include Customizable Options in Email Template

I need to include product Customizable Options with price in order email template. For this I have modified the code and added the Customizable Options code. All are showing fine but the Customizable ...
user avatar
  • 93
3 votes
1 answer
2k views

How to get inventory source id in magento 2.3 order details

I need get the inventory source id based on the order item. I tried with order details but it not display. Anyone please help me.
user avatar
3 votes
1 answer
70 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&...
user avatar
  • 780
3 votes
1 answer
618 views

Magento2 - How to make same order increment_id number for multiple stores under single website?

I have 4 stores running under single Magento 2 installation. Right now each store has its own order number series. For Example:                  Order ...
user avatar
3 votes
0 answers
740 views

Magento 2: Sales Order report show wrong data

Orders Report gives wrong results when compared with the actual orders. For example, in Dec 22,2017, there are total 5 orders having "complete" status. But when I view orders report after applying ...
user avatar
  • 1,043
3 votes
1 answer
398 views

Rest api for my orders

Where can i find the rest api for my orders and my downloadable products in magento2. I can't find the list in the swagger file. eg: GET /orders/me GET /downloadableproducts/me Or how can i filter ...
user avatar
3 votes
1 answer
927 views

Magento2 - How can possible Reorder Product wise?

I need All order Product Items in User My account section. How I can get All order items with selected options.
user avatar
3 votes
0 answers
880 views

How to send invoice mail automatically when invoice is created on Magento 2

What i tried to do, is to send invoice mail automatically to the customer when I successfully created an invoice. By default the invoice mail in send just when i checked the Email Copy Invoice and ...
user avatar
  • 2,602
3 votes
1 answer
82 views

M1 import orders disable all emails

We're working on importing orders from a legacy system into a Magento 1.9.2.3 store. We have a script that creates the customer if he doesn't exist and creates the order. We want to make ...
user avatar
  • 2,084
3 votes
2 answers
2k views

Can't set shipping method on order created programmatically

I have been searching for an answer on the web, but have tried all the solutions I have found and nothing seems to work. The order adds fine, but in the admin panel is shows "No shipping information ...
user avatar
3 votes
2 answers
1k views

How to create observer to change order status after it was created?

I am creating a custom payment method. Before calling the payment gateway, I am calling PlaceOrderAction javascript function in mypay-method.js. that way, order is created in Processing status. ...
user avatar
  • 609
3 votes
0 answers
682 views

Order Review Step before Payment Step in magento one page checkout

I am looking for customization Magento Onepage checkout.I want order review step before payment step in Magento Onepage checkout. So on click on the payment step the order should be created (or ...
user avatar
3 votes
0 answers
319 views

Magento 2 - get order preview on success page with Product Image

i need order preview on success page with Product images in magento 2.0
user avatar
3 votes
0 answers
2k views

How to export/import orders in Magento?

I am moving companies website from old installation 1.7.1 to fresh installation of Magento 1.9.3. I have moved now all the Product and Customer data easily - how do I export/import orders? I have ...
user avatar
3 votes
0 answers
216 views

Recurring Profiles - Ajust Trial Period Amount to Quantity

I have a recurring profile set up for a product with a 2-weeks trial period configured as follows: Trial Billing Period Unit = 2 weeks Trial Billing Frequency = 1 Maximum Trial Billing Cycles = 1 ...
user avatar
  • 141
3 votes
1 answer
1k views

Get individual products from bundled product on a order

I have a bundle product and it has been ordered, so in the admin backend, the order looks like this: How can I get to the individual skus & qtys on this bundle products? For example, from this ...
user avatar
  • 1,018
3 votes
2 answers
640 views

Disable 3D Secure programmatically

I have a module that creates orders and it can use different types of payment methods, like authorize.net, PayPal or SagePay. But if 3D Secure is active, the order cannot be created. And I cannot ...
user avatar
  • 31
3 votes
0 answers
1k views

Duplicate Order Incremented Order Number After Paypal Express

We have experienced a strange issue that is currently a one off whereby: Customer placed an order using PayPal Express Checkout and was refused due to payment method. They then amended the order, the ...
user avatar
  • 31
3 votes
0 answers
419 views

Order status and confirmation email problem

Recently I found out that my customers did not receive the automatic confirmation email from my store after they place the order and made payment through Paypal. I need to manually send the ...
user avatar
  • 131
2 votes
0 answers
218 views

What is protect code used for?

We're working on a project where we're replacing our existing web store with a custom Magento integration. We need a way for a guest customer to retrieve information about their order by following a ...
user avatar
2 votes
1 answer
168 views

Magento 2.4 How to activate the auto refresh for orders, so when customer place order directly it appear in the orders grid with out manual refresh?

How to activate the auto refresh for orders, so when customer place order directly it appear in the orders grid (Order management - Admin backend) with out manual refresh?
user avatar
2 votes
0 answers
636 views

Magento 2 get Orders from last 24 hours

i need to extract the list of all orders executed in the last 24 hours, from now. I have a code almost working but not every orders is processing. The cronjob runs smoothly but i miss the last 3/4 ...
user avatar
2 votes
0 answers
37 views

Get list of orders without a tracking number

I am new at Magento and I would like to get a list of orders/sales without a tracking number/shipment using the REST API. I was looking at the documentation https://devdocs.magento.com/swagger but I ...
user avatar
2 votes
0 answers
28 views

Error Creating Order using Rest API

I've been trying to create an Order by Rest API and, then shows up the below error Uncaught Error: Call to a member function setEmailSent() on null in. public function metodoHudson(OutputInterface $...
user avatar
2 votes
0 answers
47 views

In Magento 2, How to apply Discount code to order

In Magento 2, I am Creating order programmatically using this tutorial. I need to apply Discount code(Cart) to order. I am using this link. But not working. Any other solutions worked out.
user avatar
  • 1,094
2 votes
2 answers
1k views

Magento 2 How to Update custom order attribute using REST API

I am using this - extension_attributes.xml <extension_attributes for="Magento\Sales\Api\Data\OrderInterface"> <attribute code="custom_sales_id" type="string&...
user avatar
  • 1,153
2 votes
0 answers
16 views

Get the quote/order ID that the user checked out?

I need to get the actual order id that the customer is using creating an order. Tried with this that works fine, but returns me the previous order id, I need to get the actual one: $...
user avatar
2 votes
1 answer
90 views

Custom attribute Show in order summary on shipping page but disappear on paymeny page

I have add custom attribute in order summary, it show on checkout first page (#shipping) when shipping method select and go for second page of checkout (#payment) then custom attribute disappear. I am ...
user avatar
  • 1,515

1
2 3 4 5
15