Skip to content

Instantly share code, notes, and snippets.

View metcalf's full-sized avatar

Andrew Metcalf metcalf

  • Stripe Inc.
  • San Francisco, CA
View GitHub Profile
@metcalf
metcalf / app.py
Last active August 29, 2015 13:57 — forked from maccman/app.py
import os
from flask import Flask, render_template, request
import stripe
stripe_keys = {
'secret_key': os.environ['SECRET_KEY'],
'publishable_key': os.environ['PUBLISHABLE_KEY']
}
stripe.api_key = stripe_keys['secret_key']
<p>This is my page</p>
<iframe name="result" frameborder="0" src="http://fiddle.jshell.net/DUR3y/show/"></iframe>