envylabs/vaulted_billing

Change IP Commerce AVS country to use enumeration index

nbibler opened this issue · 1 comments

IP Commerce uses a list of ISO 3166 codes for the AVS country, however, rather than using the codes as the identifiers, they use the 0-based array index to reference them.

Vaulted billing accepts 2 letter country codes and converts them into the ip commerce specific codes.