VirtueMart Forum

VirtueMart General => Commercial Jobs => Topic started by: jesussuarez on October 05, 2022, 18:14:03 PM

Title: Update Virtuemart to the last version
Post by: jesussuarez on October 05, 2022, 18:14:03 PM
Hello again

Refering to my other post https://forum.virtuemart.net/index.php?topic=148932.0

I have spoken with the bank and they have told me that the latest version of the payment plugin may be in the latest version of Virtuemart, so the problem would be solved by updating Virtuemart to the latest version.
I need someone who can update Virtuemart to the latest version, it has many developments added and I prefer to pay someone to do the update and possible necessary overrides.

I wait your reply. Thank you very much
Title: Re: Update Virtuemart to the last version
Post by: GJC Web Design on October 05, 2022, 21:43:43 PM
just extract the payment plugin from the latest installer and install the plugin separately..

worth trying...
Title: Re: Update Virtuemart to the last version
Post by: jesussuarez on October 06, 2022, 00:05:32 AM
Hello

If I change old files of payment plugin for new files of payment plugin(The last version available), give me this error on administration and I can't enter to details of payment plugin :-(

0 Call to undefined method plgVmPaymentRealex_hpp_api::addVarsToPushCore()

Regards
Title: Re: Update Virtuemart to the last version
Post by: GJC Web Design on October 06, 2022, 09:46:53 AM
try with the latest \administrator\components\com_virtuemart\plugins\vmpsplugin.php - might work

that has the new addVarsToPushCore() function

how old is your installation?
Title: Re: Update Virtuemart to the last version
Post by: GJC Web Design on October 06, 2022, 20:36:19 PM
or try

   //$this->addVarsToPushCore($varsToPush, 1);

in the realex plugin line 47 ?
Title: Re: Update Virtuemart to the last version
Post by: jesussuarez on October 17, 2022, 00:52:03 AM
The file where I need to add this piece of code is this route?
/public_html/plugins/vmpayment/realex_hpp_api/realex_hpp_api.php

I need to add with "//" or within? If I add within, the site breaks...

What I'll get with this code? I'll send all the variables that bank requieres?

Thank you very much. Best regards
Title: Re: Update Virtuemart to the last version
Post by: GJC Web Design on October 17, 2022, 09:45:16 AM
I mean comment out that line  /public_html/plugins/vmpayment/realex_hpp_api/realex_hpp_api.php

it will disable the call to the function addVarsToPushCore() that isn't present in your old VM

it may work .. no guarantee
Title: Re: Update Virtuemart to the last version
Post by: jesussuarez on October 17, 2022, 14:26:11 PM
I send you an email throught the contact form of your site. Please send me a reply as son as possible

Thank you very much