Permalink
Browse files

Open stripe to all countries.

  • Loading branch information...
1 parent baf4897 commit ae14afc909702f127c359d57394dc738a98b35f9 @bsimpson63 bsimpson63 committed with chromakode Feb 21, 2013
Showing with 4 additions and 6 deletions.
  1. +1 −0 r2/r2/lib/strings.py
  2. +2 −0 r2/r2/public/static/js/gold.js
  3. +1 −6 r2/r2/templates/goldpayment.html
View
@@ -192,6 +192,7 @@
missing_credit_address = _("missing address"),
missing_credit_city = _("missing city"),
missing_credit_state = _("missing state or province"),
+ missing_credit_country = _("missing country"),
missing_credit_zip = _("missing zip code"),
permissions = dict(
@@ -159,6 +159,8 @@ r.gold = {
status.text(r.strings('missing_credit_city'))
} else if (!cardState) {
status.text(r.strings('missing_credit_state'))
+ } else if (!cardCountry) {
+ status.text(r.strings('missing_credit_country'))
} else if (!cardZip) {
status.text(r.strings('missing_credit_zip'))
} else {
@@ -206,12 +206,7 @@
</tr>
<tr>
<th><label>${_('country')}</label></th>
- <td>
- <select class="card-address_country" title=${_('country')}>
- <option value="US">United States</option>
- <option value="Canada">Canada</option>
- </select>
- </td>
+ <td><input type="text" class="card-address_country"></td>
</tr>
<tr>
<th><label>${_('zip')}</label></th>

0 comments on commit ae14afc

Please sign in to comment.