News:

Support the VirtueMart project and become a member

Main Menu

currency_code change in the system from MXP to MXN Mexican Pesos for Paypal

Started by pcsma, May 21, 2009, 21:53:21 PM

Previous topic - Next topic

pcsma

Hi I am running Joomla 1.5 and VM 1.1.3 the VM cannot communicate with Paypal (get an error message) due to a difference in the currency_code. In the VM system is stated as MXP and Paypal accepts MXN (for Mexican New Pesos). I changed the code directly in the payment method code for paypal:


"currency_code" => $_SESSION['MXN'],

It works fine but I would like to change the code information in the root code but I can find the file. Does anybody know were can I find the file that holds the list of currency codes to change this?

Thanks
Fred

pcsma

...........
It needs to be changed at the Data Base jos_vm_currency` just go the the data base administration open the jos_vm_currency and change the value form MXP to MXN

good luck

ferbarber

This is a weird solution for VirtueMart 1.1.4, but it works:

1. Go to VirtueMart Component.
2. Select Admin>List Currencies.
3. Locate the entry "Mexican Peso".
4. Edit the entry to "Mexican Pesos" (in plural, without quotes) and code MXN.
5. Save your changes.

Everything should work fine!