From 0478ef0f1bb4cf4c0f6085e446cc244a4e9a6aff Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Tue, 26 May 2015 12:22:50 -0700 Subject: [PATCH] Turning off sslv3 for paypal. --- apps/profile/models.py | 2 ++ settings.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/profile/models.py b/apps/profile/models.py index 2400e6943..da109cded 100644 --- a/apps/profile/models.py +++ b/apps/profile/models.py @@ -322,6 +322,7 @@ class Profile(models.Model): 'API_USERNAME': settings.PAYPAL_API_USERNAME, 'API_PASSWORD': settings.PAYPAL_API_PASSWORD, 'API_SIGNATURE': settings.PAYPAL_API_SIGNATURE, + 'API_CA_CERTS': False, } paypal = PayPalInterface(**paypal_opts) transactions = PayPalIPN.objects.filter(custom=self.user.username, @@ -362,6 +363,7 @@ class Profile(models.Model): 'API_USERNAME': settings.PAYPAL_API_USERNAME, 'API_PASSWORD': settings.PAYPAL_API_PASSWORD, 'API_SIGNATURE': settings.PAYPAL_API_SIGNATURE, + 'API_CA_CERTS': False, } paypal = PayPalInterface(**paypal_opts) transaction = transactions[0] diff --git a/settings.py b/settings.py index 2c3a20986..528821817 100644 --- a/settings.py +++ b/settings.py @@ -79,7 +79,6 @@ ALLOWED_HOSTS = ['*'] AUTO_PREMIUM_NEW_USERS = False AUTO_ENABLE_NEW_USERS = True PAYPAL_TEST = False -API_CA_CERTS = False # =============== # = Enviornment =