Move PayPal out of sandbox in API, add hosts

This commit is contained in:
2020-02-13 22:51:57 +00:00
parent 2f82337d59
commit ef16bf1cb3
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -10,14 +10,14 @@ from django.utils.timezone import now
from . import models, serializers, utils
SANDBOX = True
SANDBOX = False
if SANDBOX:
VERIFY_URL = 'https://ipnpb.sandbox.paypal.com/cgi-bin/webscr'
OUR_EMAIL = 'seller@paypalsandbox.com'
OUR_CURRENCY = 'USD'
else:
VERIFY_URL = 'https://ipnpb.paypal.com/cgi-bin/webscr'
OUR_EMAIL = 'dunno'
OUR_EMAIL = 'info@protospace.ca'
OUR_CURRENCY = 'CAD'
def parse_paypal_date(string):