MXP is obsolete as even listed in the currency list. The currency of Mexico is as for the last almost 2 decades MXN and should be as follows:

     'MXN' => array(
       'code' => 'MXN',
       'symbol' => '$',
       'name' => t('Mexican New Peso'),
       'numeric_code' => '484',
       'symbol_placement' => 'before',
       'code_placement' => '',
       'minor_unit' => t('Centavo'),
       'major_unit' => t('Peso'),
     ),
CommentFileSizeAuthor
#3 1259142.patch737 bytesmikejoconnor

Comments

aspilicious’s picture

Status: Active » Needs review

Can use a review

mikejoconnor’s picture

Status: Needs review » Needs work

It looks like MXP ended in 1992, and was replaced by MXN (http://en.wikipedia.org/wiki/Mexican_peso).

It seems like the patch should replace MXP with MXN. See line 726 of commerce.currency.inc

mikejoconnor’s picture

Status: Needs work » Needs review
StatusFileSize
new737 bytes

Here's a patch.

rszrama’s picture

Status: Needs review » Fixed

Committed.

rszrama’s picture

Title: Currency MXN is missing » Add the MXN currency definition
Category: bug » task

Recategorizing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.