Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleaning and alpha ordering

  • Loading branch information...
commit b70c84cecafec1b2000c3dd28b8ce20c0729ac94 1 parent 328c9cd
@andymckay andymckay authored
Showing with 5 additions and 8 deletions.
  1. +3 −3 lib/bango/forms.py
  2. +2 −5 lib/bango/tests/samples.py
View
6 lib/bango/forms.py
@@ -95,10 +95,10 @@ class UpdateRatingForm(SellerProductForm):
class CreateBillingConfigurationForm(SellerProductForm):
- redirect_url_onsuccess = forms.URLField()
- redirect_url_onerror = forms.URLField()
- prices = ListField()
pageTitle = forms.CharField()
+ prices = ListField()
+ redirect_url_onerror = forms.URLField()
+ redirect_url_onsuccess = forms.URLField()
@property
def bango_data(self):
View
7 lib/bango/tests/samples.py
@@ -38,16 +38,13 @@
}
good_billing_request = {
- 'price_amount': 1,
- 'price_currency': 'CAD',
'pageTitle': 'wat!',
- 'redirect_url_onsuccess': 'https://nowhere.com/success',
- 'redirect_url_onerror': 'https://nowhere.com/error',
'prices': [
{'amount': 2, 'currency': 'CAD'},
{'amount': 1, 'currency': 'EUR'},
],
- 'pageTitle': 'wat!'
+ 'redirect_url_onsuccess': 'https://nowhere.com/success',
+ 'redirect_url_onerror': 'https://nowhere.com/error',
}
good_bank_details = {
Please sign in to comment.
Something went wrong with that request. Please try again.