Private
Public Access
1
0

small changes

This commit is contained in:
Sander Roosendaal
2019-08-09 15:12:26 +02:00
parent 13ad9f5012
commit ac441534a3
4 changed files with 9 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ import pandas as pd
from rowsandall_app.settings import (
BRAINTREE_MERCHANT_ID,BRAINTREE_PUBLIC_KEY,BRAINTREE_PRIVATE_KEY,
BRAINTREE_SANDBOX_MERCHANT_ID,BRAINTREE_SANDBOX_PUBLIC_KEY,
BRAINTREE_SANDBOX_PRIVATE_KEY
BRAINTREE_SANDBOX_PRIVATE_KEY, BRAINTREE_MERCHANT_ACCOUNT_ID
)
if settings.DEBUG or 'dev' in settings.SITE_URL:
@@ -264,7 +264,8 @@ def create_subscription(rower,data):
result = gateway.subscription.create({
"payment_method_token": payment_method_token,
"plan_id": plan.external_id
"plan_id": plan.external_id,
"merchant_account_id": BRAINTREE_MERCHANT_ACCOUNT_ID,
})