VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: thanili on April 25, 2010, 23:42:39 PM

Title: PHP changes in code for "Payment Extra Info" disappeares
Post by: thanili on April 25, 2010, 23:42:39 PM
I know it sounds silly but i am trying to setup virtuemart to work with paypal sandbox. The problem i have is that when i try to change the original code at this field ("Payment Extra Info") and click
'Save'. Changes are disappeared, so practically i can not edit this field.

The strange thing is that on the top of the tab:

/home/artinfur/public_html/administrator/components/com_virtuemart/classes/payment/ps_paypal.cfg.php :: Writeable

I have checked and also changed to 777 file permissions for "ps_paypal.cfg.php" BUT the same situation (changes to backend "Payment Extra Info" field ARE not saved)...

Any ideas?
Title: Re: PHP changes in code for "Payment Extra Info" disappeares
Post by: thanili on April 27, 2010, 18:37:09 PM
Any help here?
Title: Re: PHP changes in code for "Payment Extra Info" disappeares
Post by: thanili on April 27, 2010, 19:17:38 PM
After doing some research i discovered the following:

The field (at payment methods->Paypal) "Payment Extra Info" writes to database at table.field "jos_vm_payment_method.payment_extrainfo"

so when i was clicking "save" VM was not saving the changes to database.

I passed the desired code (some changes i needed) directly to the database and it worked fine!

Any ideas? Where is the relevant code for storing this "Payment Extra Info" at database?