From 9e30113dc3f3e04b6860e8ec9a40a0aaa828feb9 Mon Sep 17 00:00:00 2001 From: Kumar McMillan Date: Fri, 28 Dec 2012 17:24:18 -0600 Subject: [PATCH] Use the correct app summary for webpay --- mkt/purchase/tests/test_webpay.py | 2 +- mkt/purchase/webpay.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mkt/purchase/tests/test_webpay.py b/mkt/purchase/tests/test_webpay.py index 498bea5de4..d6104abe99 100644 --- a/mkt/purchase/tests/test_webpay.py +++ b/mkt/purchase/tests/test_webpay.py @@ -60,7 +60,7 @@ class TestPurchase(PurchaseTest): eq_(req['pricePoint'], self.price.pk) eq_(req['id'], make_ext_id(self.addon.pk)) eq_(req['name'], unicode(self.addon.name)) - eq_(req['description'], unicode(self.addon.description)) + eq_(req['description'], unicode(self.addon.summary)) eq_(req['postbackURL'], absolutify(reverse('webpay.postback'))) eq_(req['chargebackURL'], diff --git a/mkt/purchase/webpay.py b/mkt/purchase/webpay.py index 83cc0c25cb..75b98f9239 100644 --- a/mkt/purchase/webpay.py +++ b/mkt/purchase/webpay.py @@ -106,7 +106,7 @@ def prepare_pay(request, addon): 'price_point': addon.premium.price.pk, 'id': addon.pk, 'app_name': unicode(addon.name), - 'app_description': unicode(addon.description), + 'app_description': unicode(addon.summary), 'postback_url': absolutify(reverse('webpay.postback')), 'chargeback_url': absolutify(reverse('webpay.chargeback')), 'seller': addon.pk,