diff --git a/app/code/community/Mollie/Mpm/Model/Client/Orders.php b/app/code/community/Mollie/Mpm/Model/Client/Orders.php index 471be818..1acf8178 100644 --- a/app/code/community/Mollie/Mpm/Model/Client/Orders.php +++ b/app/code/community/Mollie/Mpm/Model/Client/Orders.php @@ -106,6 +106,10 @@ public function startTransaction(Mage_Sales_Model_Order $order) $orderData['payment']['dueDate'] = $this->mollieHelper->getBanktransferDueDate($storeId); } + if (isset($additionalData['limited_methods'])) { + $orderData['method'] = $additionalData['limited_methods']; + } + $orderData = $this->mollieHelper->validateOrderData($orderData); $this->mollieHelper->addTolog('request', $orderData); diff --git a/app/design/adminhtml/default/default/template/mollie/mpm/payment/form.phtml b/app/design/adminhtml/default/default/template/mollie/mpm/payment/form.phtml index fa662a61..60d0ee75 100644 --- a/app/design/adminhtml/default/default/template/mollie/mpm/payment/form.phtml +++ b/app/design/adminhtml/default/default/template/mollie/mpm/payment/form.phtml @@ -31,7 +31,33 @@ * @license http://www.opensource.org/licenses/bsd-license.php BSD-License 2 */ ?> -getMethodCode() ?> -