From 442d53e604f9c5582baf0e55fc50f784ec501851 Mon Sep 17 00:00:00 2001 From: Andy Pieters Date: Thu, 19 May 2016 15:25:50 +0200 Subject: [PATCH] Fixed another notice --- paynl.php | 33 --------------------------------- paynl.xml | 2 +- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/paynl.php b/paynl.php index 1ddaac2..2dcda3c 100755 --- a/paynl.php +++ b/paynl.php @@ -88,39 +88,6 @@ function getTableSQLFields() return $SQLfields; } - /** - * @param $product - * @param $productDisplay - * @return bool - */ - function plgVmOnProductDisplayPayment($product, &$productDisplay) - { - - $vendorId = 1; - if ($this->getPluginMethods($vendorId) === 0) { - return FALSE; - } - - foreach ($this->methods as $this->_currentMethod) { - if ($this->_currentMethod->paypalproduct == 'exp') { - $paypalInterface = $this->_loadPaynlInterface(); - $product = $paypalInterface->getExpressProduct(); - $productDisplayHtml = $this->renderByLayout('expproduct', - array( - 'text' => vmText::_('VMPAYMENT_PAYPAL_EXPCHECKOUT_AVAILABALE'), - 'img' => $product['img'], - 'link' => $product['link'], - 'sandbox' => $this->_currentMethod->sandbox, - 'virtuemart_paymentmethod_id' => $this->_currentMethod->virtuemart_paymentmethod_id, - ) - ); - $productDisplay[] = $productDisplayHtml; - - } - } - return TRUE; - } - function plgVmOnCheckoutAdvertise($cart, &$payment_advertise) { diff --git a/paynl.xml b/paynl.xml index 57bfffd..3a15139 100755 --- a/paynl.xml +++ b/paynl.xml @@ -6,7 +6,7 @@ http://www.pay.nl Copyright (C) 2013-2016 Pay.nl . All rights reserved. http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL - 3.3.5 + 3.3.6 Pay.nl Easy and secure payment provider. ]]>