diff --git a/src/squarepay/payments.py b/src/squarepay/payments.py index 7c69beeb8e7d552b58cdb9dd0f7af13803ac9675..c46d3cc7ef794e6694822bf9a282e1d0194d3336 100644 --- a/src/squarepay/payments.py +++ b/src/squarepay/payments.py @@ -18,7 +18,7 @@ access_key = getattr(settings, 'SQUARE_ACCESS_TOKEN', None) if (app_id is None) or (loc_id is None) or (access_key is None): raise ImproperlyConfigured("Please define SQUARE_APP_ID, SQUARE_LOCATION and SQUARE_ACCESS_TOKEN in settings.py") -client = Client(access_token=access_key, environment='sandbox') +client = Client(access_token=access_key, environment='production') def try_capture_payment(card_payment, source_id, verification_token): """