VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: matthewod01 on March 06, 2013, 18:44:25 PM

Title: Payment Missing Argument 2 Bug Report
Post by: matthewod01 on March 06, 2013, 18:44:25 PM
I just ran a test transaction using VM 2.0.18 and updated payment plugins.  I first received the following errors:

QuoteWarning: Missing argument 2 for plgVmPaymentStandard::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/standard/standard.php on line 279

Warning: Missing argument 2 for plgVMPaymentPayzen::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/payzen/payzen.php on line 685

Warning: Missing argument 2 for plgVmpaymentAuthorizenet::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/authorizenet/authorizenet.php on line 357

Warning: Missing argument 2 for plgVmPaymentPaypal::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/paypal/paypal.php on line 984

Warning: Missing argument 2 for plgVMPaymentSystempay::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/systempay/systempay.php on line 153

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 663

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 663

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 663

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 663

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 663

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 663

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 663

Warning: Missing argument 2 for plgVmpaymentMoneybookers::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/moneybookers/moneybookers.php on line 663

Warning: Missing argument 2 for plgVmPaymentKlarna::plgVmOnSelectCheckPayment() in /home/lights/public_html/plugins/vmpayment/klarna/klarna.php on line 1368

I first turned off all the payment plugins I was not using.  Next the error line typically states:

Quotepublic function plgVmOnSelectCheckPayment (VirtueMartCart $cart, &$msg) {

I on the PayPal and Authorizenet plugins I deleted the &$msg variable.  That seems do work when processing a payment. 

Thanks
Matt
Title: Re: Payment Missing Argument 2 Bug Report
Post by: alatak on March 07, 2013, 11:54:50 AM
Hello

Did you updated the AIO also. This notice should not be displayed .