News:

Looking for documentation? Take a look on our wiki

Main Menu

PHP changes in code for "Payment Extra Info" disappeares

Started by thanili, April 25, 2010, 23:42:39 PM

Previous topic - Next topic

thanili

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?


thanili

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?