Working on sandbox until i know this is right.

This commit is contained in:
Samuel Clay 2010-10-23 11:22:57 -04:00
parent 6b0d2f457c
commit 143adc6d77
2 changed files with 4 additions and 4 deletions

View file

@ -83,8 +83,8 @@ def paypal_form(request):
paypal_dict = {
"cmd": "_xclick-subscriptions",
"business": "samuel@ofbrooklyn.com",
# "business": "samuel_1287279745_biz@conesus.com",
# "business": "samuel@ofbrooklyn.com",
"business": "samuel_1287279745_biz@conesus.com",
"a3": "12.00", # price
"p3": 1, # duration of each unit (depends on unit)
"t3": "Y", # duration unit ("M for Month")
@ -102,7 +102,7 @@ def paypal_form(request):
form = PayPalPaymentsForm(initial=paypal_dict, button_type="subscribe")
# Output the button.
return HttpResponse(form.render(), mimetype='text/html')
return HttpResponse(form.sandbox(), mimetype='text/html')
def paypal_return(request):

View file

@ -302,7 +302,7 @@ NEWSBLUR.ReaderFeedchooser.prototype = {
var feed_id = $(this).data('feed_id');
if (_.contains(active_feeds, feed_id)) {
self.add_feed_to_decline(feed_id);
self.add_feed_to_approve(feed_id);
} else {
self.add_feed_to_decline(feed_id);
}