Skip to main content

Unanswered Questions

720 questions with no upvoted or accepted answers
6 votes
2 answers
3k 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\...
6 votes
4 answers
7k 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 : ...
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 ...
5 votes
0 answers
255 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 ...
5 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 ...
5 votes
2 answers
5k 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/...
5 votes
0 answers
643 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 ...
4 votes
0 answers
303 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 ...
4 votes
0 answers
532 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: ...
4 votes
0 answers
90 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. ...
4 votes
2 answers
3k 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.
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', ...
4 votes
1 answer
572 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:...
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 = ...
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 ...

15 30 50 per page
1
2 3 4 5
48