Stack Exchange Network

Stack Exchange network consists of 175 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

All Questions

Tagged with
0
votes
0answers
13 views

Magento2 REST API how to create an invoice and keep order state as open or unpaid?

I am able to use Magento2's REST API to programmatically create an invoice. When I create the invoice, the API also seems to change the associated order to state paid by default. However, my workflow ...
0
votes
0answers
15 views

Club multiple order status to a single status (Magento 2)

I have to link all Riskivied status to processing. How to do that from the Magento 2 cloud admin panel. Also, all riskified status have visible_on_front 0 in sales_orders_status_state. If I update to ...
0
votes
1answer
53 views

How to customise order state after generating invoice in Magento2

I'm want to change the order state processing to newly creates order state, when invoice is created for a order. I want to do this programatically. Anyone help me with this.
0
votes
3answers
419 views

Magento 2 - List of Order States and Statuses

I looked for a way to create an option list of order states and statuses but couldn't find a way. I did found something about a statusfactory but couldn't find a way to get a list out of it and ...
0
votes
2answers
378 views

Making partial payment for Magento2

i'm trying to add partial payment for magento 2, any suggestion in modifying the order state, or maybe a good tutorial on making module that integrate with the admin sections, thanks.
0
votes
1answer
761 views

How to create new order states in magento 2

"processing", "complete", "new" are examples of the default Magento order state codes. but how to create custom order state
1
vote
1answer
621 views

need to disable cash on delivery to particular cities(not country), using magento 2

I am using magento 2. And I need to disable one payment method 'cash on delivery' to specific cities(not for countries).I found so many solutions but those are not meant for magento 2, I think those ...
2
votes
2answers
2k views

Creating new order states programmatically in Magento2

I'm stuck on trying to create a new order state programmatically. So far I'm only able to read the currently available states from \Magento\Sales\Model\Config\Source\Order\Status I am unable to find ...
2
votes
1answer
3k views

order status and state - magento 2

I bit confused utilizing order status and state. I have created Delivered status but unfortunately it get duplicated with two different state. When I rename order status lable of anyone it will ...
0
votes
1answer
847 views

Business question about “Pending Payment” state/status

It's a business question but I hope someone will answer. Why "Pending Payment" state/status is not visible on frontend by default? I'm implementing right now Magento 2 integration with some payment ...