tell Jenkins about setting.PAYMENT_PROCESSOR (while we transition to having code look up transaction.host)

add missing comma
pull/1/head
Raymond Yee 2012-05-16 07:47:16 -07:00
parent b9de19bb09
commit bd66c62842
2 changed files with 6 additions and 1 deletions

View File

@ -131,7 +131,7 @@ def handle_transaction_charged(sender,transaction=None, **kwargs):
return
notification.queue([transaction.user], "pledge_charged", {
'site':Site.objects.get_current(),
'transaction':transaction
'transaction':transaction,
'payment_processor':settings.PAYMENT_PROCESSOR
}, True)
from regluit.core.tasks import emit_notifications

View File

@ -73,7 +73,12 @@ PAYPAL_SANDBOX_PASSWORD = ''
PAYPAL_BUYER_LOGIN =''
PAYPAL_BUYER_PASSWORD = ''
# choice of payment processor
PAYMENT_PROCESSOR = 'amazon'
BASE_URL = 'http://0.0.0.0/'
BASE_URL_SECURE = 'http://0.0.0.0/'
IPN_SECURE_URL = False
# Goodreads API
GOODREADS_API_KEY = 'w8nsFplG3HFOeOLQ7rqfQ'