Never include Stripe checking in LDN

Instead, we always load it from Stripe when billing is enabled. Also fixes our Stripe icon.
This commit is contained in:
Joseph Schorr 2016-04-01 14:10:11 -04:00
parent 7d620bc6a7
commit a06bda5910
3 changed files with 4 additions and 1 deletions

View file

@ -167,6 +167,10 @@ def render_page_template(name, route_data=None, **kwargs):
external_styles = get_external_css(local=not use_cdn)
external_scripts = get_external_javascript(local=not use_cdn)
# Add Stripe checkout if billing is enabled.
if features.BILLING:
external_scripts.append('//checkout.stripe.com/checkout.js')
def add_cachebusters(filenames):
cachebusters = get_cache_busters()
for filename in filenames: