From 85a1b07ec4fba3414edc382e28d4d6d78482c597 Mon Sep 17 00:00:00 2001 From: Rohit Paul Kuruvilla Date: Thu, 2 Apr 2015 00:40:42 +0530 Subject: [PATCH] Switch to sandbox mode for now --- defaults.env | 4 ++-- gratipay/wireup.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults.env b/defaults.env index 4a28b02249..54de326fbe 100644 --- a/defaults.env +++ b/defaults.env @@ -12,8 +12,8 @@ GRATIPAY_COMPRESS_ASSETS=no BALANCED_API_SECRET=ak-test-2zFgxfVijBzn4xC9dLRtLkxoB38iNKNKR -COINBASE_API_KEY=uETKVUrnPuXzVaVj -COINBASE_API_SECRET=32zAkQCcHHYkGGn29VkvEZvn21PM1lgO +COINBASE_API_KEY=gmw4X810tR5Iaa4w +COINBASE_API_SECRET=siPXSFVQ3dW0u4L6TtB79FPFFaFpCpOE OAUTHLIB_INSECURE_TRANSPORT=1 OAUTHLIB_RELAX_TOKEN_SCOPE=1 diff --git a/gratipay/wireup.py b/gratipay/wireup.py index 0760abf059..4ced63e188 100644 --- a/gratipay/wireup.py +++ b/gratipay/wireup.py @@ -69,6 +69,7 @@ def mail(env, project_root='.'): def billing(website, env): balanced.configure(env.balanced_api_secret) website.coinbase = Coinbase(env.coinbase_api_key, env.coinbase_api_secret) + website.coinbase.BASE_API_URI = 'https://api.sandbox.coinbase.com/v1/' def username_restrictions(website):