mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Working on sandbox until i know this is right.
This commit is contained in:
parent
6b0d2f457c
commit
143adc6d77
2 changed files with 4 additions and 4 deletions
|
@ -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):
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue