VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: ajr96ajr96 on January 03, 2015, 22:55:39 PM

Title: getCartAmount() error virtuemart payment plugin
Post by: ajr96ajr96 on January 03, 2015, 22:55:39 PM
Hi there,
I'm running joomla 2.5 and virtuemart 2.0.8 I'm getting this error after having just bought and installed this Stripe payments plugin
Fatal error: Call to undefined method plgVmPaymentStripepayment::getCartAmount() in /home/ajr/public_html/plugins/vmpayment/stripepayment/stripepayment.php on line 277

As a result all i'm seeing is a blank page with that error message on the "select payment method" page

I'm fairly sure it's something to do with virtuemart - the method is undefined? Any assistance would be greatly appreciated.
Title: Re: getCartAmount() error virtuemart payment plugin
Post by: jenkinhill on January 03, 2015, 23:09:26 PM
Sorry but I doubt if any of us still have that old version of VirtueMart around. The minimum version to use is 2.6.10  - see http://forum.virtuemart.net/index.php?topic=126403.msg436176#msg436176

The error is coming from your plugin:  stripepayment/stripepayment.php    Looking at http://extensions.joomla.org/extensions/extension/extension-specific/virtuemart-extensions/stripe-for-virtuemart  the current plugin may not be suitable for your old VM.
Title: Re: getCartAmount() error virtuemart payment plugin
Post by: ajr96ajr96 on January 03, 2015, 23:12:39 PM
Ah I see, so I'll upgrade. I've customised virtuemart to meet my sites needs - I'll have to change them again in this update too, right? The update will overwrite?
Title: Re: getCartAmount() error virtuemart payment plugin
Post by: jenkinhill on January 03, 2015, 23:17:41 PM
If you followed best practice and confined your customisations to overrides then only some will need doing again, as there were changes in VM output with some of the more recent versions..