legacy
Gogs 7 years ago
parent 9bb60b0cb9
commit d78772c92f

@ -5,6 +5,7 @@
""" """
from __future__ import division from __future__ import division
from flask import Flask, request, session, render_template,Response from flask import Flask, request, session, render_template,Response
from flask_cors import CORS
import Domain import Domain
from couchdbkit import Server, Document from couchdbkit import Server, Document
import stripe import stripe
@ -29,6 +30,7 @@ stripe.api_key = stripe_keys['secret_key'].strip()
app = Flask(__name__) app = Flask(__name__)
CORS(app)
COUCHDB = Server(uri=CONFIG['couchdb']['uri']) ; COUCHDB = Server(uri=CONFIG['couchdb']['uri']) ;
""" """
This function will set the user information to the session and update the information This function will set the user information to the session and update the information
@ -201,12 +203,12 @@ def get_plans(app_name) :
# let's determine if this user can make a purchase # let's determine if this user can make a purchase
# #
else: else:
# # # #
# This should address any case of the database of customers being out of sync # This should address any case of the database of customers being out of sync
# @TODO: Have a log suggesting a utility imports the customer # @TODO: Have a log suggesting a utility imports the customer
# #
pass return json.dumps(plans)
# #
# @TODO: Mark the plans the current user is signed up for # @TODO: Mark the plans the current user is signed up for

Loading…
Cancel
Save