Author Topic: PHP changes in code for "Payment Extra Info" disappeares  (Read 2187 times)

thanili

  • Beginner
  • *
  • Posts: 40
PHP changes in code for "Payment Extra Info" disappeares
« 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?

thanili

  • Beginner
  • *
  • Posts: 40
Re: PHP changes in code for "Payment Extra Info" disappeares
« Reply #1 on: April 27, 2010, 18:37:09 pm »
Any help here?

thanili

  • Beginner
  • *
  • Posts: 40
Re: PHP changes in code for "Payment Extra Info" disappeares
« Reply #2 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?