From 04d711543b39253532cc306346e5da0354339c8e Mon Sep 17 00:00:00 2001 From: Bouncey Date: Tue, 5 Feb 2019 18:09:32 +0000 Subject: [PATCH] fix: Make public stripe key configurable --- client/src/components/Donation/Donation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/components/Donation/Donation.js b/client/src/components/Donation/Donation.js index 515fc1270a..5686024303 100644 --- a/client/src/components/Donation/Donation.js +++ b/client/src/components/Donation/Donation.js @@ -1,3 +1,4 @@ +/* global STRIPE_PUBLIC_KEY */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; @@ -38,7 +39,7 @@ const propTypes = { show: PropTypes.bool }; -const stripeKey = 'pk_live_E6Z6xPM8pEsJziHW905zpAvF'; +const stripeKey = STRIPE_PUBLIC_KEY; class DonationModal extends Component { constructor(...props) {