starting to make it easier to put stripelib in test mode

pull/1/head
Raymond Yee 2012-10-15 06:24:12 -07:00
parent d33485df99
commit cf433386e8
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ except:
# moving towards not having the stripe api key for the non profit partner in the unglue.it code -- but in a logically
# distinct application
TEST_STRIPE_PK = 'pk_0EajXPn195ZdF7Gt7pCxsqRhNN5BF'
TEST_STRIPE_SK = 'sk_0EajIO4Dnh646KPIgLWGcO10f9qnH'
try:
from regluit.core.models import Key
STRIPE_PK = Key.objects.get(name="STRIPE_PK").value