|
|
@@ -224,7 +224,6 @@ def charge():
|
|
|
# Amount in cents
|
|
|
dbc_stripe = Stripe.query.filter_by(user_id = current_user.id).order_by(Stripe.id.desc()).first()
|
|
|
raw_amount = dbc_stripe.raw_amount
|
|
|
- amount = float(raw_amount/100)
|
|
|
|
|
|
customer = stripe.stripe.Customer.create(
|
|
|
email = 'customer@example.com',
|
|
|
@@ -241,7 +240,7 @@ def charge():
|
|
|
# db dispatch for wallet top up
|
|
|
dispatch.top_up(current_user.id, raw_amount)
|
|
|
|
|
|
- return render_template('charge.html', amount = amount, user = current_user)
|
|
|
+ return render_template('charge.html', user = current_user)
|
|
|
|
|
|
@dashboards.route('/hashchain', methods=['GET'])
|
|
|
def hashchain():
|