Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrew Metcalf metcalf

  • Stripe Inc.
  • San Francisco, CA
View GitHub Profile
View LS test
<p>This is my page</p>
<iframe name="result" frameborder="0" src="http://fiddle.jshell.net/DUR3y/show/"></iframe>
View 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']
You can’t perform that action at this time.