how to set payment method to new order by code [closed]
-
30-10-2019 - |
문제
I have payment method:
$paymentmethods = Mage::getModel('marketplace/paymentmethods');
$paymentmethods->load(1);
and new order:
$order = Mage::getModel('sales/order')
->setIncrementId($reservedOrderId)
->setStoreId($storeId)
->setQuoteId(0);
how can i add payment method information with id = 1, to my new order? is it possible?
올바른 솔루션이 없습니다
제휴하지 않습니다 magento.stackexchange