Reputation: 1685
In Magento when I create an order using credit card payment type after completing the order it will display me order status to pending
. Instead of this I want Payment through Credit card
status or something like Credit card Payment
so that admin is aware that the payment is completed.
Actually I want to add new status if possible for the orders done using credit cards, so it's easy for admin to filter it.
Upvotes: 1
Views: 3739
Reputation: 2550
"New order status" options is what you need to set for orders made by CC payment method. Depending on your Magento version there are 2 ways of adding new order statuses:
This is very simple. Go to Admin Panel > System > Order statuses
and create a new one there. Then click on 'Assign Status to State'. From statuses list select new created status and from states list select 'New'. It has to be state 'New', otherwise it won't be listed at payment method's config.
Here's step by step of adding new order status:
Managind order statuses and states was done by config.xml. So, in order to add a new status, you would like to create a new module (e.g. Company_Sales
) and in config.xml put a similar xml structure to this one:
<global>
<sales>
<order>
<statuses>
<cc_payment translate="label"><label>Credit card Payment</label></cc_payment>
</statuses>
<states>
<new>
<statuses>
<cc_payment default="0"/>
</statuses>
</new>
</states>
</order>
</sales>
</global>
Upvotes: 1