From c67b2cb1ec97502b899f9465b17951079ecd45ce Mon Sep 17 00:00:00 2001 From: Willem Stuursma Date: Tue, 27 May 2014 14:18:51 +0200 Subject: [PATCH] Gebruik ingestelde status ipv default status bij aanmaken betaling, voorkomt error 500 pagina bij bestellen --- mollie/controllers/front/payment.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mollie/controllers/front/payment.php b/mollie/controllers/front/payment.php index 449c04ea9..cbbcacbcb 100644 --- a/mollie/controllers/front/payment.php +++ b/mollie/controllers/front/payment.php @@ -102,7 +102,8 @@ public function initContent() // Validate $this->module->validateOrder( (int) $cart->id, - $this->module->getConfigValue('PS_OS_PREPARATION'), + /* Set initial status to the status selected in the admin, in case of custom status definitions */ + $this->module->statuses[Mollie_API_Object_Payment::STATUS_OPEN], $orig_amount, $method, NULL,