Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Open stripe to all countries.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsimpson63 authored and chromakode committed Mar 9, 2013
1 parent baf4897 commit ae14afc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions r2/r2/lib/strings.py
Expand Up @@ -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(
Expand Down
2 changes: 2 additions & 0 deletions r2/r2/public/static/js/gold.js
Expand Up @@ -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 {
Expand Down
7 changes: 1 addition & 6 deletions r2/r2/templates/goldpayment.html
Expand Up @@ -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>
Expand Down

0 comments on commit ae14afc

Please sign in to comment.